File: PKG-INFO

package info (click to toggle)
astropy-sphinx-theme 2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: javascript: 161; python: 55; makefile: 4
file content (65 lines) | stat: -rw-r--r-- 2,288 bytes parent folder | download | duplicates (2)
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
Metadata-Version: 2.1
Name: astropy-sphinx-theme
Version: 2.0
Summary: The sphinx theme for Astropy and affiliated packages.
Home-page: https://github.com/astropy/astropy-sphinx-theme
Author: The Astropy Developers
Author-email: astropy.team@gmail.com
License: BSD
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
Requires-Dist: setuptools>=30.3.0
Provides-Extra: test
Requires-Dist: packaging; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: sphinx; extra == "test"

Astropy Sphinx Theme(s)
-----------------------

This is the repository for the default Astropy project documentation
theme(s). To use this theme, simply install this package then add the
following line to your documentation's ``conf.py`` file:

.. code:: python

    html_theme = 'bootstrap-astropy'

This requires Sphinx 1.6 or later to work properly. For older versions
of Sphinx, you will need to do:

.. code:: python

    import astropy_sphinx_theme
    html_theme_path = astropy_sphinx_theme.get_html_theme_path()
    html_theme = 'bootstrap-astropy'

``bootstrap-astropy`` is the only theme that is currently available, but
the structure of the package allows more themes to be added in future if
needed.

Several options for the theme can be set in the ``conf.py`` file:

.. code:: python

  html_theme_options = {
      'logotext1': 'packagename',  # white,  semi-bold
      'logotext2': '',  # orange, light
      'logotext3': ':docs',   # white,  light
      'astropy_project_menubar': True
      }

The ``logotext?`` options can be used to customize the top left logo, while
the ``astropy_project_menubar`` option can be set to ``True`` for packages
that are managed by the project itself (this will add links to find out more
about the Astropy project, about the team, and so on).

.. image:: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/main.svg?style=svg
    :target: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/main