@@ -40,19 +40,21 @@ Then move the built Scala jar over to the hlink directory with `mv target/scala-
4040## Working with the Sphinx Docs
4141
4242We use Sphinx to generate the hlink documentation at [ hlink.docs.ipums.org] ( hlink.docs.ipums.org ) .
43- These docs live in the ` sphinx-docs ` directory as Markdown files, and Sphinx converts them to html
44- files that live in the ` docs ` directory. To write out the Sphinx docs to the ` docs ` folder, run
43+ These docs live in the ` sphinx-docs ` directory as Markdown files, and a GitHub Actions
44+ workflow automatically builds them with Sphinx on pushes to main. To manually generate
45+ a local copy of the HTML documentation, run
4546
4647```
4748cd sphinx-docs
48- make
49+ make html
4950```
5051
51- To test out your changes without having to push to the official site, Python's ` http.server ` module
52- works nicely.
52+ This will output the documentation to the \_ build/html/ subdirectory of
53+ sphinx-docs/ by default. To test out your changes without having to push to the
54+ official site, Python's ` http.server ` module works nicely.
5355
5456```
55- python -m http.server -d docs <port>
57+ python -m http.server -d _build/html <port>
5658```
5759
5860starts up an HTTP server running on port ` <port> ` on the local machine.
@@ -78,7 +80,7 @@ Here are the steps to follow when creating the new version.
7880- Decide on the new version number A.B.C, following the scheme above.
7981- Set the new version number in ` pyproject.toml ` .
8082- Reinstall hlink with ` pip install -e .[dev] ` to update the version. Confirm that this worked by running ` hlink --version ` .
81- - Update sphinx-docs/changelog.md with the new version number, then regenerate the Sphinx docs so that they show the correct hlink version number .
83+ - Update sphinx-docs/changelog.md with the new version number and make sure that it is up to date .
8284- After committing your changes, create a git tag ` vA.B.C ` and push it to GitHub.
8385- Finally, create a GitHub release for the tag. This is intended for record-keeping
8486for developers, so it's fine to automatically generate the release notes. The user-
0 commit comments