File tree Expand file tree Collapse file tree 5 files changed +4
-16
lines changed Expand file tree Collapse file tree 5 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1
1
tasks :
2
2
- init : |
3
3
pip3 install sphinx-autobuild
4
- pip3 install -r docs/doc- requirements.txt
4
+ pip3 install -r docs/requirements.txt
5
5
pip3 install -e.
6
6
command: |
7
7
sphinx-autobuild docs/source/ docs/build/html/
File renamed without changes.
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ python3 -m venv .
126
126
source bin/activate
127
127
pip3 install -e .
128
128
pip3 install -r dev-requirements.txt
129
- pip3 install -r docs/doc- requirements.txt
129
+ pip3 install -r docs/requirements.txt
130
130
pip3 install black
131
131
```
132
132
@@ -187,7 +187,7 @@ Then you are good to go!
187
187
If you only changed the documentation, you can also build the documentation locally using ` sphinx ` .
188
188
189
189
``` bash
190
- pip install -r docs/doc- requirements.txt
190
+ pip install -r docs/requirements.txt
191
191
192
192
cd docs/
193
193
make html
Original file line number Diff line number Diff line change @@ -155,18 +155,6 @@ release on the [GitHub repository releases page](https://github.com/jupyterhub/r
155
155
That's it!
156
156
157
157
158
- ## Keeping the Pipfile and requirements files up to date
159
-
160
- We now have both a ` dev-requirements.txt ` and a ` Pifile ` for repo2docker, as
161
- such it is important to keep these in sync/up-to-date.
162
-
163
- Both files use ` pip identifiers ` so if you are updating for example the Sphinx version
164
- in the ` doc-requirements.txt ` (currently ` Sphinx = ">=1.4,!=1.5.4" ` ) you can use the
165
- same syntax to update the Pipfile and viceversa.
166
-
167
- At the moment this has to be done manually so please make sure to update both
168
- files accordingly.
169
-
170
158
# Uncommon tasks
171
159
172
160
## Compare generated Dockerfiles between repo2docker versions
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ type: sphinx
3
3
python :
4
4
version : 3
5
5
setup_py_install : true
6
- requirements_file : docs/doc- requirements.txt
6
+ requirements_file : docs/requirements.txt
You can’t perform that action at this time.
0 commit comments