mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
Add copy of Sphinx RTD theme so we can modify if needed and everyone has a consistent copy.
This commit is contained in:
parent
e00262c1b3
commit
1a106ac419
17 changed files with 922 additions and 6 deletions
17
docsite/_themes/srtd/__init__.py
Normal file
17
docsite/_themes/srtd/__init__.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
"""Sphinx ReadTheDocs theme.
|
||||
|
||||
From https://github.com/ryan-roemer/sphinx-bootstrap-theme.
|
||||
|
||||
"""
|
||||
import os
|
||||
|
||||
VERSION = (0, 1, 5)
|
||||
|
||||
__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
|
Loading…
Add table
Add a link
Reference in a new issue