You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _InstructionSiteUpdates.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,14 +56,14 @@ It is worth noting that we are using the `source` branch as the base for this re
56
56
57
57
#### Environment
58
58
59
-
There is a pre-configured conda environment in `environment.yml`.
60
-
To use it, `conda env create --file environment.yml`, then activate with `conda activate ohw-site`.
59
+
There is a pre-configured conda environment in `pixi.toml`.
60
+
To use it, prefix commands with `pixi run` to make sure the environment is up to date.
61
61
62
62
#### Commands
63
63
64
-
-`make live` - The environment is setup with [sphinx-autobuild](https://pypi.org/project/sphinx-autobuild/) which will update open browsers when files are saved. The site will be available at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
65
-
-`make html` - Launch a one off build of HTML output.
66
-
-`make clean` - Clean all the build directories. This can be useful as Sphinx tries to do incremental builds, and sometimes it will end up out of sync.
64
+
-`pixi run live` - The environment is setup with [sphinx-autobuild](https://pypi.org/project/sphinx-autobuild/) which will update open browsers when files are saved. The site will be available at [http://127.0.0.1:8000/](http://127.0.0.1:8000/).
65
+
-`pixi run html` - Launch a one off build of HTML output.
66
+
-`pixi run clean` - Clean all the build directories. This can be useful as Sphinx tries to do incremental builds, and sometimes it will end up out of sync.
67
67
-`git pull upstream source` to bring in any changes from the main repo.
68
68
69
69
### Writing and Linking Pages
@@ -210,7 +210,7 @@ After you create a PR, Netlify will build the site and make a comment with a lin
210
210
While most pages follow the same structure in the repo, as they do on the website, there are a few additional files to be aware of:
211
211
212
212
-`conf.pd` - This is the Sphinx configuration file.
213
-
-`environment.yml` - The conda environment needed to build the website.
213
+
-`pixi.toml` - The conda environment needed to build the website.
214
214
-`requirements.txt` - A pip installable environment to build the website. This is mainly used by Netlify to create previews of Pull Requests. It is generated with `pip list --format=freeze > requirements.txt`
215
215
-`posts.md` - A stub page that is replaced when blog posts are generated.
216
216
-`_build/` - Automatically generated output from Sphinx.
0 commit comments