A sphinx theme plugin support extension. #sphinxjp
Project description
A sphinx theme plugin extension.
Features
provide theme template collection by using setuptools plugin mechanism.
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.
Requirements
Python 2.4 or later (not support 3.x)
sphinx 1.0.x
License
Licensed under the MIT license . See the LICENSE file for specific terms.
History
0.1.2 (2011/7/9)
fixed issue #1: html_theme_path definition in conf.py discard all sphinxjp.themes.* paths.
0.1.1 (2011/7/6)
fixed namespace package declaration missing, thank you togakushi!
0.1.0 (2011/2/6)
first release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file sphinxjp.themecore-0.1.2.tar.gz
.
File metadata
- Download URL: sphinxjp.themecore-0.1.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e78f1af45c9bf9ddfc52cf4dfd65cef9fd07115c71578c319662900d392ca3f |
|
MD5 | 89d548bdfb33c870f31e2bfdfde6039a |
|
BLAKE2b-256 | d2a6215d00d4e8308c4e51d06c7d0337513f1cde4b20808e26643865f1054e07 |