Skip to content

Commit

Permalink
build: Define optional-dependencies for sphinx-extension
Browse files Browse the repository at this point in the history
- Currently, support only Sphinx 7.x
- I will add old versions
  • Loading branch information
attakei committed May 1, 2024
1 parent 10481c5 commit fbb3dfb
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ Issues = "https://github.com/attakei-lab/rst-budoux/issues"
"rst-budoux2html" = "rst_budoux.cli.html:main"
"rst-budoux2pseudoxml" = "rst_budoux.cli.psuedoxml:main"

[project.optional-dependencies]
sphinx = [
"sphinx==7.*",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# all-features: true
# with-sources: false

-e file:.
Expand Down Expand Up @@ -66,6 +66,7 @@ snowballstemmer==2.2.0
# via sphinx
sphinx==7.3.7
# via esbonio
# via rst-budoux
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.6
Expand Down
43 changes: 42 additions & 1 deletion requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,52 @@
# last locked with the following flags:
# pre: false
# features: []
# all-features: false
# all-features: true
# with-sources: false

-e file:.
alabaster==0.7.16
# via sphinx
babel==2.14.0
# via sphinx
budoux==0.6.2
# via rst-budoux
certifi==2024.2.2
# via requests
charset-normalizer==3.3.2
# via requests
docutils==0.21.2
# via rst-budoux
# via sphinx
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.3
# via sphinx
markupsafe==2.1.5
# via jinja2
packaging==24.0
# via sphinx
pygments==2.17.2
# via sphinx
requests==2.31.0
# via sphinx
snowballstemmer==2.2.0
# via sphinx
sphinx==7.3.7
# via rst-budoux
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
urllib3==2.2.1
# via requests

0 comments on commit fbb3dfb

Please sign in to comment.