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/master.svg?style=svg
:target: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/master
Raw data
{
"_id": null,
"home_page": "https://github.com/astropy/astropy-sphinx-theme",
"name": "astropy-sphinx-theme",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "The Astropy Developers",
"author_email": "astropy.team@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/23/73/fc06598c336afa6626b4a50e2706bc235407bf975b5db9757d3a5e813e58/astropy-sphinx-theme-1.1.tar.gz",
"platform": "",
"description": "Astropy Sphinx Theme(s)\n-----------------------\n\nThis is the repository for the default Astropy project documentation\ntheme(s). To use this theme, simply install this package then add the\nfollowing line to your documentation's ``conf.py`` file:\n\n.. code:: python\n\n html_theme = 'bootstrap-astropy'\n\nThis requires Sphinx 1.6 or later to work properly. For older versions\nof Sphinx, you will need to do:\n\n.. code:: python\n\n import astropy_sphinx_theme\n html_theme_path = astropy_sphinx_theme.get_html_theme_path()\n html_theme = 'bootstrap-astropy'\n\n``bootstrap-astropy`` is the only theme that is currently available, but\nthe structure of the package allows more themes to be added in future if\nneeded.\n\nSeveral options for the theme can be set in the ``conf.py`` file:\n\n.. code:: python\n\n html_theme_options = {\n 'logotext1': 'packagename', # white, semi-bold\n 'logotext2': '', # orange, light\n 'logotext3': ':docs', # white, light\n 'astropy_project_menubar': True\n }\n\nThe ``logotext?`` options can be used to customize the top left logo, while\nthe ``astropy_project_menubar`` option can be set to ``True`` for packages\nthat are managed by the project itself (this will add links to find out more\nabout the Astropy project, about the team, and so on).\n\n.. image:: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/master.svg?style=svg\n :target: https://circleci.com/gh/astropy/astropy-sphinx-theme/tree/master\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "The sphinx theme for Astropy and affiliated packages.",
"version": "1.1",
"project_urls": {
"Homepage": "https://github.com/astropy/astropy-sphinx-theme"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "412cb59c6de34a802b4b0485cf0a8c5c9b3025651f79f6f468079d9c6dad2111",
"md5": "94d4a3c2a205fd3d878ac523697b430b",
"sha256": "089a2007b8645137460eb70bdbbc4dbc5c15f0873991d5b526da013cfac008c4"
},
"downloads": -1,
"filename": "astropy_sphinx_theme-1.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "94d4a3c2a205fd3d878ac523697b430b",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 31447,
"upload_time": "2019-04-25T08:34:13",
"upload_time_iso_8601": "2019-04-25T08:34:13.693233Z",
"url": "https://files.pythonhosted.org/packages/41/2c/b59c6de34a802b4b0485cf0a8c5c9b3025651f79f6f468079d9c6dad2111/astropy_sphinx_theme-1.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2373fc06598c336afa6626b4a50e2706bc235407bf975b5db9757d3a5e813e58",
"md5": "a7c6938b2e4cf1e2ea991acf324723f1",
"sha256": "ee1dafa0cf4d109455f7a0d19da4cdd608ad24d380ed2eb8090bb945a3d286f9"
},
"downloads": -1,
"filename": "astropy-sphinx-theme-1.1.tar.gz",
"has_sig": false,
"md5_digest": "a7c6938b2e4cf1e2ea991acf324723f1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 29222,
"upload_time": "2019-04-25T08:34:15",
"upload_time_iso_8601": "2019-04-25T08:34:15.497525Z",
"url": "https://files.pythonhosted.org/packages/23/73/fc06598c336afa6626b4a50e2706bc235407bf975b5db9757d3a5e813e58/astropy-sphinx-theme-1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2019-04-25 08:34:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "astropy",
"github_project": "astropy-sphinx-theme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "astropy-sphinx-theme"
}