deepmodeling / deepmodeling_sphinx

Sphinx extension for DeepModeling projects

Home Page:https://docs.deepmodeling.com/projects/deepmodeling-sphinx/

Repository from Github https://github.comdeepmodeling/deepmodeling_sphinxRepository from Github https://github.comdeepmodeling/deepmodeling_sphinx

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::

About

Sphinx extension for DeepModeling projects

https://docs.deepmodeling.com/projects/deepmodeling-sphinx/

License:GNU Lesser General Public License v3.0


Languages

Language:CSS 62.9%Language:Python 27.1%Language:HTML 6.2%Language:JavaScript 3.8%