Sphinx theme for groundwork projects (Based on flask_theme)
Project description
b’groundwork-sphinx-themen=======================nnThis repository contains sphinx styles, which are use by most groundwork related projects.nIt is a derivative of Kenneth Reitz's themes for his projects and of Mitsuhiko's themes for Flask and Flask relatednprojects. To use this style in your Sphinx documentation, follow this guide:nn1. Install the package using pip: pip install groundwork-sphinx-themenn2. Add this to conf.py:nn .. code-block:: pythonnn html_theme = 'groundwork'nnConfigurationn————-nThe groundwork-sphinx-theme provides the following configuration parameters:nn * sidebar_width: Allows the user to set the sidebar width in pixels. Good for deeply nested TOCs (Default: 220x)n * stickysidbar: If True it makes the sidebar always visible if pages get longer (Default: True)n * stickysidbarscrollable: Makes the sticky sidebar scrollable in small browser windows (Default: False)n * contribute: If True, a contribute-area with github-buttons is shown inside the sidebarn * github_user: Used the for github follow button. E.g.: useblocksn * github_fork: Used for the github fork buttons. E.g.: useblocks/groundworknnYou can change their value inside the file conf.py of your sphinx project::nn html_theme_options = {n “sidebar_width”: '240px',n “stickysidebar”: True,n “stickysidebarscrollable”: True,n “contribute”: True,n “github_fork”: “useblocks/groundwork”,n “github_user”: “useblocks”,n }nnScreenshotn———-nn.. image:: screenshot.pngn :height: 400pxn :alt: screenshot of groundwork sphinx themen :align: centern’
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for groundwork-sphinx-theme-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f078b965f4ce82e23c135b0e152db53a3abf6bd0ca98d1c40ac6533725c128c |
|
MD5 | 62ebd764c3ca0a83e9e9c748c5e950e1 |
|
BLAKE2b-256 | cc692d7702875556f96de774e87915ef6895bb986c949300d325f3dcaca3083d |