Skip to content

Commit 16724fb

Browse files
authored
Merge pull request #1749 from mathbunnyru/asalikhov/up_docs_dependencies
Up docs dependencies and move requirements to docs folder
2 parents c2c7020 + 1927f66 commit 16724fb

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

.github/workflows/sphinx.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- "docs/**"
1212
- "README.md"
1313
- ".readthedocs.yaml"
14-
- "requirements-docs.txt"
1514
push:
1615
branches:
1716
- main
@@ -21,7 +20,6 @@ on:
2120
- "docs/**"
2221
- "README.md"
2322
- ".readthedocs.yaml"
24-
- "requirements-docs.txt"
2523
workflow_dispatch:
2624

2725
jobs:
@@ -44,7 +42,7 @@ jobs:
4442
- name: Install Doc Dependencies 📦
4543
run: |
4644
pip install --upgrade pip
47-
pip install --upgrade -r requirements-docs.txt
45+
pip install --upgrade -r docs/requirements.txt
4846
4947
- name: Build Documentation 📖
5048
run: make docs

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ sphinx:
2727
# Optionally declare the Python requirements required to build your docs
2828
python:
2929
install:
30-
- requirements: requirements-docs.txt
30+
- requirements: docs/requirements.txt

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
# so a file named "default.css" will overwrite the builtin "default.css".
6464
html_static_path = ["_static"]
6565

66-
# File above was generated using sphinx 4.3.2 with this command:
66+
# File above was generated using sphinx 4.5.0 with this command:
6767
# sphinx-quickstart --project "docker-stacks" --author "Project Jupyter" -v "latest" -r "latest" -l en --no-sep --no-makefile --no-batchfile
6868
# These are custom options for this project
6969

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# ReadTheDocs environment contains old package versions preinstalled
22
# So, to ensure we have modern packages, we pin minimum versions of the packages we need
3-
docutils>=0.17
4-
myst-parser>=0.16.1
5-
sphinx>=4.4.0
6-
sphinx-book-theme>=0.3.2
3+
docutils>=0.17.1
4+
myst-parser>=0.18.0
5+
sphinx>=4.5.0
6+
sphinx-book-theme>=0.3.3
77
sphinx-copybutton>=0.5.0

0 commit comments

Comments
 (0)