diff options
author | pengyuesheng <pengyuesheng@gohighsec.com> | 2019-12-25 17:37:09 +0800 |
---|---|---|
committer | Andreas Jaeger <aj@suse.com> | 2020-02-03 14:45:41 +0100 |
commit | 939253044a957793b82c2c091a766e6656d573d0 (patch) | |
tree | caa5eb93bf40f722a8f2045f072460293cb1c879 /doc/source/conf.py | |
parent | 9d1c08e1f29007dea121a70875b603fb5644d265 (diff) | |
download | pycadf-939253044a957793b82c2c091a766e6656d573d0.tar.gz |
Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
Include small cleanups:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
settings for build-sphinx
* Use sphinxcontrib-apidoc for docs with newer sphinx
* Remove obsolete doc/source/conf.py broken
* Add python-requires to setup.cfg to make Python 3.6 requirement
explicit
* Remove obsolete pbr setup-hooks
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Iec8c47b82022b616b8361651bf23f853b0ce5624
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index ea08a5b..fb52014 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -29,6 +29,7 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'openstack_dashboard.settings' # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ 'sphinx.ext.autodoc', + 'sphinxcontrib.apidoc', #'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', @@ -57,9 +58,9 @@ copyright = u'2014, OpenStack Foundation' # built documents. # # The short X.Y version. -version = '1.0' +# version = '1.0' # The full version, including alpha/beta/rc tags. -release = '1.0' +# release = '1.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -140,7 +141,7 @@ html_theme_options = { # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. #html_last_updated_fmt = '%b %d, %Y' -html_last_updated_fmt = '%Y-%m-%d %H:%M' +# html_last_updated_fmt = '%Y-%m-%d %H:%M' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -182,6 +183,11 @@ html_last_updated_fmt = '%Y-%m-%d %H:%M' # Output file base name for HTML help builder. htmlhelp_basename = 'pyCADFdoc' +apidoc_module_dir = '../../pycadf' +apidoc_output_dir = 'api' +apidoc_excluded_paths = [ + 'tests', +] # -- Options for LaTeX output -------------------------------------------------- |