Skip to content
Myr

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

7 files+9 added−8 removed

added:docs/public/CNAME+1 added
1jqlang.org
modified:docs/build_website.py+2 added-2 removed
10 unmodified lines
11import shutil12import yaml1314parser = argparse.ArgumentParser()15parser.add_argument('--root', default='/jq')15parser.add_argument('--root', default='')16args = parser.parse_args()1718env = Environment(19 loader=FileSystemLoader('templates'),
5 unmodified lines
25 with open(fn) as f:26 return yaml.safe_load(f)272829env.globals['url'] = 'https://jqlang.github.io/jq'29env.globals['url'] = 'https://jqlang.org'30env.globals['root'] = args.root3132env.filters['search_id'] = lambda input: input.replace(r'`', '')33env.filters['section_id'] = lambda input: re.sub(
62 unmodified lines
modified:src/main.c+2 added-2 removed
58 unmodified lines
59 "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 lines
118}119120static 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}125126static int isoptish(const char* text) {
588 unmodified lines
modified:configure.ac+1 added-1 removed
1m4_define([jq_version], m4_esyscmd_s([scripts/version])))23AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.github.io/jq])3AC_INIT([jq],[jq_version],[https://github.com/jqlang/jq/issues],[jq],[https://jqlang.org])45dnl Created autoconf implementation thompson@dtosolutions, 26NOV126AC_PREREQ([2.65])7AC_CONFIG_AUX_DIR([config])
294 unmodified lines
modified:jq.spec+1 added-1 removed
3 unmodified lines
4Name: jq5Version: %{myver}6Release: %{myrel}%{?dist}7Source0: jq-%{myver}.tar.gz8URL: https://jqlang.github.io/jq8URL: https://jqlang.org9License: MIT AND ICU AND CC-BY-3.010AutoReqProv: no11#BuildPrereq: autoconf, libtool, automake, flex, bison, python12
57 unmodified lines
modified:libjq.pc.in+1 added-1 removed
2 unmodified lines
3libdir=@libdir@4includedir=@includedir@56Name: libjq7URL: https://jqlang.github.io/jq/7URL: https://jqlang.org/8Description: Library to process JSON using a query language9Version: @VERSION@10Libs: -L${libdir} -ljq11Cflags: -I${includedir}
modified:README.md+1 added-1 removed