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.8.tar.gz (20.3 kB view details)

Uploaded Source

Built Distribution

deepmodeling_sphinx-0.2.8-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmodeling_sphinx-0.2.8.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for deepmodeling_sphinx-0.2.8.tar.gz
Algorithm Hash digest
SHA256 ddd927abc166e3f521c1b6afe28149eb5a4fbd75ce9544923dfef33c7b0351ce
MD5 6f3543da39302a67860475e3235e4519
BLAKE2b-256 2368b1a44b8300c3c9c8b7b768967b7556b2f72a92ab65975984da9060ad8a83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepmodeling_sphinx-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 041564da50107eee0d403113b799bcdbf07ae124066d10a1d6fb18ba879ed39c
MD5 56b7e1da528553e47ccc16ad8225eb5f
BLAKE2b-256 77ab6d245d30f25afa30ff8b8c51ad8400e3c7315138c35a50fdd9cd8f1994b6

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