diff --git a/doc/requirements.txt b/doc/requirements.txt index 2bc4e850..2c08b50b 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,6 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # These are needed for docs generation -sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 diff --git a/doc/source/conf.py b/doc/source/conf.py index 4c282096..66bd075a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -44,7 +44,6 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'python-tackerclient' copyright = 'OpenStack Contributors' # If true, '()' will be appended to :func: etc. cross-reference text. @@ -55,7 +54,7 @@ add_function_parentheses = True add_module_names = True # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # -- Options for HTML output -------------------------------------------------- @@ -68,7 +67,6 @@ htmlhelp_basename = 'tackerclientdoc' # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. -html_last_updated_fmt = '%Y-%m-%d %H:%M' # -- Options for manual page output ------------------------------------------- @@ -79,10 +77,10 @@ man_pages = [ # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/python-tackerclient' -bug_project = 'python-tackerclient' -bug_tag = 'doc' +openstackdocs_repo_name = 'openstack/python-tackerclient' +openstackdocs_bug_project = 'python-tackerclient' +openstackdocs_bug_tag = 'doc' # -- Options for cliff.sphinxext plugin --------------------------------------- -autoprogram_cliff_application = 'openstack' \ No newline at end of file +autoprogram_cliff_application = 'openstack' diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index fb806177..5ad659f2 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -90,7 +90,7 @@ exclude_patterns = [] # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'native' # A list of ignored prefixes for module index sorting. # modindex_common_prefix = [] @@ -131,10 +131,6 @@ html_theme = 'openstackdocs' # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -# 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' - # If true, SmartyPants will be used to convert quotes and dashes to # typographically correct entities. # html_use_smartypants = True @@ -259,6 +255,7 @@ texinfo_documents = [ locale_dirs = ['locale/'] # -- Options for openstackdocstheme ------------------------------------------- -repository_name = 'openstack/python-tackerclient' -bug_project = 'python-tackerclient' -bug_tag = '' +openstackdocs_repo_name = 'openstack/python-tackerclient' +openstackdocs_bug_project = 'python-tackerclient' +openstackdocs_bug_tag = '' +openstackdocs_auto_name = False