summaryrefslogtreecommitdiff
path: root/Documentation/source/reference/routes.rst
diff options
context:
space:
mode:
authorBertrand Yuan <189593334+bertyuan@users.noreply.github.com>2026-04-27 20:54:16 +0800
committerGitHub <noreply@github.com>2026-04-27 20:54:16 +0800
commit85b6fb59db5fe1112c58eff9d02ae4f9c9b6456d (patch)
tree8c83fc84bd9547630e6733929dec77e102e055a8 /Documentation/source/reference/routes.rst
parent658798b3a2378bb6df16cfbb16d707c6fb719e1e (diff)
parentdbb5e791f0c228369605d126dd590962ebe1eddc (diff)
Merge pull request #21 from bertyuan/Documentationv1.2
docs: add comprehensive documentation for operations
Diffstat (limited to 'Documentation/source/reference/routes.rst')
-rw-r--r--Documentation/source/reference/routes.rst50
1 files changed, 50 insertions, 0 deletions
diff --git a/Documentation/source/reference/routes.rst b/Documentation/source/reference/routes.rst
new file mode 100644
index 0000000..93bcfd3
--- /dev/null
+++ b/Documentation/source/reference/routes.rst
@@ -0,0 +1,50 @@
+Route Reference
+===============
+
+Public Pages
+------------
+
+.. code-block:: text
+
+ /
+ /posts
+ /posts/[slug]
+ /tags
+ /tags/[tag]
+ /about
+ /login
+
+Admin and Payload
+-----------------
+
+.. code-block:: text
+
+ /admin
+ /api/[...slug]
+ /api/graphql
+ /api/graphql-playground
+
+Application APIs
+----------------
+
+.. code-block:: text
+
+ /api/auth/[...all]
+ /api/comments/[...comment]
+ /api/search
+
+Generated Assets
+----------------
+
+.. code-block:: text
+
+ /rss.xml
+ /banner.png
+ /og/[...slug]
+
+Route Ownership
+---------------
+
+Routes under ``src/app/(main)`` belong to the public application. Routes under
+``src/app/(payload)`` belong to Payload CMS integration and should be changed
+with care because they affect the admin and CMS API surface.