readthedocs / apitheme

Sphinx API documentation theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Read the Docs Sphinx API Theme

The Read the Docs API Theme is a mobile friendly theme similar to the official Read the Docs theme but designed specifically for API documentation.

Currently, the only way to install this theme is by forking this repository (see below).

Symlink or subtree the apitheme/apitheme repository into your documentation at docs/_themes/sphinx_rtd_theme then add the following two settings to your Sphinx conf.py file:

html_theme = "apitheme"
html_theme_path = ["_themes", ]

There are currently no way to customize the theme.

There have been no releases so far.

  1. Install sphinx into a virtual environment.
pip install sphinx
  1. Install node, bower and gulp.
// Install node
brew install node

// Install bower and grunt
npm install -g bower gulp

// Now that everything is installed, let's install the theme dependecies.
npm install
  1. Now that our environment is set up, make sure you're in your virtual environment, go to this repository in your terminal and run grunt:
gulp

About

Sphinx API documentation theme

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 90.0%Language:CSS 6.5%Language:HTML 2.2%Language:Makefile 0.6%Language:Python 0.6%