Sphinx theme based on sphinx_nervproject_theme.
  • Less 72.8%
  • HTML 18.7%
  • Python 4.3%
  • CSS 3.7%
  • JavaScript 0.5%
Find a file
2023-08-17 00:02:43 +02:00
demo Refactoring CSS/JS 2020-06-20 02:22:47 +02:00
docs Refactoring CSS/JS 2020-06-20 02:22:47 +02:00
sphinx_it4freedom_theme Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00
ui Better print support 2020-07-04 19:55:16 +02:00
.gitignore Refactoring CSS/JS 2020-06-20 02:22:47 +02:00
AUTHORS Initial release 2020-05-23 22:10:30 +02:00
babel.cfg Initial release 2020-05-23 22:10:30 +02:00
CHANGES Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00
LICENSE Initial release 2020-05-23 22:10:30 +02:00
LICENSE-de Initial release 2020-05-23 22:10:30 +02:00
LICENSE-fr Initial release 2020-05-23 22:10:30 +02:00
LICENSE-nl Initial release 2020-05-23 22:10:30 +02:00
LICENSE_FOR_FONTAWESOME.txt Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00
package.json Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00
pyproject.toml Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00
README.rst Refactoring CSS/JS 2020-06-20 02:22:47 +02:00
yarn.lock Sphinx 7 & python 3.11 support 2023-08-17 00:02:43 +02:00

Sphinx it4freedom Theme

A modern responsive theme for python's Sphinx documentation generator based on sphinx_press_theme and ablog.

This theme is based on VuePress. It uses Vue.js and LessCSS managed by webpack through vue-cli.

Usage

On Sphinx project's conf.py: set the theme name to it4freedom.

See details on Sphinx theming docs.

Development

To rebuild web assets:

Install theme locally with pip install -e ..

docs folder contains theme's own documentantion.

Compatibility

This theme needs CSS vars enabled in the browser, so it doesn't work on IE. Four color variations are available :

  • light low contrast (default) ;

  • light high contrast ;

  • dark low contrast ;

  • dark high contrast.

The good one is used based on prefers-contrast and prefers-color-scheme media queries. This is automatically done by a compatible browser. If not, the default theme is used. Some browsers need manual configuration like Chromium on Linux (a flag to enable for all websites).

Example

See the IT4Freedom's web site