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
Release history Release notifications | RSS feed
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.2.tar.gz
(18.5 kB
view details)
Built Distribution
File details
Details for the file deepmodeling_sphinx-0.2.2.tar.gz
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c16ba8ac93b92955fd4aed263d0346c42c88e97d73d07a09c3fcdccf3541b2c |
|
MD5 | c48779187aacdc26694721b0bd3ee266 |
|
BLAKE2b-256 | eeec9ec8636cb7e9ff616b5e446ba77d3a820bfeb8ee1894aeed75ee53f891a9 |
File details
Details for the file deepmodeling_sphinx-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.2-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c18475889c68430a41543264c513e646d81ac1a330ff94d9d870ed848321ddcf |
|
MD5 | a72ba7eef88e8ff4432f0c7d55ab6057 |
|
BLAKE2b-256 | 1d65b3b9a96b202c357379420f7f2445d4c3638cc9d55a443eae2f4e21b09e1a |