Debian Codegraph @

astropy_sphinx_theme.egg-info/PKG-INFO

raw
1 Metadata-Version: 2.4
2 Name: astropy-sphinx-theme
3 Version: 3.2
4 Summary: The sphinx theme for Astropy and affiliated packages.
5 Author-email: The Astropy Developers <[email protected]>
6 License-Expression: BSD-3-Clause
7 Project-URL: Homepage, https://github.com/astropy/astropy-sphinx-theme
8 Classifier: Intended Audience :: Developers
9 Classifier: Operating System :: OS Independent
10 Classifier: Programming Language :: Python
11 Requires-Python: >=3.10
12 Description-Content-Type: text/x-rst
13 License-File: LICENSE.rst
14 Requires-Dist: sphinx>6
15 Requires-Dist: sunpy-sphinx-theme>=2.1.1
16 Provides-Extra: test
17 Requires-Dist: packaging; extra == "test"
18 Requires-Dist: pytest>=9; extra == "test"
19 Provides-Extra: docs
20 Requires-Dist: sphinx; extra == "docs"
21 Dynamic: license-file
22
23 Astropy Sphinx Theme(s)
24 -----------------------
25
26 .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.20229586.svg
27 :target: https://doi.org/10.5281/zenodo.20229586
28 :alt: Zenodo DOI
29
30 This is the repository for the default Astropy project documentation
31 theme(s). To use this theme, simply install this package then add the
32 following line to your documentation's ``conf.py`` file:
33
34 .. code:: python
35
36 html_theme = 'bootstrap-astropy'
37
38 This requires Sphinx 1.6 or later to work properly. For older versions
39 of Sphinx, you will need to do:
40
41 .. code:: python
42
43 import astropy_sphinx_theme
44 html_theme_path = astropy_sphinx_theme.get_html_theme_path()
45 html_theme = 'bootstrap-astropy'
46
47 ``bootstrap-astropy`` is the only theme that is currently available, but
48 the structure of the package allows more themes to be added in future if
49 needed.
50
51 Several options for the theme can be set in the ``conf.py`` file:
52
53 .. code:: python
54
55 html_theme_options = {
56 'logotext1': 'packagename', # white, semi-bold
57 'logotext2': '', # orange, light
58 'logotext3': ':docs', # white, light
59 'astropy_project_menubar': True
60 }
61
62 The ``logotext?`` options can be used to customize the top left logo, while
63 the ``astropy_project_menubar`` option can be set to ``True`` for packages
64 that are managed by the project itself (this will add links to find out more
65 about the Astropy project, about the team, and so on).
66
67 .. image:: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/main.svg?style=svg
68 :target: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/main