File: Don-t-rely-on-sphinx_changelog-and-sphinxcontrib_globalsu.patch

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (40 lines) | stat: -rw-r--r-- 1,198 bytes parent folder | download
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
From: Ole Streicher <olebole@debian.org>
Date: Wed, 23 Jun 2021 10:10:33 +0200
Subject: Don't rely on sphinx_changelog and sphinxcontrib_globalsub

There is no Debian packages available yet.
---
 docs/conf.py   | 3 ---
 pyproject.toml | 2 --
 2 files changed, 5 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index ce95b61..1da5c02 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -121,10 +121,7 @@ if "templates_path" not in locals():  # in case parent conf.py defines it
 templates_path.append("_templates")
 
 extensions += [
-    "matplotlib.sphinxext.roles",
-    "sphinx_changelog",
     "sphinx_design",
-    "sphinxcontrib.globalsubs",
 ]
 
 # Grab minversion from pyproject.toml
diff --git a/pyproject.toml b/pyproject.toml
index 8f8b0f0..d66d9f2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -120,10 +120,8 @@ docs = [
     "sphinx",
     "sphinx-astropy[confv2]>=1.9.1",
     "pytest>=7.0",
-    "sphinx-changelog>=1.2.0",
     "sphinx_design",
     "Jinja2>=3.1.3",
-    "sphinxcontrib-globalsubs >= 0.1.1",
     "matplotlib>=3.9.1",  # https://github.com/matplotlib/matplotlib/issues/28234
 ]
 # These group together all the dependencies needed for developing in Astropy.