maximmenshikov / sphinx_press_theme

A sphinx-doc theme based on vuepress

Home Page:https://romnnn.github.io/sphinx_press_theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

romnnn_sphinx_press_theme

Build Status PyPI License PyPI Version PyPI Python versions

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

  1. Build the web assets:

    cd ui
    npm run build

    The generated theme.css, theme.js and theme-vendors.js will be linked into the theme under romnnn_sphinx_press_theme/static.

  2. Install theme locally:

    pip install -e .
  3. Review the theme by building the theme's documentation under docs/:

    make docs

    Generated html will be in docs/build/html.

About

A sphinx-doc theme based on vuepress

https://romnnn.github.io/sphinx_press_theme


Languages

Language:Vue 54.4%Language:HTML 16.8%Language:CSS 14.5%Language:Python 7.8%Language:JavaScript 6.0%Language:Makefile 0.5%