From 1abed181e24227c2f0c7a5e362908e5c0342c2ca Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 3 Apr 2016 21:31:46 +0300 Subject: [PATCH] Generate API docs in docs-ru --- docs-ru/.gitignore | 1 + docs-ru/conf.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) 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'] -- 2.39.5