Metadata-Version: 2.1
Name: sphinx-bootstrap-theme
Version: 0.1.1
Summary: Sphinx Bootstrap Theme.
Home-page: http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html
Author: Ryan Roemer
Author-email: ryan@loose-bits.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Documentation
License-File: LICENSE.txt
Requires-Dist: distribute

b'========================\n Sphinx Bootstrap Theme\n========================\n\nThis Sphinx_ theme_ integrates the Twitter Bootstrap_ CSS / JavaScript\nframework with various layout options, hierarchical menu navigation,\nand mobile-friendly responsive design.\n\n.. _Bootstrap: http://twitter.github.com/bootstrap/\n.. _Sphinx: http://sphinx.pocoo.org/\n.. _theme: http://sphinx.pocoo.org/theming.html\n.. _PyPI: http://pypi.python.org/pypi/sphinx-bootstrap-theme/\n.. _GitHub repository: https://github.com/sphinx-bootstrap-theme/ryan-roemer\n\n\nIntroduction and Demos\n======================\nThe theme is introduced and discussed in two blog posts:\n\n* 12/09/2011 - `Twitter Bootstrap Theme for Sphinx <http://loose-bits.com/2011/12/09/sphinx-twitter-bootstrap-theme.html>`_\n* 11/19/2012 - `Sphinx Bootstrap Theme Updates - Mobile, Dropdowns, and More <http://loose-bits.com/2012/11/19/sphinx-bootstrap-theme-updates.html>`_\n\nHere is the theme in use for some of my public projects:\n\n* `Sphinx Bootstrap Theme`_: This project, with a dark top navbar, using\n  the theme option ``\'navbar_class\': "navbar navbar-inverse"``.\n* `Django Cloud Browser`_: A Django reusable app for browsering cloud\n  (e.g., Amazon Web Services S3) datastores.\n\nThe theme demo website also includes an `examples page`_ for some useful\nillustrations of getting Sphinx to play nicely with Bootstrap (also take a\nlook at the `examples source`_ for the underlying reStructuredText).\n\n.. _Sphinx Bootstrap Theme: http://ryan-roemer.github.com/sphinx-bootstrap-theme\n.. _examples page: http://ryan-roemer.github.com/sphinx-bootstrap-theme/examples.html\n.. _examples source: http://ryan-roemer.github.com/sphinx-bootstrap-theme/_sources/examples.txt\n.. _Django Cloud Browser: http://ryan-roemer.github.com/django-cloud-browser\n\n\nInstallation\n============\nThe theme can be installed from PyPI_ or downloaded as a zip file from\nGitHub.\n\nInstall from PyPI\n-----------------\nInstallation from PyPI_ is fairly straightforward:\n\n1. Install the package::\n\n      $ pip install sphinx_bootstrap_theme\n\n2. Edit the "conf.py" configuration file to point to the bootstrap theme::\n\n      # At the top.\n      import sphinx_bootstrap_theme\n\n      # ...\n\n      # Activate the theme.\n      html_theme = \'bootstrap\'\n      html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()\n\nDownload from GitHub\n--------------------\nTo install the theme from the `GitHub repository`_, download the theme\nbundle and update your configuration:\n\n1. Create a "_themes" directory in your project source root.\n2. Get the "bootstrap" theme either as raw files or as a zipfile from\n   the repository.\n\n   a. Most current way is to just clone this repo or download the full\n      repo source and move the "bootstrap" directory to "_themes".\n   b. Alternatively, there are some prepackaged theme zip files (containing\n      only the theme files), which can be read directly by Sphinx. See the\n      repo downloads_ page for available packages. Then download\n      "bootstrap.zip"::\n\n        $ cd /path/to/_themes\n        $ wget https://github.com/downloads/ryan-roemer/sphinx-bootstrap-theme/bootstrap.zip\n\n      In addition to the "current" release, the GitHub zipfiles have either git\n      hash releases (for development builds) or tags for official tagged\n      releases. E.g.::\n\n        bootstrap.zip\n        bootstrap-v0.1.1.zip\n        bootstrap-f51d73491e9bae68eb1b1c57059d9e0ece03d125.zip\n\n3. Edit the "conf.py" configuration file to point to the bootstrap theme::\n\n      # Activate the theme.\n      sys.path.append(os.path.abspath(\'_themes\'))\n      html_theme = \'bootstrap\'\n      html_theme_path = [\'_themes\']\n\n.. _downloads: https://github.com/ryan-roemer/sphinx-bootstrap-theme/downloads\n\n\nCustomization\n=============\nThe theme can be further customized with the following options by editing\nthe "conf.py" configuration::\n\n    # (Optional) Use a shorter name to conserve nav. bar space.\n    html_short_title = "Demo"\n\n    # (Optional) Logo. Should be exactly 24x24 px to fit the nav. bar.\n    # Path should be relative to the static files directory.\n    html_logo = "my_logo.png"\n\n    # Theme options are theme-specific and customize the look and feel of a\n    # theme further.\n    html_theme_options = {\n        # HTML navbar class (Default: "navbar") to attach to <div> element.\n        # For black navbar, do "navbar navbar-inverse"\n        \'navbar_class\': "navbar navbar-inverse",\n\n        # Fix navigation bar to top of page?\n        # Values: "true" (default) or "false"\n        \'navbar_fixed_top\': "true",\n\n        # Location of link to source.\n        # Options are "nav" (default), "footer" or anything else to exclude.\n        \'source_link_position\': "nav",\n    }\n\nTheme Notes\n===========\nSphinx\n------\nThe theme places the global TOC, local TOC, navigation (prev, next) and\nsource links all in the top Bootstrap navigation bar, along with the Sphinx\nsearch bar on the left side.\n\nThe global (site-wide) table of contents is the "Site" navigation dropdown,\nwhich is a multi-level deep rendering of the ``toctree`` for the entire site.\nThe local (page-level) table of contents is the "Page" navigation dropdown,\nwhich is a multi-level rendering of the current page\'s ``toc``.\n\n\nBootstrap\n---------\nThe theme uses Twitter Bootstrap v2.2.1. You can override any static JS/CSS\nfiles by dropping different versions in your Sphinx "_static" directory.\n\n\nLicenses\n========\nSphinx Bootstrap Theme is licensed under the MIT_ license.\n\nTwitter Bootstrap is licensed under the Apache_ license.\n\n.. _MIT: https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/LICENSE.txt\n.. _Apache: https://github.com/twitter/bootstrap/blob/master/LICENSE\n'

