Skip to main content

Sphinx extension for DeepModeling projects.

Project description

deepmodeling_sphinx

pip install Documentation Status

This package should be used in all sphinx projects under the @deepmodeling organization.

Features

  • Add the DeepModeling banner
  • Add the ICP number to the footer
  • Minify HTML, Javascript, and CSS files
  • Supports dark mode for both the banner and the RTD theme

How to use it

Setup

Add deepmodeling_sphinx to the requirements, as well as the extensions of conf.py:

extensions = [
    'deepmodeling_sphinx',
]

Projects outside DeepModeling can also use this extension but disable DeepModeling specific styles.

# default: True
enable_deepmodeling = False

Render list of authors

The following directive can be used to render list of authors from git shortlog:

.. git-shortlog-authors::

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

deepmodeling_sphinx-0.2.9.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

deepmodeling_sphinx-0.2.9-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file deepmodeling_sphinx-0.2.9.tar.gz.

File metadata

  • Download URL: deepmodeling_sphinx-0.2.9.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for deepmodeling_sphinx-0.2.9.tar.gz
Algorithm Hash digest
SHA256 20d39767156a89d078d0eb32791f6483bd394448fbb04afa7c215013adae584f
MD5 2372c46dd2b5214c9f5fe88bbaf01805
BLAKE2b-256 354d27d9833146dc4ad930f1dfebf6a68ecec0a6528616c62a9f67bedc2bda51

See more details on using hashes here.

File details

Details for the file deepmodeling_sphinx-0.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for deepmodeling_sphinx-0.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 185e369d89cae00edcd2e954db80667a7470e163d715062b934cdd5ff1e72447
MD5 8b9a5fae06f0b498497733eb31d879cb
BLAKE2b-256 06a6a4714748f546ccb77a1cb4367b953c82c7fc7c36a40aaad150900189ca95

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