File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -8,18 +8,32 @@ The portal site is built with [sphinx](https://www.sphinx-doc.org/).
8
8
To build the site locally (e.g. for testing new content),
9
9
use [ conda] ( https://docs.conda.io/ ) to set up a build environment with all dependencies.
10
10
11
- First, make a local clone of this source repository on your machine.
12
- Then, from the ` content ` directory of the source repository, do this:
11
+ First, make a local clone of this source repository on your machine. For example:
12
+
13
+ ```
14
+ git clone https://github.com/ProjectPythia/projectpythia.github.io.git
15
+ ```
16
+
17
+ Then, change working directories to the local repository's ` content ` directory:
18
+
19
+ ```
20
+ cd projectpythia.github.io/content
21
+ ```
22
+
23
+ Set up your a conda environment:
24
+
13
25
```
14
26
conda env create -f ../ci/environment.yml
15
27
conda activate pythia
16
28
```
17
29
18
30
You can then build the site:
31
+
19
32
```
20
33
make html
21
34
```
22
- and view the built site in your web browser with
35
+ and view the built site in your web browser with:
36
+
23
37
```
24
38
open _build/html/index.html
25
39
```
You can’t perform that action at this time.
0 commit comments