Important
These docs are extracted from https://github.com/jqlang/jq. I do not own any of the content in this repository. For the license of the documentation, see the jq repository.
See the preview at https://yochem.nl/jqdocs/.
To build it yourself:
- Install Hugo
git clone https://github.com/yochem/jqdocs && cd jqdocs
hugo serve
This is the structure of this repo. Every item is linked to Hugo documentation where you can read more about it.
content/
: All markdown content for the website. Extracted and adapted from the jq repo.layouts/_default/baseof.html
: Base template for all pageslayouts/_default/single.html
: Template for all single pages (non-index pages)layouts/_default/home.html
: Template for the root index.htmllayouts/manual/single.html
: Template for all manual pageslayouts/manual/list.html
: Uses Hugo to fill the content of pagemanual/
with that of pagemanual/v1.7/
(version number can be configured inhugo.yml
layouts/partials/
: Liketemplates/shared/
in the jq repolayouts/shortcodes/
: Markdown extensions. For now only has one to render code examplesstatic/
: No explanation needed.assets/
: CSS, JS, images.hugo.yml
: Configuration file for Hugo. This defines things like the base url, the menu items in the navigation bar, and the current jq version. This now only affects the default manual to show, but can also be used in the download links and more. I plan to add more config here, so the template files do not have to be touched to update website content. Ideally, the only files in the content folder and this config need to be changed to update content on the website.