From 24d0866d8be78df53e1eb19df8412588cda004a4 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Mon, 19 Oct 2015 06:14:42 -0400 Subject: [PATCH] Split development requirements and add documentation writting requirements. --- docs/conf.py | 9 +++++++-- requirements/development.txt | 3 --- requirements/documentation.txt | 6 ++++++ 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 requirements/documentation.txt diff --git a/docs/conf.py b/docs/conf.py index 888aa39510..dfe3065dfb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,7 +33,12 @@ sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), "_ext")) # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. #extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] #extensions = ["djangodocs", "sphinx.ext.intersphinx"] -extensions = ['djangodocs'] +extensions = ['djangodocs', 'sphinxcontrib.blockdiag'] + +blockdiag_antialias = True +blockdiag_html_image_format = "SVG" +blockdiag_latex_image_format = "PDF" +blockdiag_tex_image_format = "PDF" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -229,7 +234,7 @@ man_pages = [ import alabaster html_theme_path = [alabaster.get_path()] -extensions = ['alabaster'] +extensions.append('alabaster') html_theme = 'alabaster' html_sidebars = { '**': [ diff --git a/requirements/development.txt b/requirements/development.txt index e97198cab5..bc59df72d6 100644 --- a/requirements/development.txt +++ b/requirements/development.txt @@ -1,6 +1,5 @@ # requirements/development.txt -r common.txt -Sphinx==1.3.1 Werkzeug==0.10.4 django-debug-toolbar==1.3.2 @@ -10,5 +9,3 @@ django-rosetta==0.7.6 ipython==4.0.0 transifex-client==0.10 - -sphinx-autobuild==0.5.2 diff --git a/requirements/documentation.txt b/requirements/documentation.txt new file mode 100644 index 0000000000..3058e82f0c --- /dev/null +++ b/requirements/documentation.txt @@ -0,0 +1,6 @@ +-r common.txt + +Sphinx==1.3.1 + +sphinx-autobuild==0.5.2 +sphinxcontrib-blockdiag==1.5.4