doc: Add developer documentation using Sphinx

- This is completely reworked but based on /Developer page in the FreedomBox
  Manual.

- This documentation can be made available as static site on
  https://docs.freedombox.org and the /Developer page in the FreedomBox Manual
  can be dropped.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-11-02 13:51:14 -04:00
1 parent 108f7b8d46
commit 80498919fb
32 files changed
+1655

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Daemon
^^^^^^
.. autoclass:: plinth.daemon.Daemon
:members:
+10
View File
@@ -0,0 +1,10 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Domain Name
^^^^^^^^^^^
.. autoclass:: plinth.modules.names.components.DomainName
:members:
.. autoclass:: plinth.modules.names.components.DomainType
:members:
@@ -0,0 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Firewall
^^^^^^^^
.. autoclass:: plinth.modules.firewall.components.Firewall
:members:
@@ -0,0 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Frontpage
^^^^^^^^^
.. autoclass:: plinth.frontpage.Shortcut
:members:
+27
View File
@@ -0,0 +1,27 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Components
----------
.. toctree::
:caption: Available components:
menu
daemon
firewall
webserver
frontpage
domain
letsencrypt
Base Classes
^^^^^^^^^^^^
.. autoclass:: plinth.app.Component
:members:
.. autoclass:: plinth.app.LeaderComponent
:members:
.. autoclass:: plinth.app.FollowerComponent
:members:
@@ -0,0 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Let's Encrypt
^^^^^^^^^^^^^
.. autoclass:: plinth.modules.letsencrypt.components.LetsEncrypt
:members:
+7
View File
@@ -0,0 +1,7 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Menu
^^^^
.. autoclass:: plinth.menu.Menu
:members:
@@ -0,0 +1,10 @@
.. SPDX-License-Identifier: CC-BY-SA-4.0
Webserver
^^^^^^^^^
.. autoclass:: plinth.modules.apache.components.Webserver
:members:
.. autoclass:: plinth.modules.apache.components.Uwsgi
:members: