Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alcarazzam/sphinx_theme_material

Material based python sphinx theme
https://github.com/alcarazzam/sphinx_theme_material

material-design python sphinx sphinx-doc sphinx-theme

Last synced: 2 months ago
JSON representation

Material based python sphinx theme

Awesome Lists containing this project

README

        

Material theme
==============

[![CI status](https://github.com/m-alzam/sphinx_theme_material/workflows/CI/badge.svg)](https://github.com/m-alzam/sphinx_theme_material/actions?query=workflow%3ACI)
[![PyPI](https://img.shields.io/pypi/v/sphinx-theme-material)](https://pypi.org/project/sphinx-theme-material/)
![PyPI - Status](https://img.shields.io/pypi/status/sphinx-theme-material)

This is a material based sphinx theme. To use, first install the package:

pip3 install -U sphinx-theme-material

Then, in your ``conf.py`` file, change the ``html_theme`` variable to:

html_theme = 'material'

And re-build your doc. Enjoy!

Features
--------
- Dark theme
- Responsive layout. Mobile friendly
- Google Analytics support with IP anonymize

Theme variables
---------------
- ``theme_primary``: The primary color for the theme. Default to ``#6200ee``
- ``theme_secondary``: The secondary color for the theme. Default to ``#018786``
- ``analytics_id``: The Google Analytics ID

Contribute
----------
This project in under development. If you have ideas or suggestions, please open
a issue or send a pull request. Contributions are welcome!