Registry / web-framework / sphinx-press-theme

sphinx-press-theme

JSON →
library0.9.1pypypi✓ verified 84d ago

A Sphinx-doc theme based on Vuepress. Version 0.9.1 provides a clean, modern theme for Sphinx documentation with a sidebar navigation similar to Vuepress. The library is in maintenance mode with infrequent releases.

pip install sphinx-press-theme
INSTALL
IMPORT
SIG · SPHINX-PRESS-THEME
S
sphinx-press-theme
web-frameworkpythonv0.9.1
Install
5.2s avg
Import
425ms
Disk
94MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.9.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.430s · 92.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 5.2s · import 0.420s · 93MB
94MB installed
● package 94MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

press
import sphinx_press_theme
press
The theme is not imported directly; it is configured in conf.py as 'sphinx_press_theme' via html_theme
sphinx_press_theme
html_theme = 'sphinx_press_theme'
html_theme = 'press' or 'sphinx-press-theme'
In Sphinx conf.py, set html_theme = 'sphinx_press_theme' (underscores, not hyphens)

Minimal setup: add the import and theme options to your Sphinx conf.py.

# conf.py import sphinx_press_theme html_theme = 'sphinx_press_theme' html_theme_options = { 'repository_url': 'https://github.com/your/repo', 'repository_branch': 'main', 'home_page_title': 'My Docs', 'show_prev_next': False }
Debug
Known issues
deprecatedThe repository is in maintenance mode with no active development; future Sphinx versions may break compatibility.
fix
Consider using the official Furo or PyData Sphinx Theme as a modern replacement.
affects: >=0.9.1
gotchaThe theme does not support Sphinx 7.x fully; some features like 'canonical_url' may not work.
fix
Pin Sphinx to <7.0 or test with your Sphinx version.
affects: 0.9.1
breakingIn version 0.8.0, the theme name changed from 'press' to 'sphinx_press_theme'. Old configs break.
fix
Set html_theme = 'sphinx_press_theme' instead of 'press'.
affects: >=0.8.0
Errors
Common errors & fixes
WARNING: html_theme 'sphinx_press_theme' not found
The theme package is not installed or the name is misspelled in conf.py.
fix
Run 'pip install sphinx-press-theme' and ensure html_theme = 'sphinx_press_theme' (underscores).
ModuleNotFoundError: No module named 'sphinx_press_theme'
The import is incorrect when using autodoc or similar; no need to import in conf.py for theme only.
fix
Remove the import statement; Sphinx will load the theme automatically if html_theme is set correctly.
Upgrade
Version history
0.9.1latest on PyPI · released Mar 23, 2024
Audit
Dependencies
sphinxrequiredRequired; the theme is a Sphinx extension
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
sphinx-press-theme — pip install sphinx-press-theme · libregistry