A Sphinx-doc theme based on Vuepress
Project description
romnn's sphinx press theme
See a live demo.
This is a fork of the original sphinx_press_theme by schettino72, which is a modern and responsive theme for python's Sphinx documentation generator.
The theme is based on VuePress and uses Vue.js+ Stylus with webpack.
Usage
First install the theme:
pip install romnnn_sphinx_press_theme
To use the theme, set the theme name to press
in your sphinx project's conf.py
:
html_theme = "press"
For more information, see the Sphinx theming docs.
Development
-
Build the web assets:
cd ui npm run build
The generated
theme.css
,theme.js
andtheme-vendors.js
will be linked into the theme underromnn_sphinx_press_theme/static
. -
Install theme locally:
pip install -e .
-
Review the theme by building the theme's documentation under
docs/
:make docs
Generated html will be in
docs/build/html
.
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 romnnn_sphinx_press_theme-0.5.11.tar.gz
.
File metadata
- Download URL: romnnn_sphinx_press_theme-0.5.11.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 385b3a9ce865ca995b43765e5730078c214db2563f96d17ab12ca7673134ca03 |
|
MD5 | 41dc3cc57cd93c13a94ecff012ccc705 |
|
BLAKE2b-256 | 7c35870c6296e32f9ab8ac3ee8630363e28ce359e10a73d1fc7a83f1d4a92209 |
File details
Details for the file romnnn_sphinx_press_theme-0.5.11-py3-none-any.whl
.
File metadata
- Download URL: romnnn_sphinx_press_theme-0.5.11-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb9c84bab62ad916a6232f841aac2ed9d4a8b02e14f20023c030dca1c2c23224 |
|
MD5 | 4945da1d2483b37300443733f9ddcc6e |
|
BLAKE2b-256 | c509207a1be092abc99df9175935c42f57a000f92cf49f4d923e51ff76c9f408 |