Up docs dependencies and move requirements to docs folder

This commit is contained in:
Ayaz Salikhov
2022-07-17 12:51:31 +04:00
parent c2c7020fa7
commit 1927f66db5
4 changed files with 7 additions and 9 deletions

View File

@@ -11,7 +11,6 @@ on:
- "docs/**"
- "README.md"
- ".readthedocs.yaml"
- "requirements-docs.txt"
push:
branches:
- main
@@ -21,7 +20,6 @@ on:
- "docs/**"
- "README.md"
- ".readthedocs.yaml"
- "requirements-docs.txt"
workflow_dispatch:
jobs:
@@ -44,7 +42,7 @@ jobs:
- name: Install Doc Dependencies 📦
run: |
pip install --upgrade pip
pip install --upgrade -r requirements-docs.txt
pip install --upgrade -r docs/requirements.txt
- name: Build Documentation 📖
run: make docs

View File

@@ -27,4 +27,4 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: requirements-docs.txt
- requirements: docs/requirements.txt

View File

@@ -63,7 +63,7 @@ html_theme = "alabaster"
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
# File above was generated using sphinx 4.3.2 with this command:
# File above was generated using sphinx 4.5.0 with this command:
# sphinx-quickstart --project "docker-stacks" --author "Project Jupyter" -v "latest" -r "latest" -l en --no-sep --no-makefile --no-batchfile
# These are custom options for this project

View File

@@ -1,7 +1,7 @@
# ReadTheDocs environment contains old package versions preinstalled
# So, to ensure we have modern packages, we pin minimum versions of the packages we need
docutils>=0.17
myst-parser>=0.16.1
sphinx>=4.4.0
sphinx-book-theme>=0.3.2
docutils>=0.17.1
myst-parser>=0.18.0
sphinx>=4.5.0
sphinx-book-theme>=0.3.3
sphinx-copybutton>=0.5.0