summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authoritchyny <itchyny@cybozu.co.jp>2023-07-31 09:52:52 +0900
committerGitHub <noreply@github.com>2023-07-31 09:52:52 +0900
commitc8e28da12973f8844ac0457e2db6ccd56286b34a (patch)
tree614af32689cf652eb7446eb9dfa4f1d91a2f1c97 /docs/content
parent4af3f99728f924b327b6f455c52452ef0ca09e1a (diff)
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.
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/download/default.yml6
-rw-r--r--docs/content/index.yml8
-rw-r--r--docs/content/manual/manual.yml5
-rw-r--r--docs/content/manual/v1.3/manual.yml2
-rw-r--r--docs/content/manual/v1.4/manual.yml2
-rw-r--r--docs/content/manual/v1.5/manual.yml2
-rw-r--r--docs/content/manual/v1.6/manual.yml2
7 files changed, 13 insertions, 14 deletions
diff --git a/docs/content/download/default.yml b/docs/content/download/default.yml
index 4f39c612..970f1c85 100644
--- a/docs/content/download/default.yml
+++ b/docs/content/download/default.yml
@@ -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
diff --git a/docs/content/index.yml b/docs/content/index.yml
index 02ecafe5..82dcde98 100644
--- a/docs/content/index.yml
+++ b/docs/content/index.yml
@@ -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: |
diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml
index 89252ac2..e4c8c64b 100644
--- a/docs/content/manual/manual.yml
+++ b/docs/content/manual/manual.yml
@@ -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: |
diff --git a/docs/content/manual/v1.3/manual.yml b/docs/content/manual/v1.3/manual.yml
index c018e314..8cab6204 100644
--- a/docs/content/manual/v1.3/manual.yml
+++ b/docs/content/manual/v1.3/manual.yml
@@ -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: |
diff --git a/docs/content/manual/v1.4/manual.yml b/docs/content/manual/v1.4/manual.yml
index 6cc1c591..cbfb8263 100644
--- a/docs/content/manual/v1.4/manual.yml
+++ b/docs/content/manual/v1.4/manual.yml
@@ -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: |
diff --git a/docs/content/manual/v1.5/manual.yml b/docs/content/manual/v1.5/manual.yml
index be2f1c56..14f70532 100644
--- a/docs/content/manual/v1.5/manual.yml
+++ b/docs/content/manual/v1.5/manual.yml
@@ -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: |
diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml
index be62cab6..0a3d6002 100644
--- a/docs/content/manual/v1.6/manual.yml
+++ b/docs/content/manual/v1.6/manual.yml
@@ -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: |