website: switch to custom domain jqlang.org (#3243)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by itchyny · committed by GitHub · parent dea5e61 · Browse files · 7 files·+9 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+9 added−8 removed
- other:+9 added−8 removed
Provenance
- Commit
0d1e371- Tree
46f98d3- Author
itchyny <itchyny@cybozu.co.jp>- Committer
GitHub <noreply@github.com>- Parent
dea5e61
7 files changed+9 added−8 removed
added:docs/public/CNAME+1 added
1+jqlang.orgmodified:docs/build_website.py+2 added-2 removed
10 unmodified lines11 import shutil12 import yaml13 14 parser = argparse.ArgumentParser()15-parser.add_argument('--root', default='/jq')15+parser.add_argument('--root', default='')16 args = parser.parse_args()17 18 env = Environment(19 loader=FileSystemLoader('templates'),5 unmodified lines25 with open(fn) as f:26 return yaml.safe_load(f)27 28 29-env.globals['url'] = 'https://jqlang.github.io/jq'29+env.globals['url'] = 'https://jqlang.org'30 env.globals['root'] = args.root31 32 env.filters['search_id'] = lambda input: input.replace(r'`', '')33 env.filters['section_id'] = lambda input: re.sub(62 unmodified linesmodified:src/main.c+2 added-2 removed
58 unmodified lines59 "its JSON text inputs and producing the filter's results as JSON on\n"60 "standard output.\n\n"61 "The simplest filter is ., which copies jq's input to its output\n"62 "unmodified except for formatting. For more advanced filters see\n"63- "the jq(1) manpage (\"man jq\") and/or https://jqlang.github.io/jq/.\n\n"63+ "the jq(1) manpage (\"man jq\") and/or https://jqlang.org/.\n\n"64 "Example:\n\n\t$ echo '{\"foo\": 0}' | jq .\n"65 "\t{\n\t \"foo\": 0\n\t}\n\n",66 JQ_VERSION, progname, progname, progname);67 if (keep_it_short) {50 unmodified lines118 }119 120 static void die() {121 fprintf(stderr, "Use %s --help for help with command-line options,\n", progname);122- fprintf(stderr, "or see the jq manpage, or online docs at https://jqlang.github.io/jq\n");122+ fprintf(stderr, "or see the jq manpage, or online docs at https://jqlang.org\n");123 exit(2);124 }125 126 static int isoptish(const char* text) {588 unmodified linesmodified:configure.ac+1 added-1 removed
1 m4_define([jq_version], m4_esyscmd_s([scripts/version])))2 3-AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.github.io/jq])3+AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.org])4 5 dnl Created autoconf implementation thompson@dtosolutions, 26NOV126 AC_PREREQ([2.65])7 AC_CONFIG_AUX_DIR([config])294 unmodified linesmodified:jq.spec+1 added-1 removed
3 unmodified lines4 Name: jq5 Version: %{myver}6 Release: %{myrel}%{?dist}7 Source0: jq-%{myver}.tar.gz8-URL: https://jqlang.github.io/jq8+URL: https://jqlang.org9 License: MIT AND ICU AND CC-BY-3.010 AutoReqProv: no11 #BuildPrereq: autoconf, libtool, automake, flex, bison, python12 57 unmodified linesmodified:libjq.pc.in+1 added-1 removed
2 unmodified lines3 libdir=@libdir@4 includedir=@includedir@5 6 Name: libjq7-URL: https://jqlang.github.io/jq/7+URL: https://jqlang.org/8 Description: Library to process JSON using a query language9 Version: @VERSION@10 Libs: -L${libdir} -ljq11 Cflags: -I${includedir}modified:README.md+1 added-1 removed
2 unmodified lines34567789101164 unmodified lines2 unmodified lines`jq` is a lightweight and flexible command-line JSON processor akin to `sed`,`awk`,`grep`, and friends for JSON data. It's written in portable C and has zero runtime dependencies, allowing you to easily slice, filter, map, and transform structured data.
## 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
64 unmodified lines