Skip to content

Commit

Permalink
website: switch to custom domain jqlang.org (#3243)
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny authored Feb 1, 2025
1 parent dea5e61 commit 0d1e371
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Documentation

- **Official Documentation**: [jqlang.github.io/jq](https://jqlang.github.io/jq)
- **Official Documentation**: [jqlang.org](https://jqlang.org)
- **Try jq Online**: [jqplay.org](https://jqplay.org)

## Installation
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
m4_define([jq_version], m4_esyscmd_s([scripts/version])))

AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.github.io/jq])
AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.org])

dnl Created autoconf implementation thompson@dtosolutions, 26NOV12
AC_PREREQ([2.65])
Expand Down
4 changes: 2 additions & 2 deletions docs/build_website.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import yaml

parser = argparse.ArgumentParser()
parser.add_argument('--root', default='/jq')
parser.add_argument('--root', default='')
args = parser.parse_args()

env = Environment(
Expand All @@ -26,7 +26,7 @@ def load_yml_file(fn):
return yaml.safe_load(f)


env.globals['url'] = 'https://jqlang.github.io/jq'
env.globals['url'] = 'https://jqlang.org'
env.globals['root'] = args.root

env.filters['search_id'] = lambda input: input.replace(r'`', '')
Expand Down
1 change: 1 addition & 0 deletions docs/public/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jqlang.org
2 changes: 1 addition & 1 deletion jq.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Name: jq
Version: %{myver}
Release: %{myrel}%{?dist}
Source0: jq-%{myver}.tar.gz
URL: https://jqlang.github.io/jq
URL: https://jqlang.org
License: MIT AND ICU AND CC-BY-3.0
AutoReqProv: no
#BuildPrereq: autoconf, libtool, automake, flex, bison, python
Expand Down
2 changes: 1 addition & 1 deletion libjq.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ libdir=@libdir@
includedir=@includedir@

Name: libjq
URL: https://jqlang.github.io/jq/
URL: https://jqlang.org/
Description: Library to process JSON using a query language
Version: @VERSION@
Libs: -L${libdir} -ljq
Expand Down
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static void usage(int code, int keep_it_short) {
"standard output.\n\n"
"The simplest filter is ., which copies jq's input to its output\n"
"unmodified except for formatting. For more advanced filters see\n"
"the jq(1) manpage (\"man jq\") and/or https://jqlang.github.io/jq/.\n\n"
"the jq(1) manpage (\"man jq\") and/or https://jqlang.org/.\n\n"
"Example:\n\n\t$ echo '{\"foo\": 0}' | jq .\n"
"\t{\n\t \"foo\": 0\n\t}\n\n",
JQ_VERSION, progname, progname, progname);
Expand Down Expand Up @@ -119,7 +119,7 @@ static void usage(int code, int keep_it_short) {

static void die() {
fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);
fprintf(stderr, "or see the jq manpage, or online docs at https://jqlang.github.io/jq\n");
fprintf(stderr, "or see the jq manpage, or online docs at https://jqlang.org\n");
exit(2);
}

Expand Down

0 comments on commit 0d1e371

Please sign in to comment.