The main cloud_sptheme module contains the following helper functions:
Returns path to directory containing this package’s Sphinx themes.
This is designed to be used when setting the html_theme_path option within Sphinx’s conf.py file.
The Cloud Sphinx Theme for a usage example.
Derive short version string from longer ‘release’ string.
This is quick helper which takes a project’s release string, and generates the shortened version string required by conf.py. Usage example for conf.py:
import cloud_sptheme as csp ... # The version info for the project you're documenting from myapp import __version__ as release version = csp.get_version(release)