README.md
This file
Path
docs/README.md
25 lines · 1.0 KiB · Markdown
Last changed by
website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
History of this fileTake it
The walk stopped after 200 commits: lines older than fa6a2ff point at it.
website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff
lines 1–25why, one step back1Documentation2=============34The jq website, manpages and some of the tests are generated from this5directory. The manual is a YAML file in `content/manual`.67To build the documentation (including building the jq manpage), you'll8need `python3` and `pipenv`. You can install `pipenv` like so:910 pip install pipenv1112Though, you may need to say `pip3` instead, depending on your system. Once13you have `pipenv` installed, you can install the dependencies by running14`pipenv sync` from the `docs/` directory.1516Also, you may need to run `virtualenv -p /usr/bin/python3 venv/` and17then `source venv/bin/activate`, and only then `pipenv sync`.1819Once this is done, rerun `./configure --enable-docs` in the jq root directory and then20the `Makefile` will be able to generate the jq manpage. You can just run21`make jq.1` to build the manpage manually, and `make tests/man.test` to22update the manual tests.2324To build the website, run `pipenv run python3 build_website.py` in the `docs/` directory.25To serve them locally, you can run `python3 -m http.server -d output`.