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.3.0.tar.gz
(20.9 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3b8a121e7faf175971f32375997a33cff72bb6f3f71bd8e31d47e10e8ab2e9 |
|
MD5 | 59cf2956bbc2e9497e2319e2ba1ac6e5 |
|
BLAKE2b-256 | b3b7636fae68da3b35f2bffe5be8381a8f75fb2ac9e7b0e0a8729c94b3234aab |
File details
Details for the file deepmodeling_sphinx-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: deepmodeling_sphinx-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c2141801c9069acaea621c42d26da02d59cc5ca1fd43188ec4eab80e7af061a |
|
MD5 | 56670d9c3559cad376d0a4f93815074b |
|
BLAKE2b-256 | 1ce690069335306b636d1912e2e6338adbf81a6cb5e5c090712c0d60926d3f44 |