openstackdocstheme 3.6.0__tar.gz → 3.7.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.6.0 → openstackdocstheme-3.7.0}/PKG-INFO +6 -7
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/ext.py +114 -54
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/page_context.py +5 -3
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme.egg-info/PKG-INFO +6 -7
- openstackdocstheme-3.7.0/openstackdocstheme.egg-info/SOURCES.txt +17 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/pyproject.toml +25 -10
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/setup.cfg +0 -3
- openstackdocstheme-3.6.0/.pre-commit-config.yaml +0 -26
- openstackdocstheme-3.6.0/.zuul.yaml +0 -108
- openstackdocstheme-3.6.0/AUTHORS +0 -89
- openstackdocstheme-3.6.0/CONTRIBUTING.rst +0 -14
- openstackdocstheme-3.6.0/ChangeLog +0 -831
- openstackdocstheme-3.6.0/HACKING.rst +0 -11
- openstackdocstheme-3.6.0/Makefile +0 -177
- openstackdocstheme-3.6.0/api-ref/source/_static/css/README.md +0 -5
- openstackdocstheme-3.6.0/api-ref/source/conf.py +0 -87
- openstackdocstheme-3.6.0/api-ref/source/image.inc +0 -163
- openstackdocstheme-3.6.0/api-ref/source/index.rst +0 -6
- openstackdocstheme-3.6.0/api-ref/source/parameters.yaml +0 -37
- openstackdocstheme-3.6.0/api-ref/source/service.inc +0 -152
- openstackdocstheme-3.6.0/api-ref/source/status.yaml +0 -17
- openstackdocstheme-3.6.0/api-ref/source/update-server-resp.json +0 -5
- openstackdocstheme-3.6.0/bindep.txt +0 -38
- openstackdocstheme-3.6.0/doc/requirements.txt +0 -7
- openstackdocstheme-3.6.0/doc/source/_static/css/.placeholder +0 -0
- openstackdocstheme-3.6.0/doc/source/conf.py +0 -83
- openstackdocstheme-3.6.0/doc/source/demo/configure_access_and_security_for_instances.rst +0 -200
- openstackdocstheme-3.6.0/doc/source/demo/create_and_manage_databases.rst +0 -154
- openstackdocstheme-3.6.0/doc/source/demo/create_and_manage_networks.rst +0 -102
- openstackdocstheme-3.6.0/doc/source/demo/dashboard_demo.rst +0 -202
- openstackdocstheme-3.6.0/doc/source/demo/figures/dashboard-project-tab.png +0 -0
- openstackdocstheme-3.6.0/doc/source/demo/figures/dashboard_admin_project_tab.png +0 -0
- openstackdocstheme-3.6.0/doc/source/demo/figures/doc-logo-fox.jpg +0 -0
- openstackdocstheme-3.6.0/doc/source/demo/index.rst +0 -203
- openstackdocstheme-3.6.0/doc/source/demo/launch-instance.rst +0 -89
- openstackdocstheme-3.6.0/doc/source/demo/section_dashboard_access_and_security.rst +0 -180
- openstackdocstheme-3.6.0/doc/source/index.rst +0 -277
- openstackdocstheme-3.6.0/index.rst +0 -29
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/css.html +0 -14
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/footer.html +0 -56
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/header.html +0 -111
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/layout.html +0 -94
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/license_cc.html +0 -9
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/localtoc.html +0 -8
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/os_search.html +0 -3
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/os_search_install.html +0 -10
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/os_search_mobile.html +0 -3
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/script_footer.html +0 -70
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/script_search.html +0 -28
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/search.html +0 -42
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/sidebartoc.html +0 -30
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/sidebartoc_menu.html +0 -20
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/sidebartoc_menu_apiref.html +0 -40
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css +0 -12057
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css.map +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css +0 -6
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css.map +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/combined.css +0 -973
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.css +0 -2337
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.min.css +0 -4
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/css/search.css +0 -49
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/favicon.ico +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/.gitkeep +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/FontAwesome.otf +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.eot +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.svg +0 -685
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.ttf +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff2 +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.eot +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.svg +0 -288
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/docs/license.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser1.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser2.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser3.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser4.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook-hover.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin-hover.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter-hover.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube-hover.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/loading.gif +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/logo-full.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/logo-full.svg +0 -57
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.svg +0 -57
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.svg +0 -57
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.svg +0 -57
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/images/search-icon.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.bundle.min.js +0 -7
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.bundle.min.js.map +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.js +0 -4494
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.min.js +0 -7
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/docs.js +0 -92
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.js +0 -10253
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.min.js +0 -4
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/static/js/navigation.js +0 -39
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/theme.conf +0 -16
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs/titlerow.html +0 -35
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs_pdf/logo-full.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/openstackdocs_pdf/pdftheme.sty +0 -67
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/footer.html +0 -42
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/header.html +0 -40
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu.html +0 -6
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu_apiref.html +0 -10
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/css/combined.css +0 -973
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.svg +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.svg +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.svg +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.svg +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/stx_search.html +0 -3
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/stx_search_install.html +0 -10
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/stx_search_mobile.html +0 -3
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/theme.conf +0 -14
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs/titlerow.html +0 -32
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.png +0 -0
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.svg +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme/theme/starlingxdocs_pdf/pdftheme.sty +0 -67
- openstackdocstheme-3.6.0/openstackdocstheme.egg-info/SOURCES.txt +0 -193
- openstackdocstheme-3.6.0/openstackdocstheme.egg-info/not-zip-safe +0 -1
- openstackdocstheme-3.6.0/openstackdocstheme.egg-info/pbr.json +0 -1
- openstackdocstheme-3.6.0/releasenotes/notes/add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/add-openstackdocs_auto_version-option-fd03f20373eede39.yaml +0 -13
- openstackdocstheme-3.6.0/releasenotes/notes/add-reno-8da9bd3ccb7bbeab.yaml +0 -3
- openstackdocstheme-3.6.0/releasenotes/notes/add-sidebar-search-0e62a9438dca8309.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/add-starlingxdocs-10a33318f8630486.yaml +0 -11
- openstackdocstheme-3.6.0/releasenotes/notes/add-translations-9238b0f56b677a6b.yaml +0 -24
- openstackdocstheme-3.6.0/releasenotes/notes/allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml +0 -14
- openstackdocstheme-3.6.0/releasenotes/notes/autoconfigure-settings-7083fdeeb121da89.yaml +0 -17
- openstackdocstheme-3.6.0/releasenotes/notes/badge-6f8713da36a7e570.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/bug-project-e9ff50f6149d2be1.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/bug-title-fdbefea0408e2cbf.yaml +0 -13
- openstackdocstheme-3.6.0/releasenotes/notes/bug_project-d26160cfe5324694.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/css-cleanup-7fb30a2d1208bb4d.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/custom-bug-link-ec64bdf9ce357d16.yaml +0 -18
- openstackdocstheme-3.6.0/releasenotes/notes/disable_analytics-45d98d6fab71d2b1.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/doc-bug-template-7234e7f00e0ff599.yaml +0 -8
- openstackdocstheme-3.6.0/releasenotes/notes/double-backticks-not-red-5ce6dbc828221929.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/get_openstack_logo_path-6cdb6538bc5893c3.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/last-updated-via-git-245fb14be3770a19.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/latex_engine-cc35cb3a4ad2fa00.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/local-project-search-e6f00a84f2eed0a6.yaml +0 -12
- openstackdocstheme-3.6.0/releasenotes/notes/lp1516819-b4bb7b0f10004cef.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/merge-latex-options-242f10c932f0e6af.yaml +0 -9
- openstackdocstheme-3.6.0/releasenotes/notes/norelease-ccd7722c078a73a2.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/opendev-5c528b2b4c737d59.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/pdf-version-56c223128dff8357.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/pdf_link-c6b0ed36dd12b0ef.yaml +0 -7
- openstackdocstheme-3.6.0/releasenotes/notes/remove-py38-py39-3d46233c4a0a859a.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/renamed-opts-bbf5d1390ed6ba71.yaml +0 -15
- openstackdocstheme-3.6.0/releasenotes/notes/side-bar-config-d7e66388e252cadf.yaml +0 -16
- openstackdocstheme-3.6.0/releasenotes/notes/sidebar-top-page-link-252532ddf42a5acf.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/sidebar_dropdown_apiref-993b4dba4c0369f6.yaml +0 -29
- openstackdocstheme-3.6.0/releasenotes/notes/sidebarlinks-db0a8463f32ab95d.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/source_date_epoch-1078730ca0b29a4e.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/storyboard-5f67da8941aec6ae.yaml +0 -4
- openstackdocstheme-3.6.0/releasenotes/notes/storyboard-string-643a47e957b64557.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/storyboard-url-cee60d9449ec2980.yaml +0 -6
- openstackdocstheme-3.6.0/releasenotes/notes/strip-html-tags-from-navigation-titles-929c92a339413015.yaml +0 -5
- openstackdocstheme-3.6.0/releasenotes/notes/version-dropdown-1aa39974f524dd75.yaml +0 -23
- openstackdocstheme-3.6.0/releasenotes/source/_static/.placeholder +0 -0
- openstackdocstheme-3.6.0/releasenotes/source/_templates/.placeholder +0 -0
- openstackdocstheme-3.6.0/releasenotes/source/conf.py +0 -283
- openstackdocstheme-3.6.0/releasenotes/source/current.rst +0 -5
- openstackdocstheme-3.6.0/releasenotes/source/historic.rst +0 -125
- openstackdocstheme-3.6.0/releasenotes/source/index.rst +0 -9
- openstackdocstheme-3.6.0/requirements.txt +0 -3
- openstackdocstheme-3.6.0/setup.py +0 -19
- openstackdocstheme-3.6.0/tox.ini +0 -101
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/LICENSE +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/README.rst +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/bin/docstheme-build-pdf +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/bin/docstheme-build-translated.sh +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/bin/docstheme-lang-display-name.py +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/__init__.py +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/paths.py +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/py.typed +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme/version.py +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme.egg-info/dependency_links.txt +0 -0
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme.egg-info/requires.txt +1 -1
- {openstackdocstheme-3.6.0 → openstackdocstheme-3.7.0}/openstackdocstheme.egg-info/top_level.txt +0 -0
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.7.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
|
|
6
|
-
License: Apache-2.0
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://docs.openstack.org/openstackdocstheme
|
|
8
8
|
Project-URL: Repository, https://opendev.org/openstack/openstackdocstheme
|
|
9
9
|
Classifier: Environment :: OpenStack
|
|
10
10
|
Classifier: Intended Audience :: Information Technology
|
|
11
11
|
Classifier: Intended Audience :: System Administrators
|
|
12
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
12
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
13
|
Classifier: Programming Language :: Python
|
|
15
14
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
20
|
Classifier: Topic :: Documentation
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
23
|
Description-Content-Type: text/x-rst
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: pbr!=2.1.0,>=2.0.0
|
|
26
25
|
Requires-Dist: dulwich>=0.15.0
|
|
26
|
+
Requires-Dist: pbr!=2.1.0,>=2.0.0
|
|
27
27
|
Requires-Dist: sphinx>=8.0.0
|
|
28
28
|
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
29
|
|
|
31
30
|
==========================================
|
|
32
31
|
Open Infrastructure Projects Sphinx Themes
|
|
@@ -16,6 +16,7 @@ import configparser
|
|
|
16
16
|
import os
|
|
17
17
|
import subprocess
|
|
18
18
|
import textwrap
|
|
19
|
+
import tomllib
|
|
19
20
|
from typing import Any
|
|
20
21
|
|
|
21
22
|
from docutils import nodes
|
|
@@ -25,6 +26,7 @@ from pbr import packaging
|
|
|
25
26
|
from sphinx import application
|
|
26
27
|
from sphinx.config import Config
|
|
27
28
|
from sphinx.ext import extlinks
|
|
29
|
+
from sphinx.util import console
|
|
28
30
|
from sphinx.util import logging
|
|
29
31
|
|
|
30
32
|
from . import version
|
|
@@ -40,7 +42,7 @@ logger = logging.getLogger(__name__)
|
|
|
40
42
|
|
|
41
43
|
def _has_stable_branches() -> bool:
|
|
42
44
|
try:
|
|
43
|
-
repo = dulwich.repo.Repo.discover()
|
|
45
|
+
repo = dulwich.repo.Repo.discover()
|
|
44
46
|
except dulwich.errors.NotGitRepository:
|
|
45
47
|
return False
|
|
46
48
|
|
|
@@ -66,13 +68,13 @@ def _get_other_versions(app: application.Sphinx) -> list[str]:
|
|
|
66
68
|
|
|
67
69
|
all_series: list[str] = []
|
|
68
70
|
try:
|
|
69
|
-
repo = dulwich.repo.Repo.discover()
|
|
71
|
+
repo = dulwich.repo.Repo.discover()
|
|
70
72
|
except dulwich.errors.NotGitRepository:
|
|
71
73
|
return []
|
|
72
74
|
|
|
73
75
|
refs = repo.get_refs()
|
|
74
|
-
for
|
|
75
|
-
ref =
|
|
76
|
+
for ref_b in refs.keys():
|
|
77
|
+
ref = ref_b.decode('utf-8')
|
|
76
78
|
if ref.startswith('refs/remotes/origin/stable') or ref.startswith(
|
|
77
79
|
'refs/remotes/origin/unmaintained'
|
|
78
80
|
):
|
|
@@ -118,7 +120,11 @@ def _get_doc_path(app: application.Sphinx) -> str | None:
|
|
|
118
120
|
return '/'.join(doc_parts)
|
|
119
121
|
|
|
120
122
|
logger.info(
|
|
121
|
-
"
|
|
123
|
+
"%s",
|
|
124
|
+
console.colorize(
|
|
125
|
+
'bold',
|
|
126
|
+
"[openstackdocstheme] cannot identify project's root directory",
|
|
127
|
+
),
|
|
122
128
|
)
|
|
123
129
|
return None
|
|
124
130
|
|
|
@@ -136,37 +142,45 @@ def _html_page_context(
|
|
|
136
142
|
|
|
137
143
|
if app.config.repository_name is not None:
|
|
138
144
|
logger.info(
|
|
139
|
-
"
|
|
140
|
-
"the
|
|
141
|
-
|
|
142
|
-
|
|
145
|
+
"%s; use 'openstackdocs_repo_name' instead. Support for "
|
|
146
|
+
"the old option will be dropped in a future release",
|
|
147
|
+
console.colorize(
|
|
148
|
+
'bold',
|
|
149
|
+
"[openstackdocstheme] 'repository_name' is deprecated",
|
|
150
|
+
),
|
|
143
151
|
)
|
|
144
152
|
app.config.openstackdocs_repo_name = app.config.repository_name
|
|
145
153
|
|
|
146
154
|
if app.config.use_storyboard is not None:
|
|
147
155
|
logger.info(
|
|
148
|
-
"
|
|
149
|
-
"the
|
|
150
|
-
|
|
151
|
-
|
|
156
|
+
"%s; use 'openstackdocs_use_storyboard' instead. Support for "
|
|
157
|
+
"the old option will be dropped in a future release",
|
|
158
|
+
console.colorize(
|
|
159
|
+
'bold',
|
|
160
|
+
"[openstackdocstheme] 'use_storyboard' is deprecated",
|
|
161
|
+
),
|
|
152
162
|
)
|
|
153
163
|
app.config.openstackdocs_use_storyboard = app.config.use_storyboard
|
|
154
164
|
|
|
155
165
|
if app.config.bug_project is not None:
|
|
156
166
|
logger.info(
|
|
157
|
-
"
|
|
158
|
-
"the
|
|
159
|
-
"
|
|
160
|
-
|
|
167
|
+
"%s; use 'openstackdocs_bug_project' "
|
|
168
|
+
"instead. Support for the old option will be dropped in a "
|
|
169
|
+
"future release",
|
|
170
|
+
console.colorize(
|
|
171
|
+
'bold', "[openstackdocstheme] 'bug_project' is deprecated"
|
|
172
|
+
),
|
|
161
173
|
)
|
|
162
174
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
163
175
|
|
|
164
176
|
if app.config.bug_tag is not None:
|
|
165
177
|
logger.info(
|
|
166
|
-
"
|
|
167
|
-
"the
|
|
168
|
-
"
|
|
169
|
-
|
|
178
|
+
"%s; use 'openstackdocs_bug_tag' "
|
|
179
|
+
"instead. Support for the old option will be dropped in a "
|
|
180
|
+
"future release",
|
|
181
|
+
console.colorize(
|
|
182
|
+
'bold', "[openstackdocstheme] 'bug_tag' is deprecated"
|
|
183
|
+
),
|
|
170
184
|
)
|
|
171
185
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
172
186
|
|
|
@@ -288,7 +302,7 @@ def _html_page_context(
|
|
|
288
302
|
context['other_versions'] = _get_other_versions(app)
|
|
289
303
|
logger.debug(
|
|
290
304
|
'[openstackdocstheme] other_versions %s',
|
|
291
|
-
context['other_versions'],
|
|
305
|
+
', '.join(context['other_versions']),
|
|
292
306
|
)
|
|
293
307
|
|
|
294
308
|
|
|
@@ -306,8 +320,11 @@ def _get_series_name() -> str:
|
|
|
306
320
|
)
|
|
307
321
|
except Exception:
|
|
308
322
|
logger.info(
|
|
309
|
-
'
|
|
310
|
-
|
|
323
|
+
'%s; assuming "."',
|
|
324
|
+
console.colorize(
|
|
325
|
+
'bold',
|
|
326
|
+
'[openstackdocstheme] cannot find git top directory',
|
|
327
|
+
),
|
|
311
328
|
)
|
|
312
329
|
git_root_dir = '.'
|
|
313
330
|
|
|
@@ -315,7 +332,13 @@ def _get_series_name() -> str:
|
|
|
315
332
|
in_file = os.path.join(git_root_dir, '.gitreview')
|
|
316
333
|
parsed = parser.read(in_file)
|
|
317
334
|
if not parsed:
|
|
318
|
-
logger.info(
|
|
335
|
+
logger.info(
|
|
336
|
+
'%s: %s',
|
|
337
|
+
console.colorize(
|
|
338
|
+
'bold', '[openstackdocstheme] file not found'
|
|
339
|
+
),
|
|
340
|
+
in_file,
|
|
341
|
+
)
|
|
319
342
|
|
|
320
343
|
try:
|
|
321
344
|
branch = parser.get('gerrit', 'defaultbranch')
|
|
@@ -343,18 +366,22 @@ def _setup_link_roles(app: application.Sphinx) -> None:
|
|
|
343
366
|
app.add_role(role_name, role)
|
|
344
367
|
|
|
345
368
|
|
|
346
|
-
def
|
|
347
|
-
|
|
369
|
+
def _find_packaging_conf(
|
|
370
|
+
srcdir: str | os.PathLike[str], file: str
|
|
371
|
+
) -> str | None:
|
|
372
|
+
"""Find the packaging configuration file, if it exists.
|
|
373
|
+
|
|
374
|
+
Expected to be called with ``pyproject.toml`` or ``setup.cfg``.
|
|
348
375
|
|
|
349
|
-
This assumes we're using
|
|
350
|
-
for single level
|
|
376
|
+
This assumes we're using ``doc/source`` for documentation, but it also
|
|
377
|
+
allows for single level ``doc`` paths.
|
|
351
378
|
"""
|
|
352
379
|
# TODO(stephenfin): Are we sure that this will always exist, e.g. for
|
|
353
380
|
# an sdist or wheel? Perhaps we should check for 'PKG-INFO' or
|
|
354
381
|
# 'METADATA' files, a la 'pbr.packaging._get_version_from_pkg_metadata'
|
|
355
382
|
for path in [
|
|
356
|
-
os.path.join(srcdir, os.pardir,
|
|
357
|
-
os.path.join(srcdir, os.pardir, os.pardir,
|
|
383
|
+
os.path.join(srcdir, os.pardir, file),
|
|
384
|
+
os.path.join(srcdir, os.pardir, os.pardir, file),
|
|
358
385
|
]:
|
|
359
386
|
if os.path.exists(path):
|
|
360
387
|
return path
|
|
@@ -372,15 +399,34 @@ def _get_project_name(srcdir: str | os.PathLike[str]) -> str | None:
|
|
|
372
399
|
the package simply to build docs.
|
|
373
400
|
"""
|
|
374
401
|
global _project
|
|
375
|
-
if _project is None:
|
|
376
|
-
|
|
402
|
+
if _project is not None:
|
|
403
|
+
return _project
|
|
377
404
|
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
'
|
|
383
|
-
|
|
405
|
+
def _error(msg: str) -> None:
|
|
406
|
+
logger.info(
|
|
407
|
+
'%s: %s',
|
|
408
|
+
console.colorize(
|
|
409
|
+
'bold',
|
|
410
|
+
'[openstackdocstheme] cannot determine project name',
|
|
411
|
+
),
|
|
412
|
+
msg,
|
|
413
|
+
)
|
|
414
|
+
|
|
415
|
+
# prefer pyproject.toml
|
|
416
|
+
path = _find_packaging_conf(srcdir, 'pyproject.toml')
|
|
417
|
+
if path:
|
|
418
|
+
with open(path, 'rb') as f:
|
|
419
|
+
pyproject = tomllib.load(f)
|
|
420
|
+
project = pyproject.get('project', {}).get('name')
|
|
421
|
+
if project:
|
|
422
|
+
_project = project
|
|
423
|
+
return _project
|
|
424
|
+
|
|
425
|
+
path = _find_packaging_conf(srcdir, 'setup.cfg')
|
|
426
|
+
if path:
|
|
427
|
+
parser = configparser.ConfigParser()
|
|
428
|
+
if not parser.read(path):
|
|
429
|
+
_error('could not extract metadata from setup.cfg')
|
|
384
430
|
return None
|
|
385
431
|
|
|
386
432
|
try:
|
|
@@ -391,22 +437,28 @@ def _get_project_name(srcdir: str | os.PathLike[str]) -> str | None:
|
|
|
391
437
|
if len(project.split()) == 1 and len(project) > 32:
|
|
392
438
|
project = parser.get('metadata', 'summary')
|
|
393
439
|
except configparser.Error:
|
|
394
|
-
|
|
395
|
-
'[openstackdocstheme] could not extract project metadata from '
|
|
396
|
-
'setup.cfg'
|
|
397
|
-
)
|
|
440
|
+
_error('could not extract metadata from setup.cfg')
|
|
398
441
|
return None
|
|
442
|
+
|
|
399
443
|
_project = project
|
|
400
|
-
|
|
444
|
+
return project
|
|
445
|
+
|
|
446
|
+
_error(
|
|
447
|
+
'could not find a project.toml or setup.cfg to extract project '
|
|
448
|
+
'name from'
|
|
449
|
+
)
|
|
450
|
+
return None
|
|
401
451
|
|
|
402
452
|
|
|
403
453
|
def _config_inited(app: application.Sphinx, config: Config) -> None:
|
|
404
454
|
if config.openstack_projects is not None:
|
|
405
455
|
logger.info(
|
|
406
|
-
"
|
|
407
|
-
"the
|
|
408
|
-
|
|
409
|
-
|
|
456
|
+
"%s; use 'openstackdocs_projects' instead. "
|
|
457
|
+
"Support for the old option will be dropped in a future release",
|
|
458
|
+
console.colorize(
|
|
459
|
+
'bold',
|
|
460
|
+
"[openstackdocstheme] 'openstack_projects' is deprecated",
|
|
461
|
+
),
|
|
410
462
|
)
|
|
411
463
|
config.openstackdocs_projects = config.openstack_projects
|
|
412
464
|
|
|
@@ -420,10 +472,13 @@ def _config_inited(app: application.Sphinx, config: Config) -> None:
|
|
|
420
472
|
|
|
421
473
|
if config.project and project_name:
|
|
422
474
|
logger.info(
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
426
|
-
|
|
475
|
+
"%s: %s -> %s (extracted from the "
|
|
476
|
+
"package); you can disable this behavior with the "
|
|
477
|
+
"'openstackdocs_auto_name' option",
|
|
478
|
+
console.colorize(
|
|
479
|
+
'bold',
|
|
480
|
+
'[openstackdocstheme] overriding configured project name',
|
|
481
|
+
),
|
|
427
482
|
config.project,
|
|
428
483
|
project_name,
|
|
429
484
|
)
|
|
@@ -478,7 +533,11 @@ def _config_inited(app: application.Sphinx, config: Config) -> None:
|
|
|
478
533
|
|
|
479
534
|
def _builder_inited(app: application.Sphinx) -> None:
|
|
480
535
|
theme_dir = paths.get_html_theme_path()
|
|
481
|
-
logger.info(
|
|
536
|
+
logger.info(
|
|
537
|
+
'%s %s',
|
|
538
|
+
console.colorize('bold', '[openstackdocstheme] using theme from'),
|
|
539
|
+
theme_dir,
|
|
540
|
+
)
|
|
482
541
|
|
|
483
542
|
_setup_link_roles(app)
|
|
484
543
|
|
|
@@ -519,7 +578,8 @@ def _builder_inited(app: application.Sphinx) -> None:
|
|
|
519
578
|
|
|
520
579
|
def setup(app: application.Sphinx) -> dict[str, Any]:
|
|
521
580
|
logger.info(
|
|
522
|
-
'
|
|
581
|
+
'%s %s',
|
|
582
|
+
console.colorize('bold', '[openstackdocstheme] version:'),
|
|
523
583
|
version.version_info.version_string(),
|
|
524
584
|
)
|
|
525
585
|
logger.debug('[openstackdocstheme] connecting events')
|
|
@@ -27,7 +27,7 @@ LOG = logging.getLogger(__name__)
|
|
|
27
27
|
|
|
28
28
|
_timeint = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
|
|
29
29
|
_default_last_updated = datetime.datetime.fromtimestamp(
|
|
30
|
-
_timeint, tz=datetime.
|
|
30
|
+
_timeint, tz=datetime.UTC
|
|
31
31
|
).replace(tzinfo=None)
|
|
32
32
|
|
|
33
33
|
|
|
@@ -107,7 +107,7 @@ def _get_last_updated(
|
|
|
107
107
|
return last_updated
|
|
108
108
|
|
|
109
109
|
if pagename not in ('genindex', 'search'):
|
|
110
|
-
LOG.
|
|
110
|
+
LOG.debug(
|
|
111
111
|
'[openstackdocstheme] could not determine last_updated for %r',
|
|
112
112
|
pagename,
|
|
113
113
|
)
|
|
@@ -128,7 +128,9 @@ def html_page_context(
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
def setup(app: application.Sphinx) -> dict[str, Any]:
|
|
131
|
-
LOG.
|
|
131
|
+
LOG.debug(
|
|
132
|
+
'[openstackdocstheme] connecting html-page-context event handler'
|
|
133
|
+
)
|
|
132
134
|
app.connect('html-page-context', html_page_context)
|
|
133
135
|
return {
|
|
134
136
|
'parallel_read_safe': True,
|
|
@@ -1,32 +1,31 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.7.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Author-email: OpenStack <openstack-discuss@lists.openstack.org>
|
|
6
|
-
License: Apache-2.0
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://docs.openstack.org/openstackdocstheme
|
|
8
8
|
Project-URL: Repository, https://opendev.org/openstack/openstackdocstheme
|
|
9
9
|
Classifier: Environment :: OpenStack
|
|
10
10
|
Classifier: Intended Audience :: Information Technology
|
|
11
11
|
Classifier: Intended Audience :: System Administrators
|
|
12
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
12
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
13
|
Classifier: Programming Language :: Python
|
|
15
14
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
17
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
20
|
Classifier: Topic :: Documentation
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
|
-
Requires-Python: >=3.
|
|
22
|
+
Requires-Python: >=3.11
|
|
23
23
|
Description-Content-Type: text/x-rst
|
|
24
24
|
License-File: LICENSE
|
|
25
|
-
Requires-Dist: pbr!=2.1.0,>=2.0.0
|
|
26
25
|
Requires-Dist: dulwich>=0.15.0
|
|
26
|
+
Requires-Dist: pbr!=2.1.0,>=2.0.0
|
|
27
27
|
Requires-Dist: sphinx>=8.0.0
|
|
28
28
|
Dynamic: license-file
|
|
29
|
-
Dynamic: requires-dist
|
|
30
29
|
|
|
31
30
|
==========================================
|
|
32
31
|
Open Infrastructure Projects Sphinx Themes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.rst
|
|
3
|
+
pyproject.toml
|
|
4
|
+
bin/docstheme-build-pdf
|
|
5
|
+
bin/docstheme-build-translated.sh
|
|
6
|
+
bin/docstheme-lang-display-name.py
|
|
7
|
+
openstackdocstheme/__init__.py
|
|
8
|
+
openstackdocstheme/ext.py
|
|
9
|
+
openstackdocstheme/page_context.py
|
|
10
|
+
openstackdocstheme/paths.py
|
|
11
|
+
openstackdocstheme/py.typed
|
|
12
|
+
openstackdocstheme/version.py
|
|
13
|
+
openstackdocstheme.egg-info/PKG-INFO
|
|
14
|
+
openstackdocstheme.egg-info/SOURCES.txt
|
|
15
|
+
openstackdocstheme.egg-info/dependency_links.txt
|
|
16
|
+
openstackdocstheme.egg-info/requires.txt
|
|
17
|
+
openstackdocstheme.egg-info/top_level.txt
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["pbr>=
|
|
2
|
+
requires = ["pbr>=7.1.0"]
|
|
3
3
|
build-backend = "pbr.build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -9,41 +9,56 @@ authors = [
|
|
|
9
9
|
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
|
|
10
10
|
]
|
|
11
11
|
readme = {file = "README.rst", content-type = "text/x-rst"}
|
|
12
|
-
license =
|
|
13
|
-
dynamic = ["version"
|
|
14
|
-
requires-python = ">=3.
|
|
12
|
+
license = "Apache-2.0"
|
|
13
|
+
dynamic = ["version"]
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
classifiers = [
|
|
16
16
|
"Environment :: OpenStack",
|
|
17
17
|
"Intended Audience :: Information Technology",
|
|
18
18
|
"Intended Audience :: System Administrators",
|
|
19
|
-
"License :: OSI Approved :: Apache Software License",
|
|
20
19
|
"Operating System :: POSIX :: Linux",
|
|
21
20
|
"Programming Language :: Python",
|
|
22
21
|
"Programming Language :: Python :: 3",
|
|
23
|
-
"Programming Language :: Python :: 3.10",
|
|
24
22
|
"Programming Language :: Python :: 3.11",
|
|
25
23
|
"Programming Language :: Python :: 3.12",
|
|
26
24
|
"Programming Language :: Python :: 3.13",
|
|
25
|
+
"Programming Language :: Python :: 3.14",
|
|
26
|
+
"Programming Language :: Python :: 3.15",
|
|
27
27
|
"Topic :: Documentation",
|
|
28
28
|
"Typing :: Typed",
|
|
29
29
|
]
|
|
30
|
+
dependencies = [
|
|
31
|
+
"dulwich>=0.15.0", # Apache-2.0
|
|
32
|
+
"pbr!=2.1.0,>=2.0.0", # Apache-2.0
|
|
33
|
+
"sphinx>=8.0.0", # BSD
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[dependency-groups]
|
|
37
|
+
doc = [
|
|
38
|
+
"os-api-ref>=1.4.0", # Apache-2.0
|
|
39
|
+
"reno>=3.1.0", # Apache-2.0
|
|
40
|
+
]
|
|
41
|
+
types = [
|
|
42
|
+
"mypy",
|
|
43
|
+
"types-docutils",
|
|
44
|
+
]
|
|
30
45
|
|
|
31
46
|
[project.urls]
|
|
32
47
|
Homepage = "https://docs.openstack.org/openstackdocstheme"
|
|
33
48
|
Repository = "https://opendev.org/openstack/openstackdocstheme"
|
|
34
49
|
|
|
35
50
|
[tool.setuptools]
|
|
36
|
-
packages = [
|
|
37
|
-
"openstackdocstheme"
|
|
38
|
-
]
|
|
39
51
|
script-files = [
|
|
40
52
|
"bin/docstheme-build-translated.sh",
|
|
41
53
|
"bin/docstheme-lang-display-name.py",
|
|
42
54
|
"bin/docstheme-build-pdf",
|
|
43
55
|
]
|
|
44
56
|
|
|
57
|
+
[tool.setuptools.packages.find]
|
|
58
|
+
include = ["openstackdocstheme*"]
|
|
59
|
+
|
|
45
60
|
[tool.mypy]
|
|
46
|
-
python_version = "3.
|
|
61
|
+
python_version = "3.11"
|
|
47
62
|
show_column_numbers = true
|
|
48
63
|
show_error_context = true
|
|
49
64
|
strict = true
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
repos:
|
|
2
|
-
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
-
rev: v6.0.0
|
|
4
|
-
hooks:
|
|
5
|
-
- id: trailing-whitespace
|
|
6
|
-
- id: mixed-line-ending
|
|
7
|
-
args: ['--fix', 'lf']
|
|
8
|
-
exclude: '.*\.(svg)$'
|
|
9
|
-
- id: fix-byte-order-marker
|
|
10
|
-
- id: check-executables-have-shebangs
|
|
11
|
-
- id: check-merge-conflict
|
|
12
|
-
- id: debug-statements
|
|
13
|
-
- id: check-yaml
|
|
14
|
-
files: .*\.(yaml|yml)$
|
|
15
|
-
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
16
|
-
rev: v0.14.13
|
|
17
|
-
hooks:
|
|
18
|
-
- id: ruff-check
|
|
19
|
-
args: ['--fix']
|
|
20
|
-
- id: ruff-format
|
|
21
|
-
- repo: https://opendev.org/openstack/hacking
|
|
22
|
-
rev: 8.0.0
|
|
23
|
-
hooks:
|
|
24
|
-
- id: hacking
|
|
25
|
-
additional_dependencies: []
|
|
26
|
-
exclude: '^(doc|releasenotes)/.*$'
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
- job:
|
|
2
|
-
name: openstackdocstheme-tox-docs-tips
|
|
3
|
-
parent: openstack-tox-docs
|
|
4
|
-
description: |
|
|
5
|
-
Build documentation for openstackdocstheme with main branch of important
|
|
6
|
-
libs. Takes advantage of the base tox job's install-siblings feature.
|
|
7
|
-
# The job only tests the latest and shouldn't be run on the stable branches
|
|
8
|
-
branches:
|
|
9
|
-
regex: ^stable/.*$
|
|
10
|
-
negate: true
|
|
11
|
-
required-projects:
|
|
12
|
-
- name: github.com/sphinx-doc/sphinx
|
|
13
|
-
vars:
|
|
14
|
-
# Set work dir to openstackdocstheme so that if it's triggered by one of
|
|
15
|
-
# the other repos the tests will run in the same place
|
|
16
|
-
zuul_work_dir: src/opendev.org/openstack/openstackdocstheme
|
|
17
|
-
|
|
18
|
-
- job:
|
|
19
|
-
name: openstackdocstheme-openstack-tox-docs-starlingxdocs
|
|
20
|
-
parent: openstack-tox-docs
|
|
21
|
-
vars:
|
|
22
|
-
tox_envlist: docs-starlingxdocs
|
|
23
|
-
tox_pdf_envlist: pdf-docs-starlingxdocs
|
|
24
|
-
|
|
25
|
-
- job:
|
|
26
|
-
name: openstackdocstheme-cross-nova-tox-docs
|
|
27
|
-
parent: openstack-tox-docs
|
|
28
|
-
description: |
|
|
29
|
-
Run cross-project tests on nova with
|
|
30
|
-
openstack-tox-docs.
|
|
31
|
-
vars:
|
|
32
|
-
zuul_work_dir: src/opendev.org/openstack/nova
|
|
33
|
-
sphinx_pdf_files: doc-nova.pdf
|
|
34
|
-
required-projects:
|
|
35
|
-
- openstack/nova
|
|
36
|
-
- openstack/openstackdocstheme
|
|
37
|
-
|
|
38
|
-
- job:
|
|
39
|
-
name: openstackdocstheme-cross-octaviaclient-tox-docs
|
|
40
|
-
parent: openstack-tox-docs
|
|
41
|
-
description: |
|
|
42
|
-
Run cross-project tests on nova with
|
|
43
|
-
openstack-tox-docs.
|
|
44
|
-
vars:
|
|
45
|
-
zuul_work_dir: src/opendev.org/openstack/python-octaviaclient
|
|
46
|
-
sphinx_pdf_files: doc-python-octaviaclient.pdf
|
|
47
|
-
required-projects:
|
|
48
|
-
- openstack/python-octaviaclient
|
|
49
|
-
- openstack/openstackdocstheme
|
|
50
|
-
|
|
51
|
-
- job:
|
|
52
|
-
name: openstackdocstheme-api-ref-tips
|
|
53
|
-
parent: build-openstack-api-ref
|
|
54
|
-
description: |
|
|
55
|
-
Build api-ref documentation for openstackdocstheme with main branch of
|
|
56
|
-
os-api-ref. Takes advantage of the base tox job's install-siblings feature.
|
|
57
|
-
# The job only tests the latest and shouldn't be run on the stable branches
|
|
58
|
-
branches:
|
|
59
|
-
regex: ^stable/.*$
|
|
60
|
-
negate: true
|
|
61
|
-
required-projects:
|
|
62
|
-
- name: openstack/os-api-ref
|
|
63
|
-
vars:
|
|
64
|
-
# Set work dir to openstackdocstheme so that if it's triggered by one of
|
|
65
|
-
# the other repos the tests will run in the same place
|
|
66
|
-
zuul_work_dir: src/opendev.org/openstack/openstackdocstheme
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
- project:
|
|
70
|
-
templates:
|
|
71
|
-
- check-requirements
|
|
72
|
-
- publish-openstack-docs-pti
|
|
73
|
-
- release-notes-jobs-python3
|
|
74
|
-
check:
|
|
75
|
-
jobs:
|
|
76
|
-
- openstack-tox-pep8
|
|
77
|
-
- build-openstack-api-ref:
|
|
78
|
-
# Override files section of the job so that this builds
|
|
79
|
-
# if we change the template.
|
|
80
|
-
files:
|
|
81
|
-
- ^tox.ini$
|
|
82
|
-
- ^api-ref/.*
|
|
83
|
-
- ^doc/.*$
|
|
84
|
-
- ^openstackdocstheme/.*$
|
|
85
|
-
- ^.*\.txt$
|
|
86
|
-
- ^.*\.rst$
|
|
87
|
-
- openstackdocstheme-tox-docs-tips
|
|
88
|
-
- openstackdocstheme-openstack-tox-docs-starlingxdocs
|
|
89
|
-
- openstackdocstheme-cross-nova-tox-docs
|
|
90
|
-
- openstackdocstheme-cross-octaviaclient-tox-docs
|
|
91
|
-
- openstackdocstheme-api-ref-tips
|
|
92
|
-
gate:
|
|
93
|
-
jobs:
|
|
94
|
-
- openstack-tox-pep8
|
|
95
|
-
- build-openstack-api-ref:
|
|
96
|
-
files:
|
|
97
|
-
- ^tox.ini$
|
|
98
|
-
- ^api-ref/.*
|
|
99
|
-
- ^doc/.*$
|
|
100
|
-
- ^openstackdocstheme/.*$
|
|
101
|
-
- ^.*\.txt$
|
|
102
|
-
- ^.*\.rst$
|
|
103
|
-
- openstackdocstheme-openstack-tox-docs-starlingxdocs
|
|
104
|
-
- openstackdocstheme-cross-nova-tox-docs
|
|
105
|
-
- openstackdocstheme-cross-octaviaclient-tox-docs
|
|
106
|
-
post:
|
|
107
|
-
jobs:
|
|
108
|
-
- publish-openstack-python-branch-tarball
|