This file is indexed.

/usr/lib/python2.7/dist-packages/sphinx_bootstrap_theme-0.4.13.egg-info/PKG-INFO is in python-sphinx-bootstrap-theme 0.4.13-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
Metadata-Version: 1.1
Name: sphinx-bootstrap-theme
Version: 0.4.13
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
Description: ========================
         Sphinx Bootstrap Theme
        ========================
        
        This Sphinx_ theme_ integrates the Bootstrap_ CSS / JavaScript
        framework with various layout options, hierarchical menu navigation,
        and mobile-friendly responsive design. It is configurable, extensible,
        and can use any number of different Bootswatch_ CSS themes.
        
        .. _Bootstrap: http://getbootstrap.com/
        .. _Sphinx: http://sphinx-doc.org/
        .. _theme: http://sphinx-doc.org/theming.html
        .. _PyPI: http://pypi.python.org/pypi/sphinx-bootstrap-theme/
        .. _GitHub repository: https://github.com/ryan-roemer/sphinx-bootstrap-theme
        
        
        Introduction and Demos
        ======================
        The theme is introduced and discussed in the following posts:
        
        * 12/09/2011 - `Twitter Bootstrap Theme for Sphinx <http://loose-bits.com/2011/12/09/sphinx-twitter-bootstrap-theme.html>`_
        * 11/19/2012 - `Sphinx Bootstrap Theme Updates - Mobile, Dropdowns, and More <http://loose-bits.com/2012/11/19/sphinx-bootstrap-theme-updates.html>`_
        * 2/12/2013 - `Sphinx Bootstrap Theme 0.1.6 - Bootstrap and Other Updates <http://loose-bits.com/2013/02/12/sphinx-bootstrap-theme-updates.html>`_
        * 4/10/2013 - `Sphinx Bootstrap Theme 0.2.0 - Now with Bootswatch! <http://loose-bits.com/2013/04/10/sphinx-bootstrap-theme-bootswatch.html>`_
        * 9/8/2013 - `Sphinx Bootstrap Theme 0.3.0 - Bootstrap v3 and more! <http://loose-bits.com/2013/09/08/sphinx-bootstrap-theme-bootstrap-3.html>`_
        
        Examples of the theme in use for some public projects:
        
        * `Sphinx Bootstrap Theme`_: This project, with the theme option
          ``'bootswatch_theme': "sandstone"`` to use the "Sandstone_" Bootswatch_ theme.
        * `Django Cloud Browser`_: A Django reusable app for browsing cloud
          datastores (e.g., Amazon Web Services S3).
        * `C++ Format`_: Small, safe and fast formatting library for C++.
        
        The theme demo website also includes an `examples page`_ for some useful
        illustrations of getting Sphinx to play nicely with Bootstrap (also take a
        look at the `examples source`_ for the underlying reStructuredText).
        
        .. _Bootswatch: http://bootswatch.com
        .. _United: http://bootswatch.com/united
        .. _Flatly: http://bootswatch.com/flatly
        .. _Sandstone: http://bootswatch.com/sandstone
        .. _Sphinx Bootstrap Theme: http://ryan-roemer.github.com/sphinx-bootstrap-theme
        .. _examples page: http://ryan-roemer.github.com/sphinx-bootstrap-theme/examples.html
        .. _examples source: http://ryan-roemer.github.com/sphinx-bootstrap-theme/_sources/examples.txt
        .. _Django Cloud Browser: http://ryan-roemer.github.com/django-cloud-browser
        .. _C++ Format: http://cppformat.readthedocs.org
        
        
        Installation
        ============
        Installation from PyPI_ is fairly straightforward:
        
        1. Install the package::
        
              $ pip install sphinx_bootstrap_theme
        
        2. Edit the "conf.py" configuration file to point to the bootstrap theme::
        
              # At the top.
              import sphinx_bootstrap_theme
        
              # ...
        
              # Activate the theme.
              html_theme = 'bootstrap'
              html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
        
        
        Customization
        =============
        The can be customized in varying ways (some a little more work than others).
        
        Theme Options
        -------------
        The theme provides many built-in options that can be configured by editing
        your "conf.py" file::
        
            # (Optional) Logo. Should be small enough to fit the navbar (ideally 24x24).
            # Path should be relative to the ``_static`` files directory.
            html_logo = "my_logo.png"
        
            # Theme options are theme-specific and customize the look and feel of a
            # theme further.
            html_theme_options = {
                # Navigation bar title. (Default: ``project`` value)
                'navbar_title': "Demo",
        
                # Tab name for entire site. (Default: "Site")
                'navbar_site_name': "Site",
        
                # A list of tuples containing pages or urls to link to.
                # Valid tuples should be in the following forms:
                #    (name, page)                 # a link to a page
                #    (name, "/aa/bb", 1)          # a link to an arbitrary relative url
                #    (name, "http://example.com", True) # arbitrary absolute url
                # Note the "1" or "True" value above as the third argument to indicate
                # an arbitrary url.
                'navbar_links': [
                    ("Examples", "examples"),
                    ("Link", "http://example.com", True),
                ],
        
                # Render the next and previous page links in navbar. (Default: true)
                'navbar_sidebarrel': True,
        
                # Render the current pages TOC in the navbar. (Default: true)
                'navbar_pagenav': True,
        
                # Tab name for the current pages TOC. (Default: "Page")
                'navbar_pagenav_name': "Page",
        
                # Global TOC depth for "site" navbar tab. (Default: 1)
                # Switching to -1 shows all levels.
                'globaltoc_depth': 2,
        
                # Include hidden TOCs in Site navbar?
                #
                # Note: If this is "false", you cannot have mixed ``:hidden:`` and
                # non-hidden ``toctree`` directives in the same page, or else the build
                # will break.
                #
                # Values: "true" (default) or "false"
                'globaltoc_includehidden': "true",
        
                # HTML navbar class (Default: "navbar") to attach to <div> element.
                # For black navbar, do "navbar navbar-inverse"
                'navbar_class': "navbar navbar-inverse",
        
                # Fix navigation bar to top of page?
                # Values: "true" (default) or "false"
                'navbar_fixed_top': "true",
        
                # Location of link to source.
                # Options are "nav" (default), "footer" or anything else to exclude.
                'source_link_position': "nav",
        
                # Bootswatch (http://bootswatch.com/) theme.
                #
                # Options are nothing (default) or the name of a valid theme
                # such as "amelia" or "cosmo".
                'bootswatch_theme': "united",
        
                # Choose Bootstrap version.
                # Values: "3" (default) or "2" (in quotes)
                'bootstrap_version': "3",
            }
        
        Note for the navigation bar title that if you don't specify a theme option of
        ``navbar_title`` that the "conf.py" ``project`` string will be used. We don't
        use the ``html_title`` or ``html_short_title`` values because by default those
        both contain version strings, which the navigation bar treats differently.
        
        Bootstrap Versions
        ------------------
        The theme supports Bootstrap ``v2.3.2`` and ``v3.3.4`` via the
        ``bootstrap_version`` theme option (of ``"2"`` or ``"3"``). Some notes
        regarding version differences:
        
        * Bootstrap 3 has dropped support for `sub-menus`_, so while supported by this
          theme, they will not show up in site or page menus.
        * Internally, "navbar.html" is the Sphinx template used for Bootstrap v3 and
          "navbar-2.html" is the template used for v2.
        
        .. _`sub-menus`: http://stackoverflow.com/questions/18023493
        
        Extending "layout.html"
        -----------------------
        As a more "hands on" approach to customization, you can override any template
        in this Sphinx theme or any others. A good candidate for changes is
        "layout.html", which provides most of the look and feel. First, take a look
        at the "layout.html" file that the theme provides, and figure out
        what you need to override. As a side note, we have some theme-specific
        enhancements, such as the ``navbarextra`` template block for additional
        content in the navbar.
        
        Then, create your own "_templates" directory and "layout.html" file (assuming
        you build from a "source" directory)::
        
            $ mkdir source/_templates
            $ touch source/_templates/layout.html
        
        Then, configure your "conf.py"::
        
            templates_path = ['_templates']
        
        Finally, edit your override file "source/_templates/layout.html"::
        
            {# Import the theme's layout. #}
            {% extends "!layout.html" %}
        
            {# Add some extra stuff before and use existing with 'super()' call. #}
            {% block footer %}
              <h2>My footer of awesomeness.</h2>
              {{ super() }}
            {% endblock %}
        
        
        Adding Custom CSS
        -----------------
        Alternately, you could add your own custom static media directory with a CSS
        file to override a style, which in the demo would be something like::
        
            $ mkdir source/_static
            $ touch source/_static/my-styles.css
        
        Then, in "conf.py", edit this line::
        
            html_static_path = ["_static"]
        
        You will also need the override template "source/_templates/layout.html" file
        configured as above, but with the following code::
        
            {# Import the theme's layout. #}
            {% extends "!layout.html" %}
        
            {# Custom CSS overrides #}
            {% set bootswatch_css_custom = ['_static/my-styles.css'] %}
        
        Then, in the new file "source/_static/my-styles.css", add any appropriate
        styling, e.g. a bold background color::
        
            footer {
              background-color: red;
            }
        
        
        Theme Notes
        ===========
        Sphinx
        ------
        The theme places the global TOC, local TOC, navigation (prev, next) and
        source links all in the top Bootstrap navigation bar, along with the Sphinx
        search bar on the left side.
        
        The global (site-wide) table of contents is the "Site" navigation dropdown,
        which is a configurable level rendering of the ``toctree`` for the entire site.
        The local (page-level) table of contents is the "Page" navigation dropdown,
        which is a multi-level rendering of the current page's ``toc``.
        
        
        Bootstrap
        ---------
        The theme offers Bootstrap v2.x and v3.x, both of which rely on
        jQuery v.1.9.x. As the jQuery that Bootstrap wants can radically depart from
        the jQuery Sphinx internal libraries use, the library from this theme is
        integrated via ``noConflict()`` as ``$jqTheme``.
        
        You can override any static JS/CSS files by dropping different versions in your
        Sphinx "_static" directory.
        
        
        Contributing
        ============
        Contributions to this project are most welcome. Please make sure that the demo
        site builds cleanly, and looks like what you want. First build the demo::
        
            $ fab clean && fab demo
        
        Then, view the site in the development server::
        
            $ fab demo_server
        
        Also, if you are adding a new type of styling or Sphinx or Bootstrap construct,
        please add a usage example to the "Examples" page.
        
        **Note**: If you are in Python 3, Fabric isn't available, so we have a very
        rough Makefile in its place. Try::
        
            $ make clean && make demo
        
        Then, view the site in the development server::
        
            $ make demo_server
        
        
        Licenses
        ========
        Sphinx Bootstrap Theme is licensed under the MIT_ license.
        
        `Bootstrap v2`_ is licensed under the Apache license 2.0.
        
        `Bootstrap v3.1.0+`_ is licensed under the MIT license.
        
        .. _`MIT`: https://github.com/ryan-roemer/sphinx-bootstrap-theme/blob/master/LICENSE.txt
        .. _`Bootstrap v2`: https://github.com/twbs/bootstrap/blob/v2.3.2/LICENSE
        .. _`Bootstrap v3.1.0+`: https://github.com/twbs/bootstrap/blob/master/LICENSE
        
        
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