website: remove unused root path on building website (#3248)

We no longer use the `--root` option of `build_website.py` since we have
moved to jqlang.org (from jqlang.github.io/jq where the root was `/jq`).
We don't need the option on local development either since `http.server`
has the `-d` option to specify the directory to serve from.
This commit is contained in:
itchyny authored and GitHub committed 2025-02-06 22:42:27 +09:00
1 parent e33578a53e
commit fa6a2ff688
7 files changed
+20 -28

No files matched your search

+2 -3
View File
@@ -21,6 +21,5 @@ the `Makefile` will be able to generate the jq manpage. You can just run
`make jq.1` to build the manpage manually, and `make tests/man.test` to
update the manual tests.
To build the website, run `pipenv run python3 build_website.py --root /output`
in the `docs/` directory. To serve them locally, you can run
`python3 -m http.server`.
To build the website, run `pipenv run python3 build_website.py` in the `docs/` directory.
To serve them locally, you can run `python3 -m http.server -d output`.