docs: add license page + per-page Permacomputer Preamble footer

- docs/_source/license.rst — new RTD page that literalincludes the
  repo's LICENSE file (single source of truth, no duplication)
- conf.py rst_epilog — appended to every RST source so every doc page
  carries the Permacomputer Preamble + AGPL-3.0-only notice + link to
  the full license
- index.rst — adds 'Project / License' section to the toctree

The LICENSE file already had the full Permacomputer Preamble + complete
GNU Affero GPL v3 text (matches the whitepaper version).
This commit is contained in:
russell@unturf.com 2026-05-04 08:38:24 -04:00
parent 546fa6d690
commit 744a8b19c7
No known key found for this signature in database
3 changed files with 45 additions and 0 deletions

View file

@ -42,6 +42,35 @@ html_title = "Aborist API Reference"
# Suppress warnings for missing references
suppress_warnings = ["ref.doc"]
# Per-page footer: appended to every RST source file before parsing.
# Carries the Permacomputer Preamble; full license at /license.
rst_epilog = """
----
.. rubric:: Permacomputer Preamble — License: AGPL-3.0-only
This is free software for the public good of a permacomputer hosted at
`permacomputer.com <https://www.permacomputer.com>`_, an always-on computer
by the people, for the people. Durable, easy to repair, & distributed like
tap water for machine learning intelligence.
The permacomputer is community-owned infrastructure optimized around four
values:
* **TRUTH** — First principles, math & science, open source code freely
distributed.
* **FREEDOM** — Voluntary partnerships, freedom from tyranny & corporate
control.
* **HARMONY** — Minimal waste, self-renewing systems with diverse thriving
connections.
* **LOVE** — Be yourself without hurting others, cooperation through natural
law.
NO WARRANTY. Software is provided "AS IS" without warranty of any kind.
Full text: :doc:`/license`.
"""
# Intersphinx mapping (for external doc links)
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),

View file

@ -18,6 +18,12 @@ Contents:
api/mesh
api/cli
.. toctree::
:maxdepth: 1
:caption: Project
license
Indices and tables
==================

10
docs/_source/license.rst Normal file
View file

@ -0,0 +1,10 @@
License
=======
Aborist ships under the **GNU Affero General Public License v3.0 (only)**
with a Permacomputer Preamble. Full text below, sourced from the
``LICENSE`` file at the repository root (single source of truth — this
page just renders it).
.. literalinclude:: ../../LICENSE
:language: text