From: Oleg Broytman Date: Sun, 3 Apr 2016 18:31:46 +0000 (+0300) Subject: Generate API docs in docs-ru X-Git-Tag: 0.0.4~33 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=1abed181e24227c2f0c7a5e362908e5c0342c2ca Generate API docs in docs-ru --- diff --git a/docs-ru/.gitignore b/docs-ru/.gitignore index f97d820..499e7a5 100644 --- a/docs-ru/.gitignore +++ b/docs-ru/.gitignore @@ -1,3 +1,4 @@ /_build/ /_static/ /_templates/ +/api diff --git a/docs-ru/conf.py b/docs-ru/conf.py index 0aab948..95eb028 100644 --- a/docs-ru/conf.py +++ b/docs-ru/conf.py @@ -28,7 +28,10 @@ import os # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.viewcode', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']