mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 06:46:14 +00:00
Documentation: Refactor Sphinx dependencies into setup.py
This commit is contained in:
committed by
Andreas Motl
parent
d93e3cd12c
commit
c32e8c7468
@@ -20,7 +20,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: ["ubuntu-latest"]
|
||||
python-version: ["3.11"]
|
||||
python-version: ["3.12"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
|
||||
- name: Install package and documentation dependencies
|
||||
run: |
|
||||
uv pip install --system '.[develop]' --requirement=docs/requirements.txt
|
||||
uv pip install --system '.[develop,docs]'
|
||||
|
||||
- name: Run link checker
|
||||
run: |
|
||||
|
||||
+4
-1
@@ -14,7 +14,10 @@ build:
|
||||
|
||||
python:
|
||||
install:
|
||||
- requirements: docs/requirements.txt
|
||||
- method: pip
|
||||
path: .
|
||||
extra_requirements:
|
||||
- docs
|
||||
|
||||
sphinx:
|
||||
configuration: docs/source/conf.py
|
||||
|
||||
+6
-1
@@ -8,7 +8,7 @@ git clone https://github.com/kennethreitz/responder
|
||||
cd responder
|
||||
python3 -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install --editable '.[graphql,develop,release,test]'
|
||||
pip install --editable '.[graphql,develop,docs,release,test]'
|
||||
```
|
||||
|
||||
Invoke linter and software tests.
|
||||
@@ -20,3 +20,8 @@ Format code.
|
||||
```shell
|
||||
poe format
|
||||
```
|
||||
|
||||
Documentation authoring.
|
||||
```shell
|
||||
poe docs-autobuild
|
||||
```
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
alabaster<1.1
|
||||
jinja2<3.2
|
||||
markupsafe<4
|
||||
readme-renderer<45
|
||||
sphinx>=5,<9
|
||||
sphinxcontrib-websupport<2.1
|
||||
Reference in New Issue
Block a user