Skip to content

Commit

Permalink
update pip dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
tkknight committed Nov 7, 2023
1 parent c8f363d commit 74fadb1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ python:
install:
- method: pip
path: .
extra_requirements:
- docs
1 change: 1 addition & 0 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def _dotv(version):
]

if on_rtd:
# search as you type on readthedocs only.
extensions.extend(["sphinx_search.extension"])

if skip_api == "1":
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ readme = {file = "README.md", content-type = "text/markdown"}
include = ["iris*"]
where = ["lib"]

[tool.setuptools.dynamic.optional-dependencies]
docs = {file = ["requirements/pypi-optional-docs.txt"]}

[tool.setuptools_scm]
write_to = "lib/iris/_version.py"
local_scheme = "dirty-tag"
Expand Down
1 change: 1 addition & 0 deletions requirements/pypi-optional-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
readthedocs-sphinx-search

0 comments on commit 74fadb1

Please sign in to comment.