Redesign website (#2628)

* Bump up Bootstrap to v5.3.1, Bootstrap Icon to v1.10.5.
* Use autoComplete.js to drop dependency on jQuery and typeahead.js.
* Support dark mode.
* New svg logo and icon with responsive color mode support.
* Normalize section ids to lower kebab-case for easiness of linking.
* Use relative paths for links for local development (--root /output).
* Various markup cleanups and accessibility improvements.
This commit is contained in:
itchyny authored and GitHub committed 2023-07-31 09:52:52 +09:00
1 parent 4af3f99728
commit c8e28da129
26 files changed
+402 -656

No files matched your search

+3 -3
View File
@@ -196,9 +196,9 @@ body:
#### Building the documentation
jq's documentation is compiled into static HTML using Python.
To build the docs, run `pipenv run python3 build_website.py` from
the docs/ subdirectory. To serve them locally, you can run
`python3 -m SimpleHTTPServer`. You'll need a few Python dependencies,
To build the docs, run `pipenv run python3 build_website.py --root /output`
in the `docs/` directory. To serve them locally, you can run
`python3 -m http.server`. You'll need a few Python dependencies,
which can be installed by following the instructions in `docs/README.md`.
The man page is built by `make jq.1`, or just `make`, also from
+4 -4
View File
@@ -24,7 +24,7 @@ body3: |
tail: |
Go read the [tutorial](/jq/tutorial/) for more, or the [manual](/jq/manual/)
Go read the [tutorial](./tutorial/) for more, or the [manual](./manual/)
for *way* more.
Have a question related to jq? You can seek answers on [Stack Overflow](https://stackoverflow.com/)
@@ -34,7 +34,7 @@ tail: |
news:
- date: 1 November 2018
body: |
jq 1.6 released. See installation options on the [download](/jq/download/)
jq 1.6 released. See installation options on the [download](./download/)
page, and the [release notes](https://github.com/jqlang/jq/releases/tag/jq-1.6)
for details.
@@ -44,7 +44,7 @@ news:
jq 1.5 released, including new datetime, math, and regexp functions,
try/catch syntax, array and object destructuring, a streaming parser,
and a module system. See installation options on the
[download](/jq/download/) page, and the
[download](./download/) page, and the
[release notes](https://github.com/jqlang/jq/releases/tag/jq-1.5)
for details.
@@ -63,7 +63,7 @@ news:
- date: 09 June 2014
body: |
jq 1.4 (finally) released! Get it on the [download](/jq/download/) page.
jq 1.4 (finally) released! Get it on the [download](./download/) page.
- date: 19 May 2013
body: |
+2 -3
View File
@@ -3,9 +3,8 @@ headline: jq Manual (development version)
history: |
*For released versions, see [jq 1.6](/jq/manual/v1.6),
[jq 1.5](/jq/manual/v1.5), [jq 1.4](/jq/manual/v1.4)
or [jq 1.3](/jq/manual/v1.3).*
*For released versions, see [jq 1.6](./v1.6/), [jq 1.5](./v1.5/),
[jq 1.4](./v1.4/) or [jq 1.3](./v1.3/).*
body: |
+1 -1
View File
@@ -4,7 +4,7 @@ headline: jq 1.3 Manual
history: |
*The manual for the development version of jq can be found
[here](/jq/manual).*
[here](../).*
body: |
+1 -1
View File
@@ -4,7 +4,7 @@ headline: jq 1.4 Manual
history: |
*The manual for the development version of jq can be found
[here](/jq/manual).*
[here](../).*
body: |
+1 -1
View File
@@ -4,7 +4,7 @@ headline: jq 1.5 Manual
history: |
*The manual for the development version of jq can be found
[here](/jq/manual).*
[here](../).*
body: |
+1 -1
View File
@@ -4,7 +4,7 @@ headline: jq 1.6 Manual
history: |
*The manual for the development version of jq can be found
[here](/jq/manual).*
[here](../).*
body: |