File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,21 @@ Next ensure that the webpage builds, this can be done with
27
27
python3 -m venv sc_webpage_env
28
28
source sc_webpage_env/bin/activate
29
29
python3 -m pip install .
30
- python3 -m jupyter book build -W ./docs
30
+ cd docs
31
+ jupyter book build --html --check-links --strict
31
32
```
32
33
33
- Inspect the webpage locally by opening ` ./docs/_build/html/index.html ` and navigating to the appropriate page.
34
+ Inspect the webpage locally by running
35
+ ``` bash
36
+ python3 -m http.server -d _build/html 8000
37
+ ```
38
+ and opening a browser at ` http://localhost:8000 ` .
39
+
34
40
35
41
Before you push the changes, ensure that the text is properly formatted, run
36
42
37
43
``` bash
38
- pre-commit
44
+ pre-commit run --all
39
45
```
40
46
41
47
Then, make corrections and commit any changes before re-running pre-commit.
You can’t perform that action at this time.
0 commit comments