Skip to main content

Sphinx extension for DeepModeling projects.

Project description

deepmodeling_sphinx

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

Uploaded Source

Built Distribution

deepmodeling_sphinx-0.2.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmodeling_sphinx-0.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for deepmodeling_sphinx-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fe0e422df3a74dabb1f91a794c10fd4c6e523315029de83d16aca2a47fb36c4f
MD5 591d9b35ae29496376a51cecb1f608c5
BLAKE2b-256 ed6a0ce942fce9401bdb1852d2691f73d7ec1fdc68b549f3d5700f2722c70fb1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepmodeling_sphinx-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a07ddb1ad2428018af09ccea9355548970e6265ac0be2756b2c0340e495bff8
MD5 db75a8265d8d6a2da3ed2b823545239d
BLAKE2b-256 7c7fb93238be424cce54ae94e6f5a49f70bcd52bb35eb963eb9b1558a7038c78

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