]> git.phdru.name Git - m_librarian.git/commitdiff
Docs: Add API docs
authorOleg Broytman <phd@phdru.name>
Sun, 8 Apr 2018 18:06:25 +0000 (21:06 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 8 Apr 2018 19:35:19 +0000 (22:35 +0300)
19 files changed:
docs-ru/.gitignore
docs-ru/api [new symlink]
docs/.gitignore
docs/api/m_librarian.compat.rst [new file with mode: 0644]
docs/api/m_librarian.config.rst [new file with mode: 0644]
docs/api/m_librarian.db.rst [new file with mode: 0644]
docs/api/m_librarian.download.rst [new file with mode: 0644]
docs/api/m_librarian.glst.rst [new file with mode: 0644]
docs/api/m_librarian.inp.rst [new file with mode: 0644]
docs/api/m_librarian.pbar.rst [new file with mode: 0644]
docs/api/m_librarian.rst [new file with mode: 0644]
docs/api/m_librarian.search.rst [new file with mode: 0644]
docs/api/m_librarian.translations.rst [new file with mode: 0644]
docs/api/m_librarian.web.app.rst [new file with mode: 0644]
docs/api/m_librarian.web.rst [new file with mode: 0644]
docs/api/m_librarian.web.server.rst [new file with mode: 0644]
docs/api/m_librarian.web.utils.rst [new file with mode: 0644]
docs/api/modules.rst [new file with mode: 0644]
docs/genapidocs

index 499e7a54811ec664f67a3537cda473be0ccb1a10..f97d82002af8456560e81860907b72c86a1d0ad6 100644 (file)
@@ -1,4 +1,3 @@
 /_build/
 /_static/
 /_templates/
-/api
diff --git a/docs-ru/api b/docs-ru/api
new file mode 120000 (symlink)
index 0000000..4b71bf5
--- /dev/null
@@ -0,0 +1 @@
+../docs/api
\ No newline at end of file
index 2be7eb539d40f6a23ed06d1311d623b53ec8d049..f97d82002af8456560e81860907b72c86a1d0ad6 100644 (file)
@@ -1,4 +1,3 @@
 /_build/
 /_static/
 /_templates/
-/api/
diff --git a/docs/api/m_librarian.compat.rst b/docs/api/m_librarian.compat.rst
new file mode 100644 (file)
index 0000000..ed1369e
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.compat module
+==========================
+
+.. automodule:: m_librarian.compat
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.config.rst b/docs/api/m_librarian.config.rst
new file mode 100644 (file)
index 0000000..37c457f
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.config module
+==========================
+
+.. automodule:: m_librarian.config
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.db.rst b/docs/api/m_librarian.db.rst
new file mode 100644 (file)
index 0000000..f69a795
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.db module
+======================
+
+.. automodule:: m_librarian.db
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.download.rst b/docs/api/m_librarian.download.rst
new file mode 100644 (file)
index 0000000..8ee2ab9
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.download module
+============================
+
+.. automodule:: m_librarian.download
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.glst.rst b/docs/api/m_librarian.glst.rst
new file mode 100644 (file)
index 0000000..0a93a39
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.glst module
+========================
+
+.. automodule:: m_librarian.glst
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.inp.rst b/docs/api/m_librarian.inp.rst
new file mode 100644 (file)
index 0000000..b99c681
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.inp module
+=======================
+
+.. automodule:: m_librarian.inp
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.pbar.rst b/docs/api/m_librarian.pbar.rst
new file mode 100644 (file)
index 0000000..e0f09ed
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.pbar module
+========================
+
+.. automodule:: m_librarian.pbar
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.rst b/docs/api/m_librarian.rst
new file mode 100644 (file)
index 0000000..8cdeffc
--- /dev/null
@@ -0,0 +1,30 @@
+m\_librarian package
+====================
+
+.. automodule:: m_librarian
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Subpackages
+-----------
+
+.. toctree::
+
+    m_librarian.web
+
+Submodules
+----------
+
+.. toctree::
+
+   m_librarian.compat
+   m_librarian.config
+   m_librarian.db
+   m_librarian.download
+   m_librarian.glst
+   m_librarian.inp
+   m_librarian.pbar
+   m_librarian.search
+   m_librarian.translations
+
diff --git a/docs/api/m_librarian.search.rst b/docs/api/m_librarian.search.rst
new file mode 100644 (file)
index 0000000..1280cc8
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.search module
+==========================
+
+.. automodule:: m_librarian.search
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.translations.rst b/docs/api/m_librarian.translations.rst
new file mode 100644 (file)
index 0000000..57375bf
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.translations module
+================================
+
+.. automodule:: m_librarian.translations
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.web.app.rst b/docs/api/m_librarian.web.app.rst
new file mode 100644 (file)
index 0000000..e625a60
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.web.app module
+===========================
+
+.. automodule:: m_librarian.web.app
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.web.rst b/docs/api/m_librarian.web.rst
new file mode 100644 (file)
index 0000000..b4fe2b1
--- /dev/null
@@ -0,0 +1,24 @@
+m\_librarian.web package
+========================
+
+.. automodule:: m_librarian.web
+    :members:
+    :undoc-members:
+    :show-inheritance:
+
+Subpackages
+-----------
+
+.. toctree::
+
+    m_librarian.web.views
+
+Submodules
+----------
+
+.. toctree::
+
+   m_librarian.web.app
+   m_librarian.web.server
+   m_librarian.web.utils
+
diff --git a/docs/api/m_librarian.web.server.rst b/docs/api/m_librarian.web.server.rst
new file mode 100644 (file)
index 0000000..c4481b4
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.web.server module
+==============================
+
+.. automodule:: m_librarian.web.server
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/m_librarian.web.utils.rst b/docs/api/m_librarian.web.utils.rst
new file mode 100644 (file)
index 0000000..bfcca61
--- /dev/null
@@ -0,0 +1,7 @@
+m\_librarian.web.utils module
+=============================
+
+.. automodule:: m_librarian.web.utils
+    :members:
+    :undoc-members:
+    :show-inheritance:
diff --git a/docs/api/modules.rst b/docs/api/modules.rst
new file mode 100644 (file)
index 0000000..a0643d2
--- /dev/null
@@ -0,0 +1,7 @@
+m_librarian
+===========
+
+.. toctree::
+   :maxdepth: 4
+
+   m_librarian
index 8e04150f9d043a13abdf14f8564ba456237be582..bdba3cc06839efe0448cc3a9e38877e380a57357 100755 (executable)
@@ -1,5 +1,7 @@
 #! /bin/sh
 
 cd "`dirname $0`"/.. &&
-exec sphinx-apidoc --separate --module-first --suffix=rst --force \
-   --output-dir=docs/api m_librarian
+sphinx-apidoc --separate --module-first --suffix=rst --force \
+   --output-dir=docs/api m_librarian &&
+cd docs/api &&
+exec rm m_librarian.web.views.rst m_librarian.web.views.*.rst