mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-16 06:16:50 +08:00

* This is still broken. * Rename sphinx_rtd_theme so it doesn't pickup locally installed ones * Add a hack to theme.css to get around inliner bug. * Some unrelated fixups in common/waf.py Unfortunatly several dozen fixes got merged into this.
18 lines
371 B
Python
18 lines
371 B
Python
"""Sphinx ReadTheDocs theme.
|
|
|
|
From https://github.com/ryan-roemer/sphinx-bootstrap-theme.
|
|
|
|
"""
|
|
import os
|
|
|
|
VERSION = (0, 1, 9)
|
|
|
|
__version__ = ".".join(str(v) for v in VERSION)
|
|
__version_full__ = __version__
|
|
|
|
|
|
def get_html_theme_path():
|
|
"""Return list of HTML theme paths."""
|
|
cur_dir = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
|
|
return cur_dir
|