Skip to main content

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.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

sphinxjp.themecore-0.1.1.tar.gz (6.2 kB view details)

Uploaded Source

File details

Details for the file sphinxjp.themecore-0.1.1.tar.gz.

File metadata

File hashes

Hashes for sphinxjp.themecore-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2afeb2842dc1d1cc3a3a9e89449aaf9261d4ced57e5f2e9c7c4d466256cd3540
MD5 3693ad2273678eab59a0d4180e356ca9
BLAKE2b-256 a4e05698a3bfeeba1a63d74bf6e8e1392ad3a77e2009da1575dbe6f887a5aa1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page