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.9.tar.gz
(20.5 kB
view details)
Built Distribution
File details
Details for the file deepmodeling_sphinx-0.2.9.tar.gz
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.9.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20d39767156a89d078d0eb32791f6483bd394448fbb04afa7c215013adae584f |
|
MD5 | 2372c46dd2b5214c9f5fe88bbaf01805 |
|
BLAKE2b-256 | 354d27d9833146dc4ad930f1dfebf6a68ecec0a6528616c62a9f67bedc2bda51 |
File details
Details for the file deepmodeling_sphinx-0.2.9-py3-none-any.whl
.
File metadata
- Download URL: deepmodeling_sphinx-0.2.9-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 185e369d89cae00edcd2e954db80667a7470e163d715062b934cdd5ff1e72447 |
|
MD5 | 8b9a5fae06f0b498497733eb31d879cb |
|
BLAKE2b-256 | 06a6a4714748f546ccb77a1cb4367b953c82c7fc7c36a40aaad150900189ca95 |