sphinxjp.themecore is a Sphinx theme plugin extension.
Setup
Make environment with easy_install:
easy_install sphinxjp.themecore
Make your plugins
themes
If you want to integrate new theme, write sphinx_themes entry_points in your setup.py:
entry_points = """
[sphinx_themes]
path = sphinxjp.themes.s6:get_path
"""
and write get_path function that return path of Sphinx themes. Sphinx themes directory include one or more theme directories.
directives
If you want to integrate new directive, write sphinx_directives entry_points in your setup.py:
entry_points = """
[sphinx_directives]
setup = sphinxjp.themes.s6:setup_directives
"""
and write setup_directives function that receive app argument and return None. setup_directives is same as sphinx extension's setup function. See Sphinx extension document for more information.
Features:
- provide theme template collection by using setuptools plugin mechanism.
What is new in this release:
- fix fatal bug on version 0.1.2. sorry.
What is new in version 0.1.1:
- Fixed namespace package declaration missing, thank you togakushi!
Requirements:
- Python
- Sphinx
Comments not found