openstackdocstheme 3.3.0__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/.pre-commit-config.yaml +12 -19
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/AUTHORS +1 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/ChangeLog +10 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/PKG-INFO +4 -2
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/conf.py +8 -9
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/requirements.txt +0 -4
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/conf.py +9 -7
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/ext.py +48 -31
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/page_context.py +34 -14
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/PKG-INFO +4 -2
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/SOURCES.txt +1 -1
- openstackdocstheme-3.4.0/openstackdocstheme.egg-info/pbr.json +1 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/requires.txt +1 -0
- openstackdocstheme-3.4.0/pyproject.toml +6 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/conf.py +25 -15
- openstackdocstheme-3.4.0/requirements.txt +3 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/setup.cfg +3 -1
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/setup.py +1 -3
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/tox.ini +14 -10
- openstackdocstheme-3.3.0/openstackdocstheme.egg-info/pbr.json +0 -1
- openstackdocstheme-3.3.0/requirements.txt +0 -6
- openstackdocstheme-3.3.0/test-requirements.txt +0 -10
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/.zuul.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/CONTRIBUTING.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/HACKING.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/LICENSE +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/Makefile +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/README.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/_static/css/README.md +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/image.inc +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/index.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/parameters.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/service.inc +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/status.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/api-ref/source/update-server-resp.json +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/bin/docstheme-build-pdf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/bin/docstheme-build-translated.sh +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/bin/docstheme-lang-display-name.py +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/bindep.txt +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/_static/css/.placeholder +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/configure_access_and_security_for_instances.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/create_and_manage_databases.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/create_and_manage_networks.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/dashboard_demo.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/dashboard-project-tab.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/dashboard_admin_project_tab.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/doc-logo-fox.jpg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/index.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/launch-instance.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/demo/section_dashboard_access_and_security.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/doc/source/index.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/index.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/__init__.py +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/paths.py +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/css.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/footer.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/header.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/layout.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/license_cc.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/localtoc.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search_install.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search_mobile.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/script_footer.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/script_search.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/search.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu_apiref.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/combined.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.min.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/search.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/favicon.ico +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/.gitkeep +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/FontAwesome.otf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.eot +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.ttf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff2 +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.eot +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/license.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser1.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser2.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser3.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser4.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook-hover.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin-hover.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter-hover.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube-hover.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/loading.gif +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/search-icon.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.min.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/docs.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.min.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/navigation.js +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/theme.conf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/titlerow.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs_pdf/logo-full.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs_pdf/pdftheme.sty +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/footer.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/header.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu_apiref.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/css/combined.css +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search_install.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search_mobile.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/theme.conf +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/titlerow.html +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.png +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.svg +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/pdftheme.sty +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme/version.py +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/dependency_links.txt +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/not-zip-safe +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/top_level.txt +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-openstackdocs_auto_version-option-fd03f20373eede39.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-reno-8da9bd3ccb7bbeab.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-starlingxdocs-10a33318f8630486.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-translations-9238b0f56b677a6b.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/autoconfigure-settings-7083fdeeb121da89.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/badge-6f8713da36a7e570.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug-project-e9ff50f6149d2be1.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug-title-fdbefea0408e2cbf.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug_project-d26160cfe5324694.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/css-cleanup-7fb30a2d1208bb4d.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/custom-bug-link-ec64bdf9ce357d16.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/disable_analytics-45d98d6fab71d2b1.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/doc-bug-template-7234e7f00e0ff599.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/double-backticks-not-red-5ce6dbc828221929.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/get_openstack_logo_path-6cdb6538bc5893c3.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/last-updated-via-git-245fb14be3770a19.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/latex_engine-cc35cb3a4ad2fa00.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/local-project-search-e6f00a84f2eed0a6.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/lp1516819-b4bb7b0f10004cef.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/merge-latex-options-242f10c932f0e6af.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/norelease-ccd7722c078a73a2.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/opendev-5c528b2b4c737d59.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/pdf-version-56c223128dff8357.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/pdf_link-c6b0ed36dd12b0ef.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/renamed-opts-bbf5d1390ed6ba71.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/side-bar-config-d7e66388e252cadf.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebar-top-page-link-252532ddf42a5acf.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebar_dropdown_apiref-993b4dba4c0369f6.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebarlinks-db0a8463f32ab95d.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/source_date_epoch-1078730ca0b29a4e.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-5f67da8941aec6ae.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-string-643a47e957b64557.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-url-cee60d9449ec2980.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/strip-html-tags-from-navigation-titles-929c92a339413015.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/notes/version-dropdown-1aa39974f524dd75.yaml +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/_static/.placeholder +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/_templates/.placeholder +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/current.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/historic.rst +0 -0
- {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.0}/releasenotes/source/index.rst +0 -0
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
# We from the Oslo project decided to pin repos based on the
|
|
2
|
-
# commit hash instead of the version tag to prevend arbitrary
|
|
3
|
-
# code from running in developer's machines. To update to a
|
|
4
|
-
# newer version, run `pre-commit autoupdate` and then replace
|
|
5
|
-
# the newer versions with their commit hash.
|
|
6
|
-
|
|
7
|
-
default_language_version:
|
|
8
|
-
python: python3
|
|
9
|
-
|
|
10
1
|
repos:
|
|
11
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
12
|
-
rev:
|
|
3
|
+
rev: v4.6.0
|
|
13
4
|
hooks:
|
|
14
5
|
- id: trailing-whitespace
|
|
15
6
|
# Replaces or checks mixed line ending
|
|
@@ -27,13 +18,15 @@ repos:
|
|
|
27
18
|
- id: debug-statements
|
|
28
19
|
- id: check-yaml
|
|
29
20
|
files: .*\.(yaml|yml)$
|
|
30
|
-
- repo:
|
|
21
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
22
|
+
rev: v0.6.2
|
|
31
23
|
hooks:
|
|
32
|
-
- id:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
- id: ruff
|
|
25
|
+
args: ['--fix']
|
|
26
|
+
- id: ruff-format
|
|
27
|
+
- repo: https://opendev.org/openstack/hacking
|
|
28
|
+
rev: 7.0.0
|
|
29
|
+
hooks:
|
|
30
|
+
- id: hacking
|
|
31
|
+
additional_dependencies: []
|
|
32
|
+
exclude: '^(doc|releasenotes)/.*$'
|
|
@@ -62,6 +62,7 @@ Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
62
62
|
Sebastian Marcet <smarcet@gmail.com>
|
|
63
63
|
SeongSoo Cho <nexusz99@gmail.com>
|
|
64
64
|
Stephen Finucane <sfinucan@redhat.com>
|
|
65
|
+
Stephen Finucane <stephenfin@redhat.com>
|
|
65
66
|
Stone <ronald.stone@windriver.com>
|
|
66
67
|
Takashi Kajinami <kajinamit@oss.nttdata.com>
|
|
67
68
|
Thierry Carrez <thierry@openstack.org>
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
3.4.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Bump minimum Sphinx version
|
|
8
|
+
* Resolve Sphinx 8.x warnings
|
|
9
|
+
* Make Sphinx a required dependency
|
|
10
|
+
* setup: Update Python classifiers
|
|
11
|
+
* pre-commit: Add ruff, ruff-format
|
|
12
|
+
* pre-commit: Bump dependencies
|
|
13
|
+
|
|
4
14
|
3.3.0
|
|
5
15
|
-----
|
|
6
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Home-page: https://docs.openstack.org/openstackdocstheme/latest/
|
|
6
6
|
Author: OpenStack
|
|
@@ -61,7 +61,9 @@ Classifier: Programming Language :: Python
|
|
|
61
61
|
Classifier: Programming Language :: Python :: 3
|
|
62
62
|
Classifier: Programming Language :: Python :: 3.8
|
|
63
63
|
Classifier: Programming Language :: Python :: 3.9
|
|
64
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
65
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
66
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
64
67
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
65
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
66
68
|
Classifier: Topic :: Documentation
|
|
67
69
|
Requires-Python: >=3.8
|
|
@@ -28,10 +28,7 @@
|
|
|
28
28
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
29
29
|
# ones.
|
|
30
30
|
|
|
31
|
-
extensions = [
|
|
32
|
-
'os_api_ref',
|
|
33
|
-
'openstackdocstheme'
|
|
34
|
-
]
|
|
31
|
+
extensions = ['os_api_ref', 'openstackdocstheme']
|
|
35
32
|
|
|
36
33
|
|
|
37
34
|
# The suffix of source filenames.
|
|
@@ -44,8 +41,8 @@ master_doc = 'index'
|
|
|
44
41
|
# 'security guide' or 'network guide'
|
|
45
42
|
# It's used by the "log-a-bug" button on each page
|
|
46
43
|
# and should ultimately be set automatically by the build process
|
|
47
|
-
project =
|
|
48
|
-
copyright =
|
|
44
|
+
project = 'Test API Reference'
|
|
45
|
+
copyright = '2018, OpenStack Contributors'
|
|
49
46
|
|
|
50
47
|
# The version info for the project you're documenting, acts as replacement for
|
|
51
48
|
# |version| and |release|, also used in various other places throughout the
|
|
@@ -84,6 +81,8 @@ html_theme = 'openstackdocs'
|
|
|
84
81
|
# variable, sidebar_dropdown, should be set to `api_ref`.
|
|
85
82
|
# Otherwise, the list of links for the User and Ops docs
|
|
86
83
|
# appear in the sidebar dropdown menu.
|
|
87
|
-
html_theme_options = {
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
html_theme_options = {
|
|
85
|
+
"sidebar_dropdown": "api_ref",
|
|
86
|
+
"display_badge": False,
|
|
87
|
+
"sidebar_mode": "toc",
|
|
88
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
# The order of packages is significant, because pip processes them in the order
|
|
2
|
-
# of appearance. Changing the order has an impact on the overall integration
|
|
3
|
-
# process, which may cause wedges in the gate later.
|
|
4
|
-
# Notes:
|
|
5
1
|
# reno needs openstackdocstheme which needs reno (cycle dep).
|
|
6
2
|
# os-api-ref needs openstackdocstheme which needs os-api-ref (cycle dep).
|
|
7
3
|
# Put them in here will make it clear that those are only needed for
|
|
@@ -35,7 +35,7 @@ source_suffix = '.rst'
|
|
|
35
35
|
master_doc = 'index'
|
|
36
36
|
|
|
37
37
|
# General information about the project.
|
|
38
|
-
copyright =
|
|
38
|
+
copyright = '2015-2018, OpenStack Contributors'
|
|
39
39
|
|
|
40
40
|
# List of patterns, relative to source directory, that match files and
|
|
41
41
|
# directories to ignore when looking for source files.
|
|
@@ -60,9 +60,7 @@ html_theme = 'openstackdocs'
|
|
|
60
60
|
# variable, sidebar_dropdown, should be set to `api_ref`.
|
|
61
61
|
# Otherwise, the list of links for the User and Ops docs
|
|
62
62
|
# appear in the sidebar dropdown menu.
|
|
63
|
-
html_theme_options = {
|
|
64
|
-
'show_other_versions': True
|
|
65
|
-
}
|
|
63
|
+
html_theme_options = {'show_other_versions': True}
|
|
66
64
|
|
|
67
65
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
68
66
|
# relative to this directory. They are copied after the builtin static files,
|
|
@@ -76,7 +74,11 @@ html_static_path = ['_static/css']
|
|
|
76
74
|
# (source start file, target name, title,
|
|
77
75
|
# author, documentclass [howto, manual, or own class]).
|
|
78
76
|
latex_documents = [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
(
|
|
78
|
+
'index',
|
|
79
|
+
'doc-openstackdocstheme.tex',
|
|
80
|
+
'OpenStack Docs Theme Documentation',
|
|
81
|
+
'OpenStack Contributors',
|
|
82
|
+
'manual',
|
|
83
|
+
),
|
|
82
84
|
]
|
|
@@ -19,7 +19,6 @@ import textwrap
|
|
|
19
19
|
|
|
20
20
|
import dulwich.repo
|
|
21
21
|
from pbr import packaging
|
|
22
|
-
import sphinx
|
|
23
22
|
from sphinx.ext import extlinks
|
|
24
23
|
from sphinx.util import logging
|
|
25
24
|
|
|
@@ -69,8 +68,9 @@ def _get_other_versions(app):
|
|
|
69
68
|
refs = repo.get_refs()
|
|
70
69
|
for ref in refs.keys():
|
|
71
70
|
ref = ref.decode('utf-8')
|
|
72
|
-
if
|
|
73
|
-
|
|
71
|
+
if ref.startswith('refs/remotes/origin/stable') or ref.startswith(
|
|
72
|
+
'refs/remotes/origin/unmaintained'
|
|
73
|
+
):
|
|
74
74
|
series = ref.rpartition('/')[-1]
|
|
75
75
|
all_series.append(series)
|
|
76
76
|
elif ref.startswith('refs/tags/') and ref.endswith('-eol'):
|
|
@@ -86,9 +86,10 @@ def _get_other_versions(app):
|
|
|
86
86
|
# automatically include everything they actually have available
|
|
87
87
|
# because the start point is not present in the list.
|
|
88
88
|
earliest_desired = app.config.html_theme_options.get(
|
|
89
|
-
'earliest_published_series', 'zed'
|
|
89
|
+
'earliest_published_series', 'zed'
|
|
90
|
+
)
|
|
90
91
|
if earliest_desired and earliest_desired in all_series:
|
|
91
|
-
interesting_series = all_series[all_series.index(earliest_desired):]
|
|
92
|
+
interesting_series = all_series[all_series.index(earliest_desired) :]
|
|
92
93
|
else:
|
|
93
94
|
interesting_series = all_series
|
|
94
95
|
|
|
@@ -127,7 +128,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
127
128
|
"[openstackdocstheme] "
|
|
128
129
|
"the 'repository_name' config option has been deprecated and "
|
|
129
130
|
"replaced by the 'openstackdocs_repo_name' option; support "
|
|
130
|
-
"for the former will be dropped in a future release"
|
|
131
|
+
"for the former will be dropped in a future release"
|
|
132
|
+
)
|
|
131
133
|
app.config.openstackdocs_repo_name = app.config.repository_name
|
|
132
134
|
|
|
133
135
|
if app.config.use_storyboard is not None:
|
|
@@ -135,7 +137,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
135
137
|
"[openstackdocstheme] "
|
|
136
138
|
"the 'use_storyboard' config option has been deprecated and "
|
|
137
139
|
"replaced by the 'openstackdocs_use_storyboard' option; "
|
|
138
|
-
"support for the former will be dropped in a future release"
|
|
140
|
+
"support for the former will be dropped in a future release"
|
|
141
|
+
)
|
|
139
142
|
app.config.openstackdocs_use_storyboard = app.config.use_storyboard
|
|
140
143
|
|
|
141
144
|
if app.config.bug_project is not None:
|
|
@@ -143,7 +146,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
143
146
|
"[openstackdocstheme] "
|
|
144
147
|
"the 'bug_project' config option has been deprecated and "
|
|
145
148
|
"replaced by the 'openstackdocs_bug_project' option; support "
|
|
146
|
-
"for the former will be dropped in a future release"
|
|
149
|
+
"for the former will be dropped in a future release"
|
|
150
|
+
)
|
|
147
151
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
148
152
|
|
|
149
153
|
if app.config.bug_tag is not None:
|
|
@@ -151,14 +155,19 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
151
155
|
"[openstackdocstheme] "
|
|
152
156
|
"the 'bug_tag' config option has been deprecated and "
|
|
153
157
|
"replaced by the 'openstackdocs_bug_tag' option; support "
|
|
154
|
-
"for the former will be dropped in a future release"
|
|
158
|
+
"for the former will be dropped in a future release"
|
|
159
|
+
)
|
|
155
160
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
156
161
|
|
|
157
162
|
_html_context_data = {}
|
|
158
163
|
try:
|
|
159
|
-
_html_context_data['gitsha'] =
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
_html_context_data['gitsha'] = (
|
|
165
|
+
subprocess.check_output(
|
|
166
|
+
['git', 'rev-parse', 'HEAD'],
|
|
167
|
+
)
|
|
168
|
+
.decode('utf-8')
|
|
169
|
+
.strip()
|
|
170
|
+
)
|
|
162
171
|
except Exception:
|
|
163
172
|
logger.warning(
|
|
164
173
|
'[openstackdocstheme] cannot get gitsha from git repository'
|
|
@@ -172,7 +181,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
172
181
|
if repo_name and doc_path:
|
|
173
182
|
_html_context_data['giturl'] = _giturl.format(repo_name, doc_path)
|
|
174
183
|
logger.debug(
|
|
175
|
-
'[openstackdocstheme] giturl %r',
|
|
184
|
+
'[openstackdocstheme] giturl %r',
|
|
185
|
+
_html_context_data['giturl'],
|
|
176
186
|
)
|
|
177
187
|
|
|
178
188
|
use_storyboard = app.config.openstackdocs_use_storyboard
|
|
@@ -181,7 +191,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
181
191
|
bug_project = app.config.openstackdocs_bug_project
|
|
182
192
|
if bug_project:
|
|
183
193
|
logger.debug(
|
|
184
|
-
'[openstackdocstheme] bug_project (from user) %r',
|
|
194
|
+
'[openstackdocstheme] bug_project (from user) %r',
|
|
195
|
+
bug_project,
|
|
185
196
|
)
|
|
186
197
|
elif use_storyboard:
|
|
187
198
|
bug_project = repo_name
|
|
@@ -209,12 +220,14 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
209
220
|
|
|
210
221
|
_html_context_data['pdf_link'] = app.config.openstackdocs_pdf_link
|
|
211
222
|
logger.debug(
|
|
212
|
-
'[openstackdocstheme] pdf_link %r',
|
|
223
|
+
'[openstackdocstheme] pdf_link %r',
|
|
224
|
+
_html_context_data['pdf_link'],
|
|
213
225
|
)
|
|
214
226
|
|
|
215
227
|
if app.config.openstackdocs_pdf_filename:
|
|
216
228
|
_html_context_data['pdf_filename'] = (
|
|
217
|
-
app.config.openstackdocs_pdf_filename
|
|
229
|
+
app.config.openstackdocs_pdf_filename
|
|
230
|
+
)
|
|
218
231
|
else:
|
|
219
232
|
short_repo_name = repo_name.split('/')[-1]
|
|
220
233
|
_html_context_data['pdf_filename'] = f'doc-{short_repo_name}.pdf'
|
|
@@ -227,7 +240,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
227
240
|
|
|
228
241
|
_html_context_data['series'] = _get_series_name()
|
|
229
242
|
logger.debug(
|
|
230
|
-
'[openstackdocstheme] series %r',
|
|
243
|
+
'[openstackdocstheme] series %r',
|
|
244
|
+
_html_context_data['series'],
|
|
231
245
|
)
|
|
232
246
|
|
|
233
247
|
# Do not show the badge in these cases:
|
|
@@ -262,7 +276,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
262
276
|
context.update(_html_context_data)
|
|
263
277
|
context['other_versions'] = _get_other_versions(app)
|
|
264
278
|
logger.debug(
|
|
265
|
-
'[openstackdocstheme] other_versions %s',
|
|
279
|
+
'[openstackdocstheme] other_versions %s',
|
|
280
|
+
context['other_versions'],
|
|
266
281
|
)
|
|
267
282
|
|
|
268
283
|
|
|
@@ -271,9 +286,13 @@ def _get_series_name():
|
|
|
271
286
|
global _series
|
|
272
287
|
if _series is None:
|
|
273
288
|
try:
|
|
274
|
-
git_root_dir =
|
|
275
|
-
|
|
276
|
-
|
|
289
|
+
git_root_dir = (
|
|
290
|
+
subprocess.check_output(
|
|
291
|
+
['git', 'rev-parse', '--show-toplevel'],
|
|
292
|
+
)
|
|
293
|
+
.decode('utf-8')
|
|
294
|
+
.strip()
|
|
295
|
+
)
|
|
277
296
|
except Exception:
|
|
278
297
|
logger.info(
|
|
279
298
|
'[openstackdocstheme] cannot find git top directory, '
|
|
@@ -301,7 +320,8 @@ def _setup_link_roles(app):
|
|
|
301
320
|
series = _get_series_name()
|
|
302
321
|
for project_name in app.config.openstackdocs_projects:
|
|
303
322
|
url = 'https://docs.openstack.org/{}/{}/%s'.format(
|
|
304
|
-
project_name, series
|
|
323
|
+
project_name, series
|
|
324
|
+
)
|
|
305
325
|
role_name = '{}-doc'.format(project_name)
|
|
306
326
|
logger.debug(
|
|
307
327
|
'[openstackdocstheme] adding role %s to link to %s',
|
|
@@ -309,10 +329,7 @@ def _setup_link_roles(app):
|
|
|
309
329
|
url,
|
|
310
330
|
)
|
|
311
331
|
|
|
312
|
-
|
|
313
|
-
role = extlinks.make_link_role(project_name, url, project_name)
|
|
314
|
-
else:
|
|
315
|
-
role = extlinks.make_link_role(url, project_name)
|
|
332
|
+
role = extlinks.make_link_role(project_name, url, project_name)
|
|
316
333
|
|
|
317
334
|
app.add_role(role_name, role)
|
|
318
335
|
|
|
@@ -327,8 +344,9 @@ def _find_setup_cfg(srcdir):
|
|
|
327
344
|
# an sdist or wheel? Perhaps we should check for 'PKG-INFO' or
|
|
328
345
|
# 'METADATA' files, a la 'pbr.packaging._get_version_from_pkg_metadata'
|
|
329
346
|
for path in [
|
|
330
|
-
|
|
331
|
-
|
|
347
|
+
os.path.join(srcdir, os.pardir, 'setup.cfg'),
|
|
348
|
+
os.path.join(srcdir, os.pardir, os.pardir, 'setup.cfg'),
|
|
349
|
+
]:
|
|
332
350
|
if os.path.exists(path):
|
|
333
351
|
return path
|
|
334
352
|
|
|
@@ -374,7 +392,6 @@ def _get_project_name(srcdir):
|
|
|
374
392
|
|
|
375
393
|
|
|
376
394
|
def _config_inited(app, config):
|
|
377
|
-
|
|
378
395
|
if config.openstack_projects is not None:
|
|
379
396
|
logger.info(
|
|
380
397
|
"[openstackdocstheme] "
|
|
@@ -398,7 +415,8 @@ def _config_inited(app, config):
|
|
|
398
415
|
"overriding configured project name (%s) with name extracted "
|
|
399
416
|
"from the package (%s); you can disable this behavior with "
|
|
400
417
|
"the 'openstackdocs_auto_name' option",
|
|
401
|
-
config.project,
|
|
418
|
+
config.project,
|
|
419
|
+
project_name,
|
|
402
420
|
)
|
|
403
421
|
|
|
404
422
|
if project_name:
|
|
@@ -449,7 +467,6 @@ def _config_inited(app, config):
|
|
|
449
467
|
|
|
450
468
|
|
|
451
469
|
def _builder_inited(app):
|
|
452
|
-
|
|
453
470
|
theme_dir = paths.get_html_theme_path()
|
|
454
471
|
logger.info('[openstackdocstheme] using theme from %s', theme_dir)
|
|
455
472
|
|
|
@@ -16,11 +16,11 @@ import os.path
|
|
|
16
16
|
import subprocess
|
|
17
17
|
import time
|
|
18
18
|
|
|
19
|
+
import sphinx
|
|
19
20
|
from sphinx.util import logging
|
|
20
21
|
|
|
21
22
|
from . import version
|
|
22
23
|
|
|
23
|
-
|
|
24
24
|
LOG = logging.getLogger(__name__)
|
|
25
25
|
|
|
26
26
|
_timeint = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
|
|
@@ -31,13 +31,21 @@ def _get_last_updated_file(src_file):
|
|
|
31
31
|
if not os.path.exists(src_file):
|
|
32
32
|
return None
|
|
33
33
|
try:
|
|
34
|
-
last_updated_t =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
last_updated_t = (
|
|
35
|
+
subprocess.check_output(
|
|
36
|
+
[
|
|
37
|
+
'git',
|
|
38
|
+
'log',
|
|
39
|
+
'-n1',
|
|
40
|
+
'--format=%ad',
|
|
41
|
+
'--date=format:%Y-%m-%d %H:%M:%S',
|
|
42
|
+
'--',
|
|
43
|
+
src_file,
|
|
44
|
+
]
|
|
45
|
+
)
|
|
46
|
+
.decode('utf-8')
|
|
47
|
+
.strip()
|
|
48
|
+
)
|
|
41
49
|
# NOTE: we catch any exception here (instead of
|
|
42
50
|
# subprocess.CalledProcessError and OSError) because some projects (eg.
|
|
43
51
|
# neutron) do import eventlet in docs/source/conf.py which will patch
|
|
@@ -45,17 +53,22 @@ def _get_last_updated_file(src_file):
|
|
|
45
53
|
except Exception as err:
|
|
46
54
|
LOG.info(
|
|
47
55
|
'[openstackdocstheme] Could not get modification time of %s: %s',
|
|
48
|
-
src_file,
|
|
56
|
+
src_file,
|
|
57
|
+
err,
|
|
58
|
+
)
|
|
49
59
|
else:
|
|
50
60
|
if last_updated_t:
|
|
51
61
|
try:
|
|
52
|
-
return datetime.datetime.strptime(
|
|
53
|
-
|
|
62
|
+
return datetime.datetime.strptime(
|
|
63
|
+
last_updated_t, '%Y-%m-%d %H:%M:%S'
|
|
64
|
+
)
|
|
54
65
|
except ValueError:
|
|
55
66
|
LOG.info(
|
|
56
67
|
'[openstackdocstheme] '
|
|
57
68
|
'Could not parse modification time of %s: %r',
|
|
58
|
-
src_file,
|
|
69
|
+
src_file,
|
|
70
|
+
last_updated_t,
|
|
71
|
+
)
|
|
59
72
|
return None
|
|
60
73
|
|
|
61
74
|
|
|
@@ -67,7 +80,12 @@ def _get_last_updated(app, pagename):
|
|
|
67
80
|
|
|
68
81
|
# Strip the prefix from the filename so the git command recognizes
|
|
69
82
|
# the file as part of the current repository.
|
|
70
|
-
|
|
83
|
+
if sphinx.version_info >= (7, 0):
|
|
84
|
+
src_file = str(full_src_file.relative_to(app.builder.env.srcdir))
|
|
85
|
+
else: # Sphinx < 7.0
|
|
86
|
+
src_file = full_src_file[len(str(app.builder.env.srcdir)) :].lstrip(
|
|
87
|
+
'/'
|
|
88
|
+
)
|
|
71
89
|
candidates.append(src_file)
|
|
72
90
|
|
|
73
91
|
if not os.path.exists(src_file):
|
|
@@ -82,7 +100,9 @@ def _get_last_updated(app, pagename):
|
|
|
82
100
|
if last_updated:
|
|
83
101
|
LOG.debug(
|
|
84
102
|
'[openstackdocstheme] Last updated for %s is %s',
|
|
85
|
-
pagename,
|
|
103
|
+
pagename,
|
|
104
|
+
last_updated,
|
|
105
|
+
)
|
|
86
106
|
return last_updated
|
|
87
107
|
|
|
88
108
|
if pagename not in ('genindex', 'search'):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Home-page: https://docs.openstack.org/openstackdocstheme/latest/
|
|
6
6
|
Author: OpenStack
|
|
@@ -61,7 +61,9 @@ Classifier: Programming Language :: Python
|
|
|
61
61
|
Classifier: Programming Language :: Python :: 3
|
|
62
62
|
Classifier: Programming Language :: Python :: 3.8
|
|
63
63
|
Classifier: Programming Language :: Python :: 3.9
|
|
64
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
65
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
66
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
64
67
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
65
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
66
68
|
Classifier: Topic :: Documentation
|
|
67
69
|
Requires-Python: >=3.8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "052ed8e", "is_release": true}
|
|
@@ -52,8 +52,8 @@ source_suffix = '.rst'
|
|
|
52
52
|
master_doc = 'index'
|
|
53
53
|
|
|
54
54
|
# General information about the project.
|
|
55
|
-
project =
|
|
56
|
-
copyright =
|
|
55
|
+
project = 'OpenStackdocstheme Release Notes'
|
|
56
|
+
copyright = '2017, OpenStack Documentation team'
|
|
57
57
|
|
|
58
58
|
# Release notes are version independent.
|
|
59
59
|
# The full version, including alpha/beta/rc tags.
|
|
@@ -193,10 +193,8 @@ htmlhelp_basename = 'OpenStackDocsThemeReleaseNotesdoc'
|
|
|
193
193
|
latex_elements = {
|
|
194
194
|
# The paper size ('letterpaper' or 'a4paper').
|
|
195
195
|
# 'papersize': 'letterpaper',
|
|
196
|
-
|
|
197
196
|
# The font size ('10pt', '11pt' or '12pt').
|
|
198
197
|
# 'pointsize': '10pt',
|
|
199
|
-
|
|
200
198
|
# Additional stuff for the LaTeX preamble.
|
|
201
199
|
# 'preamble': '',
|
|
202
200
|
}
|
|
@@ -205,9 +203,13 @@ latex_elements = {
|
|
|
205
203
|
# (source start file, target name, title,
|
|
206
204
|
# author, documentclass [howto, manual, or own class]).
|
|
207
205
|
latex_documents = [
|
|
208
|
-
(
|
|
209
|
-
|
|
210
|
-
|
|
206
|
+
(
|
|
207
|
+
'index',
|
|
208
|
+
'OpenStackdocstheme-ReleaseNotes.tex',
|
|
209
|
+
'OpenStackdocstheme Release Notes Documentation',
|
|
210
|
+
'Documentation Team',
|
|
211
|
+
'manual',
|
|
212
|
+
),
|
|
211
213
|
]
|
|
212
214
|
|
|
213
215
|
# The name of an image file (relative to this directory) to place at the top of
|
|
@@ -236,9 +238,13 @@ latex_documents = [
|
|
|
236
238
|
# One entry per manual page. List of tuples
|
|
237
239
|
# (source start file, name, description, authors, manual section).
|
|
238
240
|
man_pages = [
|
|
239
|
-
(
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
(
|
|
242
|
+
'index',
|
|
243
|
+
'openstackdocstheme-releasenotes',
|
|
244
|
+
'OpenStackdocstheme Release Notes Documentation',
|
|
245
|
+
['Documentation team'],
|
|
246
|
+
1,
|
|
247
|
+
)
|
|
242
248
|
]
|
|
243
249
|
|
|
244
250
|
# If true, show URL addresses after external links.
|
|
@@ -251,11 +257,15 @@ man_pages = [
|
|
|
251
257
|
# (source start file, target name, title, author,
|
|
252
258
|
# dir menu entry, description, category)
|
|
253
259
|
texinfo_documents = [
|
|
254
|
-
(
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
(
|
|
261
|
+
'index',
|
|
262
|
+
'OpenStackDocsTheme-ReleaseNotes',
|
|
263
|
+
'OpenStackDocsTheme Release Notes Documentation',
|
|
264
|
+
'Documentation Team',
|
|
265
|
+
'OpenStackDocsTheme-ReleaseNotes',
|
|
266
|
+
'One line description of project.',
|
|
267
|
+
'Miscellaneous',
|
|
268
|
+
),
|
|
259
269
|
]
|
|
260
270
|
|
|
261
271
|
# Documents to append as an appendix to all manuals.
|
|
@@ -17,8 +17,10 @@ classifier =
|
|
|
17
17
|
Programming Language :: Python :: 3
|
|
18
18
|
Programming Language :: Python :: 3.8
|
|
19
19
|
Programming Language :: Python :: 3.9
|
|
20
|
+
Programming Language :: Python :: 3.10
|
|
21
|
+
Programming Language :: Python :: 3.11
|
|
22
|
+
Programming Language :: Python :: 3.12
|
|
20
23
|
Programming Language :: Python :: 3 :: Only
|
|
21
|
-
Programming Language :: Python :: Implementation :: CPython
|
|
22
24
|
Topic :: Documentation
|
|
23
25
|
|
|
24
26
|
[files]
|