Kirill Simonov committed f97f27c

Added documentation parameter `build_website`.

Comments (0)

Files changed (2)

 # -- General configuration -----------------------------------------------------
+# Set when building documentation for
+build_website = False
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinxext_htsqldoc', 'sphinxext_texdiag']
+extensions = ['sphinx.ext.ifconfig', 'sphinx.ext.autodoc',
+              'sphinxext_htsqldoc', 'sphinxext_texdiag']
 # The default URL of an HTSQL service.
 htsql_server = ''


 def setup(app):
     app.add_config_value('htsql_server', None, 'env')
+    app.add_config_value('build_website', False, 'env')
     app.add_directive('htsql-server', HTSQLServerDirective)
     app.add_directive('htsql', HTSQLDirective)
     app.add_directive('vsplit', VSplitDirective)