summaryrefslogtreecommitdiff
path: root/Documentation/source/operations/documentation.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/operations/documentation.rst
parent658798b3a2378bb6df16cfbb16d707c6fb719e1e (diff)
parentdbb5e791f0c228369605d126dd590962ebe1eddc (diff)
Merge pull request #21 from bertyuan/Documentationv1.2
docs: add comprehensive documentation for operations
Diffstat (limited to 'Documentation/source/operations/documentation.rst')
-rw-r--r--Documentation/source/operations/documentation.rst51
1 files changed, 51 insertions, 0 deletions
diff --git a/Documentation/source/operations/documentation.rst b/Documentation/source/operations/documentation.rst
new file mode 100644
index 0000000..b7fcb71
--- /dev/null
+++ b/Documentation/source/operations/documentation.rst
@@ -0,0 +1,51 @@
+Documentation
+=============
+
+Source Layout
+-------------
+
+Sphinx source files live in ``Documentation/source``. Use reStructuredText for
+all Sphinx pages.
+
+.. list-table::
+ :header-rows: 1
+ :widths: 26 50
+
+ * - Directory
+ - Purpose
+ * - ``architecture``
+ - System design, data model, auth, comments, feeds, and risk register.
+ * - ``frontend``
+ - Routes, UI conventions, components, and accessibility.
+ * - ``operations``
+ - Setup, environment, database, quality, and documentation workflow.
+ * - ``contributing``
+ - Commit, review, and code integrity practices.
+ * - ``reference``
+ - Stable route, command, glossary, and API references.
+
+Build Commands
+--------------
+
+Build HTML:
+
+.. code-block:: bash
+
+ make -C Documentation html
+
+Clean generated output:
+
+.. code-block:: bash
+
+ make -C Documentation clean
+
+Authoring Rules
+---------------
+
+* Write durable documentation in ``.rst`` files under ``Documentation/source``.
+* Keep raw notes in ``docs/`` only when they are not yet ready for the formal
+ documentation tree.
+* Prefer small pages with focused toctrees over long mixed-topic pages.
+* Use literal paths and commands with double backticks.
+* Add new pages to the nearest ``index.rst`` toctree.
+* Do not commit ``Documentation/build`` output.