Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1.69 KB

File metadata and controls

63 lines (44 loc) · 1.69 KB

sphinx-bootstrap

Sphinx theme adapted from Twitter's Bootstrap

Demo

Projects using it:

Install

  1. Copy the sphinx-boostrap fold to your themes directory.

  2. Add the following lines to your config.py file:

    # The theme to use for HTML and HTML Help pages.  See the documentation for
    # a list of builtin themes.
    html_theme = 'sphinx-bootstrap'
    
    # Theme options are theme-specific and customize the look and feel of a theme
    # further.  For a list of options available for each theme, see the
    # documentation.
    html_theme_options = {
        'analytics_code': 'UA-00000000-1',
        'github_user': 'scotch',
        'github_repo': 'sphinx-bootstrap',
        'twitter_username': 'scotchmedia',
        'home_url': 'http://code.scotchmedia.com/sphinx-bootstrap',
        'disqus_shortname': 'scotchmedia',
    }
    

Building Instructions

When you first clone the repo, run:

git submodule init
git submodule update

Then, to update the CSS files:

make build

License

sphinx-bootstrap

Code licensed under the Apache License v2.0. Documentation licensed under CC BY 3.0

Twitter's Bootstrap

Code licensed under the Apache License v2.0. Documentation licensed under CC BY 3.0