When a reader comes to a page on docs.openstack.org, they may see one of two themes styling the page: either oslosphinxtheme or openstackdocstheme. By having two themes for a single subdomain, we do not provide a consistent experience for visitors to the site. The navigation provided on the top and side of each page varies with these two themes, and now that there is a new logo for OpenStack itself, we would like to consolidate both themes into one theme, openstackdocstheme.
Also, from a maintenance standpoint, by continuing to support two themes, we must maintain and provide bug fixes for two Sphinx themes with limited web development resources.
Here’s an overview of all the tasks needed to use a single theme consistently across all documents built to docs.openstack.org.
Theme work:
Update openstackdocs theme to match the logo used on www.openstack.org.
User interface changes that must be provided in openstackdocstheme that do not exist currently:
User interface differences that will not be ported from oslosphinx to openstackdocstheme:
Configuration work:
Have all projects that build to the docs.openstack.org subdomain use the
openstackdocstheme theme instead of oslosphinx theme. Basically, update all
conf.py
files for documentation pages to use openstackdocstheme.
Make sure that the bug configuration is correct so that when a reader clicks the “Log a bug” link in the built docs, the corresponding project’s bug logging location is opened.
Deprecate maintenance and use of the oslosphinx theme, addressing any unique needs met by that theme within the openstackdocstheme.
Maintenance or project work:
Move any bugs in the backlog for oslosphinx theme to the openstack-doc-tools bug queue at https://bugs.launchpad.net/openstack-doc-tools.
Continue to use and maintain two themes, one for contributor documentation and one for consumer documentation.
Alter oslosphinx theme to style all content like openstackdocstheme, basically
doing the opposite usage of themes proposed above. We could consider this
approach if it turns out that more conf.py
files use the oslosphinx theme.
Communicate this spec to project teams.
Identify an Oslo liaison to help with any dependencies on reviews.
Ensure that the list of “lost” interface items is acceptable and that the list itself is complete. If not, this spec and list should be modified.
Theme work listed above.
Configuration work listed above.
Maintenance work listed above.
Ensure other Oslo libraries do not have dependencies on the theme.
Test that translations continue to work when using the openstackdocstheme for all different types of content.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.