Giter Club home page Giter Club logo

sphinx_rtd_dark_mode's Introduction

Sphinx RTD Theme Dark Mode

Build Status PyPi version PyPI pyversions PyPI download month License PRs Welcome

This Sphinx extension adds a toggleable dark mode to the Read the Docs theme. A little icon is added in the bottom right hand corner which allows the user to switch between light or dark mode.

Installation

Python 3.4 or higher is required

To install dark mode for the RTD theme, enter the following command into your terminal or command prompt.

# Linux/OSX
python3 -m pip install sphinx-rtd-dark-mode

# Windows
py -3 -m pip install sphinx-rtd-dark-mode

Using the Extension

To use the extension, you will need to add it to the extensions array in your config file (conf.py).

extensions = ["sphinx_rtd_dark_mode"]

You will also need to be using the Sphinx RTD theme for this to work. If your not, then the extension will change it for you as it only works for that theme.

Config

Below are the options that are customizeable for the extension. Currently, there is only one option available to configure.

License

The Sphinx RTD Dark Mode module for Python is licensed under an MIT license.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.