Fix optional sphinx dependency (#44)

This commit is contained in:
Jared Dillard
2025-09-17 10:51:07 -07:00
committed by GitHub
parent e64e20133a
commit f5dcd15889
5 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
pip install -e . --group dev
# - name: Run mypy
# run: |
@@ -52,4 +52,4 @@ jobs:
# uses: actions/upload-artifact@v3
# with:
# name: dist-${{ matrix.python-version }}
# path: dist/
# path: dist/
+6
View File
@@ -1,6 +1,12 @@
Changelog
=========
0.5.3
-----
- Make sphinx a required dependency since there are imports from Sphinx
`#44 <https://github.com/jdillard/sphinx-llms-txt/pull/44>`_
0.5.2
-----
+1 -1
View File
@@ -19,7 +19,7 @@ Local development
.. code-block:: console
pip install -e ".[dev]"
pip install -e . --group dev
#. Install pre-commit Git hook scripts:
+4 -2
View File
@@ -26,13 +26,16 @@ classifiers = [
license = {text = "MIT"}
readme = "README.md"
dynamic = ["version"]
dependencies = [
"sphinx",
]
[project.urls]
download = "https://pypi.org/project/sphinx-llms-txt/"
source = "https://github.com/jdillard/sphinx-llms-txt"
changelog = "https://github.com/jdillard/sphinx-llms-txt/blob/master/CHANGELOG.rst"
[project.optional-dependencies]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"black",
@@ -40,7 +43,6 @@ dev = [
"mypy",
"isort",
"pre-commit",
"sphinx",
]
test = [
"pytest>=7.0.0",
+1 -1
View File
@@ -21,7 +21,7 @@ from .manager import LLMSFullManager
from .processor import DocumentProcessor
from .writer import FileWriter
__version__ = "0.5.2"
__version__ = "0.5.3"
# Export classes needed by tests
__all__ = [