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
Built Distribution
File details
Details for the file deepmodeling_sphinx-0.2.10.tar.gz
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.10.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 994f0321d725b7b2c1f950b426a8e6610a22da974c07ff462bcf723f8791e2ec |
|
MD5 | df926598bbcdd6264b5b6c96bf204fb2 |
|
BLAKE2b-256 | 2882c182c4445105aafc6bdef7a9d098b663ac1784036ed6a1b5def578d1698b |
File details
Details for the file deepmodeling_sphinx-0.2.10-py3-none-any.whl
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.10-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820e30bdc89e77160a7c41ab9c88f1a6740793855aaf4790433fc0165d7b1beb |
|
MD5 | 6733e18acd4a63ce70b050ce99e7cd85 |
|
BLAKE2b-256 | d83c14bd41ec526143a0260ed35ad2850015b552e40e85b0ea2fc8fd6bdd4a4f |