diff options
-rw-r--r-- | doc/source/audit_maps.rst | 4 | ||||
-rw-r--r-- | doc/source/conf.py | 9 | ||||
-rw-r--r-- | doc/source/middleware.rst | 2 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | test-requirements.txt | 4 |
5 files changed, 14 insertions, 7 deletions
diff --git a/doc/source/audit_maps.rst b/doc/source/audit_maps.rst index 5a3faee..e04e902 100644 --- a/doc/source/audit_maps.rst +++ b/doc/source/audit_maps.rst @@ -34,8 +34,8 @@ These files are hosted under the `etc/pycadf`_ directory of pyCADF. For more information on how to use these mapping files, refer to the `Audit middleware`_ section of the `keystonemiddleware`_ project. -.. _Audit middleware: https://docs.openstack.org/developer/keystonemiddleware/audit.html -.. _keystonemiddleware: https://docs.openstack.org/developer/keystonemiddleware +.. _Audit middleware: https://docs.openstack.org/keystonemiddleware/latest/audit.html +.. _keystonemiddleware: https://docs.openstack.org/keystonemiddleware/latest/ .. _`etc/pycadf`: https://github.com/openstack/pycadf/tree/master/etc/pycadf .. _`cinder_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/cinder_api_audit_map.conf .. _`glance_api_audit_map.conf`: https://github.com/openstack/pycadf/blob/master/etc/pycadf/glance_api_audit_map.conf diff --git a/doc/source/conf.py b/doc/source/conf.py index 71b2fb4..79129df 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -36,7 +36,7 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.viewcode', - 'oslosphinx', + 'openstackdocstheme', 'ext.apidoc' ] @@ -108,6 +108,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. #html_theme = 'default' +html_theme = 'openstackdocs' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -143,6 +144,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' # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. @@ -261,3 +263,8 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +# -- Options for openstackdocstheme ------------------------------------------- +repository_name = 'openstack/pycadf' +bug_project = 'pycadf' +bug_tag = '' diff --git a/doc/source/middleware.rst b/doc/source/middleware.rst index 3beb737..3ba7787 100644 --- a/doc/source/middleware.rst +++ b/doc/source/middleware.rst @@ -23,4 +23,4 @@ pyCADF's version of the audit middleware has been deprecated as of pyCADF 0.8.0. For continued support, the middleware is now maintained under the Identity (Keystone) umbrella. Related documentation can be found here_. -.. _here: https://docs.openstack.org/developer/keystonemiddleware/audit.html +.. _here: https://docs.openstack.org/keystonemiddleware/latest/audit.html @@ -5,7 +5,7 @@ author-email = openstack-dev@lists.openstack.org summary = CADF Library description-file = README.rst -home-page = https://docs.openstack.org/developer/pycadf/ +home-page = https://docs.openstack.org/pycadf/latest/ classifier = Development Status :: 3 - Alpha Environment :: OpenStack diff --git a/test-requirements.txt b/test-requirements.txt index 68accfd..5b291f0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13,5 +13,5 @@ testrepository>=0.0.18 # Apache-2.0/BSD testtools>=1.4.0 # MIT # this is required for the docs build jobs -oslosphinx>=4.7.0 # Apache-2.0 -sphinx!=1.6.1,>=1.5.1 # BSD +openstackdocstheme>=1.11.0 # Apache-2.0 +sphinx>=1.6.2 # BSD |