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

Uploaded Source

Built Distribution

deepmodeling_sphinx-0.3.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: deepmodeling_sphinx-0.3.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for deepmodeling_sphinx-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ed3b8a121e7faf175971f32375997a33cff72bb6f3f71bd8e31d47e10e8ab2e9
MD5 59cf2956bbc2e9497e2319e2ba1ac6e5
BLAKE2b-256 b3b7636fae68da3b35f2bffe5be8381a8f75fb2ac9e7b0e0a8729c94b3234aab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deepmodeling_sphinx-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4c2141801c9069acaea621c42d26da02d59cc5ca1fd43188ec4eab80e7af061a
MD5 56670d9c3559cad376d0a4f93815074b
BLAKE2b-256 1ce690069335306b636d1912e2e6338adbf81a6cb5e5c090712c0d60926d3f44

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