From 6defdfcb3dc6a0f814d24d5e9e7b433791ed9d3d Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 12 Dec 2023 17:04:28 -0500 Subject: [PATCH] drop sphinx-astropy as docs requirement --- docs/source/conf.py | 7 +------ pyproject.toml | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 39aff956..df5df980 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -7,17 +7,12 @@ import datetime import importlib.metadata -import sys from pathlib import Path import tomli +from sphinx_asdf.conf import * # noqa: F403 # -- Project information ----------------------------------------------------- -try: - from sphinx_astropy.conf.v1 import * # noqa: F403, F401 -except ImportError: - print("ERROR: the documentation requires the sphinx-astropy package to be installed") - sys.exit(1) # Get configuration information from `pyproject.toml` with open(Path(__file__).parent.parent.parent / "pyproject.toml", "rb") as configuration_file: diff --git a/pyproject.toml b/pyproject.toml index 0062beaa..d6e248f3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,6 @@ docs = [ 'tomli', 'sphinx >= 4.0', 'sphinx-asdf >= 0.1.3', - 'sphinx-astropy', 'graphviz', 'matplotlib', 'docutils',