astropy-sphinx-theme 2.0__tar.gz → 3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- astropy_sphinx_theme-3.0/.circleci/config.yml +43 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/.github/dependabot.yml +2 -1
- astropy_sphinx_theme-3.0/.github/release.yml +20 -0
- astropy_sphinx_theme-3.0/.github/workflows/ci_workflow.yml +40 -0
- astropy_sphinx_theme-3.0/.github/workflows/circleci-artifacts-redirector.yml +21 -0
- astropy_sphinx_theme-3.0/.github/workflows/publish.yml +40 -0
- astropy_sphinx_theme-3.0/.github/workflows/update-changelog.yaml +37 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/.gitignore +1 -0
- astropy_sphinx_theme-3.0/.pre-commit-config.yaml +84 -0
- astropy_sphinx_theme-2.0/CHANGES.rst → astropy_sphinx_theme-3.0/CHANGES.md +6 -9
- {astropy_sphinx_theme-2.0/astropy_sphinx_theme.egg-info → astropy_sphinx_theme-3.0}/PKG-INFO +12 -13
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/__init__.py +13 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy-unified/static/css/astropy.css +11 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy-unified/static/img/astropy_logo_notext.svg +252 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy-unified/theme.toml +36 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy_unified.py +33 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/globaltoc.html +0 -1
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/localtoc.html +0 -1
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/bootstrap-astropy/static/astropy_logo.ico +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/static/bootstrap-astropy.css +233 -190
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/bootstrap-astropy/static/copybutton.js +84 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/bootstrap-astropy/static/sidebar.js +155 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme/bootstrap_astropy.py +15 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/tests/test_basic.py +9 -10
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0/astropy_sphinx_theme.egg-info}/PKG-INFO +12 -13
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme.egg-info/SOURCES.txt +17 -5
- astropy_sphinx_theme-3.0/astropy_sphinx_theme.egg-info/entry_points.txt +3 -0
- astropy_sphinx_theme-3.0/astropy_sphinx_theme.egg-info/requires.txt +9 -0
- astropy_sphinx_theme-3.0/docs/Makefile +20 -0
- astropy_sphinx_theme-3.0/docs/colors.rst +168 -0
- astropy_sphinx_theme-3.0/docs/conf.py +27 -0
- astropy_sphinx_theme-3.0/docs/index.rst +11 -0
- astropy_sphinx_theme-3.0/docs/make.bat +35 -0
- astropy_sphinx_theme-3.0/pyproject.toml +88 -0
- astropy_sphinx_theme-3.0/setup.cfg +4 -0
- astropy_sphinx_theme-2.0/.github/workflows/ci_workflow.yml +0 -29
- astropy_sphinx_theme-2.0/.github/workflows/publish.yml +0 -47
- astropy_sphinx_theme-2.0/astropy_sphinx_theme/__init__.py +0 -12
- astropy_sphinx_theme-2.0/astropy_sphinx_theme/bootstrap-astropy/static/copybutton.js +0 -63
- astropy_sphinx_theme-2.0/astropy_sphinx_theme/bootstrap-astropy/static/sidebar.js +0 -160
- astropy_sphinx_theme-2.0/astropy_sphinx_theme/version.py +0 -21
- astropy_sphinx_theme-2.0/astropy_sphinx_theme.egg-info/entry_points.txt +0 -2
- astropy_sphinx_theme-2.0/astropy_sphinx_theme.egg-info/not-zip-safe +0 -1
- astropy_sphinx_theme-2.0/astropy_sphinx_theme.egg-info/requires.txt +0 -6
- astropy_sphinx_theme-2.0/pyproject.toml +0 -5
- astropy_sphinx_theme-2.0/setup.cfg +0 -57
- astropy_sphinx_theme-2.0/setup.py +0 -6
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/LICENSE.rst +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/MANIFEST.in +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/README.rst +0 -0
- /astropy_sphinx_theme-2.0/astropy_sphinx_theme/bootstrap-astropy/static/astropy_logo.ico → /astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy-unified/static/img/favicon.ico +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/layout.html +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/searchbox.html +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/static/astropy_linkout.svg +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/static/astropy_linkout_20.png +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/static/astropy_logo.svg +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/static/astropy_logo_32.png +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/bootstrap-astropy/theme.conf +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme/tests/__init__.py +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme.egg-info/dependency_links.txt +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/astropy_sphinx_theme.egg-info/top_level.txt +0 -0
- {astropy_sphinx_theme-2.0 → astropy_sphinx_theme-3.0}/licenses/LICENSE_COPYBUTTON.rst +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Python CircleCI 2.0 configuration file
|
|
2
|
+
#
|
|
3
|
+
# Check https://circleci.com/docs/2.0/language-python/ for more details
|
|
4
|
+
#
|
|
5
|
+
version: 2.1
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build-preview:
|
|
9
|
+
parameters:
|
|
10
|
+
themename:
|
|
11
|
+
type: string
|
|
12
|
+
|
|
13
|
+
docker:
|
|
14
|
+
- image: cimg/python:3.14
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- checkout
|
|
18
|
+
- run:
|
|
19
|
+
name: Install sphinx deps
|
|
20
|
+
command: |
|
|
21
|
+
python -m pip install ".[docs]"
|
|
22
|
+
|
|
23
|
+
- run:
|
|
24
|
+
name: Build sphinx
|
|
25
|
+
command: |
|
|
26
|
+
sphinx-build --color -W --keep-going -b html docs/ docs/_build/html -D html_theme=<< parameters.themename >>
|
|
27
|
+
|
|
28
|
+
- store_artifacts:
|
|
29
|
+
path: /home/circleci/project/docs/_build/html
|
|
30
|
+
destination: html
|
|
31
|
+
|
|
32
|
+
workflows:
|
|
33
|
+
version: 2
|
|
34
|
+
|
|
35
|
+
theme-previews:
|
|
36
|
+
jobs:
|
|
37
|
+
- build-preview:
|
|
38
|
+
name: << matrix.themename >>
|
|
39
|
+
matrix:
|
|
40
|
+
parameters:
|
|
41
|
+
themename:
|
|
42
|
+
- "bootstrap-astropy"
|
|
43
|
+
- "astropy-unified"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
changelog:
|
|
2
|
+
exclude:
|
|
3
|
+
authors:
|
|
4
|
+
- pre-commit-ci
|
|
5
|
+
- dependabot
|
|
6
|
+
- pre-commit-ci[bot]
|
|
7
|
+
- dependabot[bot]
|
|
8
|
+
categories:
|
|
9
|
+
- title: Bug Fixes
|
|
10
|
+
labels:
|
|
11
|
+
- bug
|
|
12
|
+
- title: New Features
|
|
13
|
+
labels:
|
|
14
|
+
- enhancement
|
|
15
|
+
- title: Documentation
|
|
16
|
+
labels:
|
|
17
|
+
- Documentation
|
|
18
|
+
- title: Other Changes
|
|
19
|
+
labels:
|
|
20
|
+
- "*"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches: [main]
|
|
7
|
+
tags:
|
|
8
|
+
- "*"
|
|
9
|
+
workflow_dispatch:
|
|
10
|
+
schedule:
|
|
11
|
+
# Run every Sunday at 04:53 UTC
|
|
12
|
+
- cron: 53 4 * * 0
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
permissions: {}
|
|
19
|
+
|
|
20
|
+
jobs:
|
|
21
|
+
tests:
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
25
|
+
with:
|
|
26
|
+
fetch-depth: 0
|
|
27
|
+
persist-credentials: false
|
|
28
|
+
|
|
29
|
+
- name: Set up Python
|
|
30
|
+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
31
|
+
with:
|
|
32
|
+
python-version: 3.14
|
|
33
|
+
|
|
34
|
+
- name: Install
|
|
35
|
+
run: |
|
|
36
|
+
python -m pip install pip -U
|
|
37
|
+
pip install .[test]
|
|
38
|
+
|
|
39
|
+
- name: Run tests
|
|
40
|
+
run: pytest astropy_sphinx_theme
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
name: Run CircleCI artifacts redirector for rendered HTML
|
|
2
|
+
on: [status]
|
|
3
|
+
|
|
4
|
+
permissions: read-all
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
circleci_artifacts_redirector_job:
|
|
8
|
+
if: "${(github.repository == 'astropy/astropy-sphinx-theme') && startswith(github.event.context, 'ci/circleci'))}"
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
statuses: write
|
|
12
|
+
name: Run CircleCI artifacts redirector
|
|
13
|
+
steps:
|
|
14
|
+
- name: GitHub Action step
|
|
15
|
+
uses: scientific-python/circleci-artifacts-redirector-action@5d358ff96e96429a5c64a969bb4a574555439f4f # v1.3.1
|
|
16
|
+
with:
|
|
17
|
+
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
18
|
+
api-token: ${{ secrets.ASTROPY_SPHINX_CIRCLE_TOKEN }} # zizmor: ignore[secrets-outside-env]
|
|
19
|
+
artifact-path: 0/docs/_build/html/index.html
|
|
20
|
+
circleci-jobs: bootstrap-astropy,astropy-unified
|
|
21
|
+
job-title: "--> Rendering Preview <--"
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
tags:
|
|
9
|
+
- "v*"
|
|
10
|
+
workflow_dispatch:
|
|
11
|
+
|
|
12
|
+
permissions: {}
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
build:
|
|
16
|
+
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@e97344095b099e1d729fe97429078c9975921d8a # v2
|
|
17
|
+
with:
|
|
18
|
+
save_artifacts: true
|
|
19
|
+
upload_to_pypi: false
|
|
20
|
+
test_extras: test
|
|
21
|
+
test_command: pytest --pyargs astropy_sphinx_theme
|
|
22
|
+
|
|
23
|
+
upload:
|
|
24
|
+
if: startsWith(github.ref, 'refs/tags/v')
|
|
25
|
+
name: Upload release to PyPI
|
|
26
|
+
runs-on: ubuntu-latest
|
|
27
|
+
needs: [build]
|
|
28
|
+
environment: pypi
|
|
29
|
+
permissions:
|
|
30
|
+
id-token: write
|
|
31
|
+
steps:
|
|
32
|
+
- name: Download artifacts
|
|
33
|
+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
34
|
+
with:
|
|
35
|
+
merge-multiple: true
|
|
36
|
+
pattern: dist-*
|
|
37
|
+
path: dist
|
|
38
|
+
|
|
39
|
+
- name: Publish to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# This workflow takes the GitHub release notes and updates the changelog on the
|
|
2
|
+
# main branch with the body of the release notes, thereby keeping a log in
|
|
3
|
+
# the git repo of the changes.
|
|
4
|
+
|
|
5
|
+
name: "Update Changelog"
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
release:
|
|
9
|
+
types: [released]
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
update:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
|
|
18
|
+
steps:
|
|
19
|
+
- name: Checkout code
|
|
20
|
+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
21
|
+
with:
|
|
22
|
+
ref: main
|
|
23
|
+
persist-credentials: false
|
|
24
|
+
|
|
25
|
+
- name: Update Changelog
|
|
26
|
+
uses: stefanzweifel/changelog-updater-action@a938690fad7edf25368f37e43a1ed1b34303eb36 # v1
|
|
27
|
+
with:
|
|
28
|
+
release-notes: ${{ github.event.release.body }}
|
|
29
|
+
latest-version: ${{ github.event.release.name }}
|
|
30
|
+
path-to-changelog: CHANGES.md
|
|
31
|
+
|
|
32
|
+
- name: Commit updated CHANGELOG
|
|
33
|
+
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
|
|
34
|
+
with:
|
|
35
|
+
branch: main
|
|
36
|
+
commit_message: Update CHANGELOG
|
|
37
|
+
file_pattern: CHANGES.md
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
ci:
|
|
2
|
+
autofix_commit_msg: "style: pre-commit fixes"
|
|
3
|
+
autoupdate_commit_msg: "chore: pre-commit fixes"
|
|
4
|
+
autofix_prs: false
|
|
5
|
+
autoupdate_schedule: "monthly"
|
|
6
|
+
|
|
7
|
+
repos:
|
|
8
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
9
|
+
rev: v6.0.0
|
|
10
|
+
hooks:
|
|
11
|
+
- id: check-added-large-files
|
|
12
|
+
args: ["--enforce-all", "--maxkb=300"]
|
|
13
|
+
# Prevent giant files from being committed.
|
|
14
|
+
- id: check-case-conflict
|
|
15
|
+
# Check for files with names that would conflict on a case-insensitive
|
|
16
|
+
# filesystem like MacOS HFS+ or Windows FAT.
|
|
17
|
+
- id: check-json
|
|
18
|
+
# Attempts to load all json files to verify syntax.
|
|
19
|
+
- id: check-merge-conflict
|
|
20
|
+
# Check for files that contain merge conflict strings.
|
|
21
|
+
- id: check-symlinks
|
|
22
|
+
# Checks for symlinks which do not point to anything.
|
|
23
|
+
- id: check-toml
|
|
24
|
+
# Attempts to load all TOML files to verify syntax.
|
|
25
|
+
- id: check-xml
|
|
26
|
+
# Attempts to load all xml files to verify syntax.
|
|
27
|
+
- id: check-yaml
|
|
28
|
+
# Attempts to load all yaml files to verify syntax.
|
|
29
|
+
exclude: ".*(.github.*)$"
|
|
30
|
+
- id: detect-private-key
|
|
31
|
+
# Checks for the existence of private keys.
|
|
32
|
+
- id: end-of-file-fixer
|
|
33
|
+
# Makes sure files end in a newline and only a newline.
|
|
34
|
+
exclude: ".*(data.*|extern.*|licenses.*|_static.*|_parsetab.py)$"
|
|
35
|
+
# - id: fix-encoding-pragma # covered by pyupgrade
|
|
36
|
+
- id: trailing-whitespace
|
|
37
|
+
# Trims trailing whitespace.
|
|
38
|
+
exclude_types: [python] # Covered by Ruff W291.
|
|
39
|
+
exclude: ".*(data.*|extern.*|licenses.*|_static.*)$"
|
|
40
|
+
|
|
41
|
+
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
42
|
+
rev: v1.10.0
|
|
43
|
+
hooks:
|
|
44
|
+
- id: rst-directive-colons
|
|
45
|
+
# Detect mistake of rst directive not ending with double colon.
|
|
46
|
+
- id: rst-inline-touching-normal
|
|
47
|
+
# Detect mistake of inline code touching normal text in rst.
|
|
48
|
+
- id: text-unicode-replacement-char
|
|
49
|
+
# Forbid files which have a UTF-8 Unicode replacement character.
|
|
50
|
+
|
|
51
|
+
- repo: https://github.com/rbubley/mirrors-prettier
|
|
52
|
+
rev: v3.8.1
|
|
53
|
+
hooks:
|
|
54
|
+
- id: prettier
|
|
55
|
+
types_or: [css, scss, javascript, rst, json, yaml, toml, markdown]
|
|
56
|
+
|
|
57
|
+
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
|
58
|
+
rev: v1.23.1
|
|
59
|
+
hooks:
|
|
60
|
+
- id: zizmor
|
|
61
|
+
|
|
62
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
63
|
+
rev: v0.15.9
|
|
64
|
+
hooks:
|
|
65
|
+
- id: ruff-check
|
|
66
|
+
args: ["--fix", "--show-fixes"]
|
|
67
|
+
- id: ruff-format
|
|
68
|
+
|
|
69
|
+
- repo: https://github.com/crate-ci/typos
|
|
70
|
+
rev: v1
|
|
71
|
+
hooks:
|
|
72
|
+
- id: typos
|
|
73
|
+
|
|
74
|
+
- repo: https://github.com/scientific-python/cookie
|
|
75
|
+
rev: 2026.04.04
|
|
76
|
+
hooks:
|
|
77
|
+
- id: sp-repo-review
|
|
78
|
+
|
|
79
|
+
# Linting hook for stylistic issues in rst doc files.
|
|
80
|
+
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
|
81
|
+
rev: v1.0.2
|
|
82
|
+
hooks:
|
|
83
|
+
- id: sphinx-lint
|
|
84
|
+
exclude: "(licenses/|docs/_build/|.*parsetab.py|astropy/extern/)"
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
----------------
|
|
1
|
+
# Changelog
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
## 2.0 (2025-03-18)
|
|
5
4
|
|
|
5
|
+
- Infrastructure updates. Minimum Python version is now 3.7. [#27]
|
|
6
6
|
- Fixed overflowing navbar. [#40]
|
|
7
7
|
|
|
8
|
-
1.1 (2019-04-25)
|
|
9
|
-
----------------
|
|
8
|
+
## 1.1 (2019-04-25)
|
|
10
9
|
|
|
11
|
-
- Added a theme option
|
|
10
|
+
- Added a theme option `astropy_project_menubar` which can be used to control
|
|
12
11
|
whether to show extra project links in the top bar. [#4, #8]
|
|
13
|
-
|
|
14
12
|
- Fixed compatibility with Sphinx 2.x. [#6]
|
|
15
13
|
|
|
16
|
-
1.0 (2018-01-26)
|
|
17
|
-
----------------
|
|
14
|
+
## 1.0 (2018-01-26)
|
|
18
15
|
|
|
19
16
|
- Initial standalone version of the theme (formerly packaged as part of astropy-helpers)
|
{astropy_sphinx_theme-2.0/astropy_sphinx_theme.egg-info → astropy_sphinx_theme-3.0}/PKG-INFO
RENAMED
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: astropy-sphinx-theme
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0
|
|
4
4
|
Summary: The sphinx theme for Astropy and affiliated packages.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: BSD
|
|
9
|
-
Classifier: Development Status :: 3 - Alpha
|
|
5
|
+
Author-email: The Astropy Developers <astropy.team@gmail.com>
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
7
|
+
Project-URL: Homepage, https://github.com/astropy/astropy-sphinx-theme
|
|
10
8
|
Classifier: Intended Audience :: Developers
|
|
11
|
-
Classifier: License :: OSI Approved :: BSD License
|
|
12
9
|
Classifier: Operating System :: OS Independent
|
|
13
10
|
Classifier: Programming Language :: Python
|
|
14
|
-
|
|
15
|
-
Requires-Python: >=3.7
|
|
11
|
+
Requires-Python: >=3.10
|
|
16
12
|
Description-Content-Type: text/x-rst
|
|
17
13
|
License-File: LICENSE.rst
|
|
18
|
-
Requires-Dist:
|
|
14
|
+
Requires-Dist: sphinx>6
|
|
15
|
+
Requires-Dist: sunpy-sphinx-theme>=2.1.1
|
|
19
16
|
Provides-Extra: test
|
|
20
17
|
Requires-Dist: packaging; extra == "test"
|
|
21
|
-
Requires-Dist: pytest; extra == "test"
|
|
22
|
-
|
|
18
|
+
Requires-Dist: pytest>=9; extra == "test"
|
|
19
|
+
Provides-Extra: docs
|
|
20
|
+
Requires-Dist: sphinx; extra == "docs"
|
|
21
|
+
Dynamic: license-file
|
|
23
22
|
|
|
24
23
|
Astropy Sphinx Theme(s)
|
|
25
24
|
-----------------------
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import warnings
|
|
2
|
+
|
|
3
|
+
from .bootstrap_astropy import get_html_theme_path as _old_theme_path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def get_html_theme_path():
|
|
7
|
+
warnings.warn(
|
|
8
|
+
"astropy_sphinx_theme.get_html_theme_path is deprecated, you shouldn't"
|
|
9
|
+
" need to manually specify the theme path as the theme is registered with sphinx",
|
|
10
|
+
DeprecationWarning,
|
|
11
|
+
stacklevel=2,
|
|
12
|
+
)
|
|
13
|
+
return _old_theme_path()
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* SunPy Theme Colors */
|
|
3
|
+
--sst-accent-color-bright: #ff5000;
|
|
4
|
+
--sst-accent-color-muted: #fc9468;
|
|
5
|
+
--sst-dark-color: #404040;
|
|
6
|
+
--sst-darker-color: #333333;
|
|
7
|
+
--sst-darkest-color: #222222;
|
|
8
|
+
--sst-light-color: rgb(206, 206, 206);
|
|
9
|
+
--sst-lighter-color: rgb(231, 231, 231);
|
|
10
|
+
--sst-lightest-color: rgb(251, 251, 251);
|
|
11
|
+
}
|
astropy_sphinx_theme-3.0/astropy_sphinx_theme/astropy-unified/static/img/astropy_logo_notext.svg
ADDED
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
6
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
7
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
|
8
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
9
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
|
10
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
11
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
12
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
13
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
14
|
+
width="220"
|
|
15
|
+
height="220"
|
|
16
|
+
id="svg2"
|
|
17
|
+
version="1.1"
|
|
18
|
+
inkscape:version="0.48.2 r9819"
|
|
19
|
+
sodipodi:docname="astropy_logo_notext.svg">
|
|
20
|
+
<defs
|
|
21
|
+
id="defs4">
|
|
22
|
+
<linearGradient
|
|
23
|
+
id="linearGradient3804">
|
|
24
|
+
<stop
|
|
25
|
+
style="stop-color:#ffa900;stop-opacity:1;"
|
|
26
|
+
offset="0"
|
|
27
|
+
id="stop3806" />
|
|
28
|
+
<stop
|
|
29
|
+
style="stop-color:#fd0000;stop-opacity:1;"
|
|
30
|
+
offset="1"
|
|
31
|
+
id="stop3808" />
|
|
32
|
+
</linearGradient>
|
|
33
|
+
<linearGradient
|
|
34
|
+
id="linearGradient5252"
|
|
35
|
+
osb:paint="solid">
|
|
36
|
+
<stop
|
|
37
|
+
style="stop-color:#4d4d4d;stop-opacity:1;"
|
|
38
|
+
offset="0"
|
|
39
|
+
id="stop5254" />
|
|
40
|
+
</linearGradient>
|
|
41
|
+
<linearGradient
|
|
42
|
+
id="linearGradient3767">
|
|
43
|
+
<stop
|
|
44
|
+
id="stop3800"
|
|
45
|
+
offset="0"
|
|
46
|
+
style="stop-color:#ffa900;stop-opacity:1;" />
|
|
47
|
+
<stop
|
|
48
|
+
id="stop3775"
|
|
49
|
+
offset="1"
|
|
50
|
+
style="stop-color:#fd0000;stop-opacity:1;" />
|
|
51
|
+
</linearGradient>
|
|
52
|
+
<inkscape:path-effect
|
|
53
|
+
effect="spiro"
|
|
54
|
+
id="path-effect3934"
|
|
55
|
+
is_visible="true" />
|
|
56
|
+
<filter
|
|
57
|
+
id="filter3014"
|
|
58
|
+
inkscape:label="Diffuse light"
|
|
59
|
+
inkscape:menu="ABCs"
|
|
60
|
+
inkscape:menu-tooltip="Basic diffuse bevel to use for building textures"
|
|
61
|
+
color-interpolation-filters="sRGB">
|
|
62
|
+
<feGaussianBlur
|
|
63
|
+
id="feGaussianBlur3016"
|
|
64
|
+
stdDeviation="6"
|
|
65
|
+
in="SourceGraphic"
|
|
66
|
+
result="result0" />
|
|
67
|
+
<feDiffuseLighting
|
|
68
|
+
id="feDiffuseLighting3018"
|
|
69
|
+
diffuseConstant="1"
|
|
70
|
+
surfaceScale="10"
|
|
71
|
+
result="result5">
|
|
72
|
+
<feDistantLight
|
|
73
|
+
id="feDistantLight3020"
|
|
74
|
+
elevation="25"
|
|
75
|
+
azimuth="235" />
|
|
76
|
+
</feDiffuseLighting>
|
|
77
|
+
<feComposite
|
|
78
|
+
id="feComposite3022"
|
|
79
|
+
in2="SourceGraphic"
|
|
80
|
+
k1="1"
|
|
81
|
+
in="result5"
|
|
82
|
+
result="result4"
|
|
83
|
+
operator="arithmetic"
|
|
84
|
+
k2="0"
|
|
85
|
+
k3="0.6"
|
|
86
|
+
k4="0" />
|
|
87
|
+
</filter>
|
|
88
|
+
<filter
|
|
89
|
+
id="filter3844"
|
|
90
|
+
inkscape:label="Diffuse light"
|
|
91
|
+
inkscape:menu="ABCs"
|
|
92
|
+
inkscape:menu-tooltip="Basic diffuse bevel to use for building textures"
|
|
93
|
+
color-interpolation-filters="sRGB">
|
|
94
|
+
<feGaussianBlur
|
|
95
|
+
id="feGaussianBlur3846"
|
|
96
|
+
stdDeviation="6"
|
|
97
|
+
in="SourceGraphic"
|
|
98
|
+
result="result0" />
|
|
99
|
+
<feDiffuseLighting
|
|
100
|
+
id="feDiffuseLighting3848"
|
|
101
|
+
diffuseConstant="1"
|
|
102
|
+
surfaceScale="10"
|
|
103
|
+
result="result5">
|
|
104
|
+
<feDistantLight
|
|
105
|
+
id="feDistantLight3850"
|
|
106
|
+
elevation="25"
|
|
107
|
+
azimuth="235" />
|
|
108
|
+
</feDiffuseLighting>
|
|
109
|
+
<feComposite
|
|
110
|
+
id="feComposite3852"
|
|
111
|
+
in2="SourceGraphic"
|
|
112
|
+
k1="1"
|
|
113
|
+
in="result5"
|
|
114
|
+
result="result4"
|
|
115
|
+
operator="arithmetic"
|
|
116
|
+
k2="0"
|
|
117
|
+
k3="0.6"
|
|
118
|
+
k4="0" />
|
|
119
|
+
</filter>
|
|
120
|
+
<linearGradient
|
|
121
|
+
inkscape:collect="always"
|
|
122
|
+
xlink:href="#linearGradient3767"
|
|
123
|
+
id="linearGradient3798"
|
|
124
|
+
x1="195.5511"
|
|
125
|
+
y1="163.12114"
|
|
126
|
+
x2="83.651718"
|
|
127
|
+
y2="298.258"
|
|
128
|
+
gradientUnits="userSpaceOnUse"
|
|
129
|
+
spreadMethod="repeat" />
|
|
130
|
+
</defs>
|
|
131
|
+
<sodipodi:namedview
|
|
132
|
+
id="base"
|
|
133
|
+
pagecolor="#ffffff"
|
|
134
|
+
bordercolor="#666666"
|
|
135
|
+
borderopacity="1.0"
|
|
136
|
+
inkscape:pageopacity="0"
|
|
137
|
+
inkscape:pageshadow="2"
|
|
138
|
+
inkscape:zoom="0.7"
|
|
139
|
+
inkscape:cx="123.94587"
|
|
140
|
+
inkscape:cy="28.477553"
|
|
141
|
+
inkscape:document-units="px"
|
|
142
|
+
inkscape:current-layer="layer1"
|
|
143
|
+
showgrid="false"
|
|
144
|
+
inkscape:snap-global="true"
|
|
145
|
+
inkscape:snap-grids="true"
|
|
146
|
+
inkscape:window-width="1393"
|
|
147
|
+
inkscape:window-height="856"
|
|
148
|
+
inkscape:window-x="47"
|
|
149
|
+
inkscape:window-y="0"
|
|
150
|
+
inkscape:window-maximized="0"
|
|
151
|
+
fit-margin-top="5"
|
|
152
|
+
fit-margin-left="5"
|
|
153
|
+
fit-margin-right="5"
|
|
154
|
+
fit-margin-bottom="5" />
|
|
155
|
+
<metadata
|
|
156
|
+
id="metadata7">
|
|
157
|
+
<rdf:RDF>
|
|
158
|
+
<cc:Work
|
|
159
|
+
rdf:about="">
|
|
160
|
+
<dc:format>image/svg+xml</dc:format>
|
|
161
|
+
<dc:type
|
|
162
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
163
|
+
<dc:title />
|
|
164
|
+
</cc:Work>
|
|
165
|
+
</rdf:RDF>
|
|
166
|
+
</metadata>
|
|
167
|
+
<g
|
|
168
|
+
inkscape:label="Layer 1"
|
|
169
|
+
inkscape:groupmode="layer"
|
|
170
|
+
id="layer1"
|
|
171
|
+
transform="translate(2.5547457,54.766869)">
|
|
172
|
+
<path
|
|
173
|
+
sodipodi:type="arc"
|
|
174
|
+
style="fill:url(#linearGradient3798);fill-opacity:1;fill-rule:nonzero;stroke:none"
|
|
175
|
+
id="path3837"
|
|
176
|
+
sodipodi:cx="140.91628"
|
|
177
|
+
sodipodi:cy="233.12846"
|
|
178
|
+
sodipodi:rx="80.322945"
|
|
179
|
+
sodipodi:ry="68.372307"
|
|
180
|
+
d="m 221.23922,233.12846 a 80.322945,68.372307 0 1 1 -160.64589,0 80.322945,68.372307 0 1 1 160.64589,0 z"
|
|
181
|
+
transform="matrix(1.0651076,-0.90408718,0.89013474,1.0731629,-250.16148,-67.548145)"
|
|
182
|
+
mask="none"
|
|
183
|
+
clip-path="none" />
|
|
184
|
+
<path
|
|
185
|
+
sodipodi:type="spiral"
|
|
186
|
+
style="fill:none;stroke:#ffffff;stroke-width:14.33045673;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
|
187
|
+
id="path5413"
|
|
188
|
+
sodipodi:cx="238.396"
|
|
189
|
+
sodipodi:cy="198.78328"
|
|
190
|
+
sodipodi:expansion="0.40000001"
|
|
191
|
+
sodipodi:revolution="0.74833119"
|
|
192
|
+
sodipodi:radius="60.381268"
|
|
193
|
+
sodipodi:argument="-6.0698166"
|
|
194
|
+
sodipodi:t0="0"
|
|
195
|
+
d="m 238.396,198.78328 c 32.61949,7.06756 15.40308,37.20961 -8.24653,38.06088 -26.00022,0.93589 -44.08994,-24.61831 -41.97511,-48.94224 2.67817,-30.80329 32.53302,-51.80129 62.38812,-48.26147"
|
|
196
|
+
transform="matrix(-0.71212781,-0.99456325,-0.9777811,0.72852659,474.31246,145.67479)" />
|
|
197
|
+
<path
|
|
198
|
+
sodipodi:type="arc"
|
|
199
|
+
style="fill:#ffffff;fill-opacity:1;stroke:none"
|
|
200
|
+
id="path3819"
|
|
201
|
+
sodipodi:cx="122.22845"
|
|
202
|
+
sodipodi:cy="337.67926"
|
|
203
|
+
sodipodi:rx="22.223356"
|
|
204
|
+
sodipodi:ry="12.626906"
|
|
205
|
+
d="m 144.4518,337.67926 a 22.223356,12.626906 0 1 1 -44.44671,0 22.223356,12.626906 0 1 1 44.44671,0 z"
|
|
206
|
+
transform="matrix(1.0512298,0.82294962,-0.97239782,0.94168108,304.90482,-361.44933)" />
|
|
207
|
+
<path
|
|
208
|
+
style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:2.36031604;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
|
209
|
+
d="m 136.88413,-13.10567 13.09858,22.1959915 20.1541,-20.0243955 -25.57713,-10.690029 z"
|
|
210
|
+
id="path3853"
|
|
211
|
+
inkscape:connector-curvature="0"
|
|
212
|
+
sodipodi:nodetypes="ccccc" />
|
|
213
|
+
<g
|
|
214
|
+
id="g3804"
|
|
215
|
+
transform="matrix(0.95039189,0,0,0.93299787,-2.487134,-0.56516029)">
|
|
216
|
+
<path
|
|
217
|
+
inkscape:connector-curvature="0"
|
|
218
|
+
id="path3855-7"
|
|
219
|
+
d="m 142.07904,-24.83606 -2.29208,-13.70422 0.18559,0.452199 0,0"
|
|
220
|
+
style="fill:none;stroke:#ffffff;stroke-width:3.72635746;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
221
|
+
<path
|
|
222
|
+
inkscape:connector-curvature="0"
|
|
223
|
+
id="path3855-7-0"
|
|
224
|
+
d="m 127.81295,-26.11257 15.12343,0.663566 -0.4755,0.06597 0,0"
|
|
225
|
+
style="fill:none;stroke:#ffffff;stroke-width:4.02542162;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
226
|
+
<path
|
|
227
|
+
inkscape:connector-curvature="0"
|
|
228
|
+
id="path3855-7-05"
|
|
229
|
+
d="m 150.77669,-18.240009 -9.57586,-7.57806 0.46343,0.302121 0,0"
|
|
230
|
+
style="fill:none;stroke:#ffffff;stroke-width:4.06302309;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
|
231
|
+
</g>
|
|
232
|
+
<path
|
|
233
|
+
style="fill:none;stroke:#ffffff;stroke-width:17.45736313;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
|
234
|
+
d="m 67.476992,131.73602 c 3.410653,2.96251 14.804165,7.71706 18.766169,12.74152 4.041356,5.12504 3.407665,10.98393 3.371624,14.32634"
|
|
235
|
+
id="path3942"
|
|
236
|
+
inkscape:connector-curvature="0"
|
|
237
|
+
sodipodi:nodetypes="csc" />
|
|
238
|
+
<path
|
|
239
|
+
sodipodi:type="spiral"
|
|
240
|
+
style="fill:none;stroke:#ffffff;stroke-width:13.93870544;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
|
|
241
|
+
id="path2987-5"
|
|
242
|
+
sodipodi:cx="238.396"
|
|
243
|
+
sodipodi:cy="198.78328"
|
|
244
|
+
sodipodi:expansion="0.40000001"
|
|
245
|
+
sodipodi:revolution="0.75884885"
|
|
246
|
+
sodipodi:radius="60.719246"
|
|
247
|
+
sodipodi:argument="-6.0698166"
|
|
248
|
+
sodipodi:t0="0"
|
|
249
|
+
d="m 238.396,198.78328 c 32.61946,7.06755 15.40307,37.20957 -8.24652,38.06085 -26.0002,0.93588 -44.0899,-24.61829 -41.97507,-48.9422 2.70006,-31.05511 32.97695,-52.07076 63.01891,-48.18321 1.11735,0.14459 2.2306,0.32088 3.33799,0.52843"
|
|
250
|
+
transform="matrix(0.95949998,0.82835015,0.79893463,-0.95307413,-285.3304,56.888018)" />
|
|
251
|
+
</g>
|
|
252
|
+
</svg>
|