提交 76c044f3 编写于 作者: W William Langford

Regenerate website

上级 c084d78c
body{padding-top:80px}.container{max-width:970px}#blurb{padding-top:40px}#blurb p{font-size:1.9em}#blurb .btn-group{margin:4px}#multiblurb{line-height:1.7;text-align:center;font-size:12pt}#multiblurb code{border:0;font-size:12pt}#news{font-size:12pt}#news .date{font-style:italic}.tutorial-example{position:relative;margin-bottom:10px}.tutorial-example pre{margin-bottom:0}.tutorial-example a{position:absolute;top:0;right:0;padding:15px 8px;color:#777;font-weight:bold;line-height:10px;font-size:12px;border-left:1px solid #ddd;display:block}.tutorial-example .accordion-body pre{margin:0 4px;border-top:0;border-top-left-radius:0;border-top-right-radius:0}@media print{.tutorial-example a{display:none}}section{padding-top:24px}h3 code{border:0;font-size:20px}@media(max-width:991px){#navcolumn{position:relative !important;margin-bottom:60px}}@media(min-width:992px){#manualcontent{padding-left:280px}}.nav-pills{margin-bottom:20px}.nav-pills li a{padding:8px 12px}.manual-example table{border-top:1px solid #e5e5e5}.manual-example table td{white-space:pre-wrap;font-family:Monaco,Menlo,Consolas,"Courier New",monospace}.manual-example table td.jqprogram{font-weight:bold}.manual-example table th{text-align:right;padding-right:10px}@media print{#navcolumn{display:none !important}.manual-example{display:block !important;height:auto !important}.jqplay-btn{display:none !important}}footer{background-color:#f5f5f5;padding:20px 0;margin-top:40px;color:#999;text-align:center}footer p{margin:8px 0}.twitter-typeahead{width:100%}.tt-menu{width:100%;background-color:#fff;padding:8px 0;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2)}.tt-suggestion{padding:3px 20px}.tt-suggestion:hover{cursor:pointer;color:#fff;background-color:#446e9b}.tt-suggestion.tt-cursor{color:#fff;background-color:#446e9b}.tt-suggestion p{margin:0}
\ No newline at end of file
body {
padding-top: 80px;
}
.container {
max-width: 970px;
}
/* index.liquid *******************************************/
#blurb {
padding-top: 40px;
}
#blurb p {
font-size: 1.9em;
}
#blurb .btn-group {
margin: 4px;
}
#multiblurb {
line-height: 1.7;
text-align: center;
font-size: 12pt;
}
#multiblurb code {
border: 0;
font-size: 12pt;
}
#news {
font-size: 12pt;
}
#news .date {
font-style: italic;
}
/* default.liquid *****************************************/
.tutorial-example {
position: relative;
margin-bottom: 10px;
}
.tutorial-example pre {
margin-bottom: 0px;
}
.tutorial-example a {
position: absolute;
top: 0px;
right: 0px;
padding: 15px 8px;
color: #777777;
font-weight: bold;
line-height: 10px;
font-size: 12px;
border-left: 1px solid #DDDDDD;
display: block;
}
.tutorial-example .accordion-body pre {
margin: 0 4px;
border-top: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
@media print {
.tutorial-example a {
display: none;
}
}
/* manual.liquid ******************************************/
section {
padding-top: 24px;
}
h3 code {
border: 0;
font-size: 20px;
}
@media (max-width: 991px) {
#navcolumn {
/* Put nav column above manual content */
position: relative !important;
margin-bottom: 60px;
}
}
@media (min-width: 992px) {
#manualcontent {
/* Put nav column left of manual content */
padding-left: 280px;
}
}
.nav-pills {
margin-bottom: 20px;
}
.nav-pills li a {
padding: 8px 12px;
}
.manual-example table {
border-top: 1px solid #E5E5E5;
}
.manual-example table td {
white-space: pre-wrap;
font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}
.manual-example table td.jqprogram {
font-weight: bold;
}
.manual-example table th {
text-align: right;
padding-right: 10px;
}
@media print {
#navcolumn {
display: none !important;
}
.manual-example {
display: block !important;
height: auto !important;
}
.jqplay-btn {
display: none !important;
}
}
/* shared/_footer.liquid **********************************/
footer {
background-color: #F5F5F5;
padding: 20px 0;
margin-top: 40px;
color: #999999;
text-align: center;
}
footer p {
margin: 8px 0;
}
/* typeahead **********************************************/
.twitter-typeahead {
width: 100%;
}
.tt-menu {
width: 100%;
background-color: #fff;
padding: 8px 0;
border: 1px solid #ccc;
border: 1px solid rgba(0, 0, 0, 0.2);
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.tt-suggestion {
padding: 3px 20px;
}
.tt-suggestion:hover {
cursor: pointer;
color: #fff;
background-color: #446e9b;
}
.tt-suggestion.tt-cursor {
color: #fff;
background-color: #446e9b;
}
.tt-suggestion p {
margin: 0;
}
......@@ -18,7 +18,6 @@
<![endif]-->
</head>
<body id="download">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
......@@ -56,175 +55,217 @@
</div>
</div>
<div class="container">
<div class="row">
<h1>Download jq</h1>
<p>jq is written in C and has no runtime dependencies, so it should be possible to build it for nearly any platform. Prebuilt binaries are available for Linux, OS X and Windows.</p>
<p>The binaries should just run, but on OS X and Linux you may need to make them executable first using <code>chmod +x jq</code>.</p>
<p>jq is licensed under the MIT license. For all of the gory details, read the file <code>COPYING</code> in the source distribution.</p>
<h3 id="linux">Linux</h3>
<p>jq is written in C and has no runtime dependencies, so it should be
possible to build it for nearly any platform. Prebuilt binaries are
available for Linux, OS X and Windows.</p>
<p>The binaries should just run, but on OS X and Linux you may need
to make them executable first using <code>chmod +x jq</code>.</p>
<p>jq is licensed under the MIT license. For all of the gory
details, read the file <code>COPYING</code> in the source distribution.</p>
<p>jq uses a C library for decimal number support. This is an ICU 1.8.1
licensed code obtained from the ICU downloads archive
http://download.icu-project.org/files/decNumber/decNumber-icu-368.zip.</p>
<h3>Linux</h3>
<ul>
<li>
<p>jq 1.5 is in the official <a href="https://packages.debian.org/jq">Debian</a> and <a href="http://packages.ubuntu.com/jq">Ubuntu</a> repositories. Install using <code>sudo apt-get install jq</code>.</p>
<p>jq 1.5 is in the official <a href="https://packages.debian.org/jq">Debian</a> and
<a href="http://packages.ubuntu.com/jq">Ubuntu</a> repositories. Install using
<code>sudo apt-get install jq</code>.</p>
</li>
<li>
<p>jq 1.5 is in the official <a href="http://pkgs.fedoraproject.org/cgit/jq.git/">Fedora</a> repository. Install using <code>sudo dnf install jq</code>.</p>
<p>jq 1.5 is in the official
<a href="http://pkgs.fedoraproject.org/cgit/jq.git/">Fedora</a> repository.
Install using <code>sudo dnf install jq</code>.</p>
</li>
<li>
<p>jq 1.4 is in the official <a href="https://software.opensuse.org/package/jq">openSUSE</a> repository. Install using <code>sudo zypper install jq</code>.</p>
<p>jq 1.4 is in the official <a href="https://software.opensuse.org/package/jq">openSUSE</a>
repository. Install using <code>sudo zypper install jq</code>.</p>
</li>
<li>
<p>jq 1.5 is in the official <a href="https://www.archlinux.org/packages/?sort=&q=jq&maintainer=&flagged=">Arch</a> repository. Install using <code>sudo pacman -Sy jq</code>.</p>
<p>jq 1.5 is in the official
<a href="https://www.archlinux.org/packages/?sort=&amp;q=jq&amp;maintainer=&amp;flagged=">Arch</a>
repository. Install using <code>sudo pacman -S jq</code>.</p>
</li>
<li>
<p>jq 1.6 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux32">32-bit</a>.</p>
<p>jq 1.6 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux32">32-bit</a>.</p>
</li>
<li>
<p>jq 1.5 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux32">32-bit</a>.</p>
<p>jq 1.5 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux32">32-bit</a>.</p>
</li>
<li>
<p>jq 1.4 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86_64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86">32-bit</a>.</p>
<p>jq 1.4 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86_64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-linux-x86">32-bit</a>.</p>
</li>
<li>
<p>jq 1.3 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86_64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86">32-bit</a>.</p>
<p>jq 1.3 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86_64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-linux-x86">32-bit</a>.</p>
</li>
</ul>
<h3 id="os_x">OS X</h3>
<h3>OS X</h3>
<ul>
<li>
<p>Use <a href="http://brew.sh/">Homebrew</a> to install jq 1.6 with <code>brew install jq</code>.</p>
<p>Use <a href="http://brew.sh/">Homebrew</a> to install jq 1.6 with
<code>brew install jq</code>.</p>
</li>
<li>
<p>jq 1.6 binary for <a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64">64-bit</a>.</p>
<p>Use <a href="https://www.macports.org">MacPorts</a> to install jq 1.6 with
<code>port install jq</code>.</p>
</li>
<li>
<p>jq 1.5 binary for <a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64">64-bit</a>.</p>
<p>jq 1.6 binary for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-amd64">64-bit</a>.</p>
</li>
<li>
<p>jq 1.4 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86_64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86">32-bit</a>.</p>
<p>jq 1.5 binary for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64">64-bit</a>.</p>
</li>
<li>
<p>jq 1.4 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86_64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-osx-x86">32-bit</a>.</p>
</li>
<li>
<p>jq 1.3 binaries for <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86_64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86">32-bit</a>.</p>
<p>jq 1.3 binaries for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86_64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-osx-x86">32-bit</a>.</p>
</li>
</ul>
<h3 id="freebsd">FreeBSD</h3>
<h3>FreeBSD</h3>
<ul>
<li>
<p><code>pkg install jq</code> as root installs a pre-built <a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">binary package</a>.</p>
<p><code>pkg install jq</code> as root installs a pre-built
<a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html">binary package</a>.</p>
</li>
<li>
<p><code>make -C /usr/ports/textproc/jq install clean</code> as root installs the <a href="https://www.freshports.org/textproc/jq/">jq</a> <a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html">port</a> from source.</p>
<p><code>make -C /usr/ports/textproc/jq install clean</code> as root installs the
<a href="https://www.freshports.org/textproc/jq/">jq</a>
<a href="https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html">port</a>
from source.</p>
</li>
</ul>
<h3 id="solaris">Solaris</h3>
<h3>Solaris</h3>
<ul>
<li>
<p><code>pkgutil -i jq</code> in <a href="https://www.opencsw.org/p/jq">OpenCSW</a> for Solaris 10+, Sparc and x86.</p>
<p><code>pkgutil -i jq</code> in <a href="https://www.opencsw.org/p/jq">OpenCSW</a> for Solaris
10+, Sparc and x86.</p>
</li>
<li>
<p>jq 1.4 binaries for Solaris 11 <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-64">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-32">32-bit</a>.</p>
<p>jq 1.4 binaries for Solaris 11
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-64">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-solaris11-32">32-bit</a>.</p>
</li>
</ul>
<h3 id="windows">Windows</h3>
<h3>Windows</h3>
<ul>
<li>
<p>Use <a href="https://chocolatey.org/">Chocolatey NuGet</a> to install jq 1.5 with <code>chocolatey install jq</code>.</p>
<p>Use <a href="https://chocolatey.org/">Chocolatey NuGet</a> to install jq 1.5 with
<code>chocolatey install jq</code>.</p>
</li>
<li>
<p>jq 1.6 executables for <a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win32.exe">32-bit</a>.</p>
<p>jq 1.6 executables for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win32.exe">32-bit</a>.</p>
</li>
<li>
<p>jq 1.5 executables for <a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win64.exe">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win32.exe">32-bit</a>.</p>
<p>jq 1.5 executables for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win64.exe">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-win32.exe">32-bit</a>.</p>
</li>
<li>
<p>jq 1.4 executables for <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win64.exe">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win32.exe">32-bit</a>.</p>
<p>jq 1.4 executables for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win64.exe">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.4/jq-win32.exe">32-bit</a>.</p>
</li>
<li>
<p>jq 1.3 executables for <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win64.exe">64-bit</a> or <a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win32.exe">32-bit</a>.</p>
<p>jq 1.3 executables for
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win64.exe">64-bit</a>
or
<a href="https://github.com/stedolan/jq/releases/download/jq-1.3/jq-win32.exe">32-bit</a>.</p>
</li>
</ul>
<h3 id="checksums_and_signatures">Checksums and signatures</h3>
<p>SHA-256 checksums are provided for all release and pre-release binaries. They can be found under <a href="https://github.com/stedolan/jq/tree/master/sig">sig/v1.x/sha256sum.txt</a>. The checksums for jq 1.6 are in <a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.6/sha256sum.txt">sig/v1.6/sha256sum.txt</a>. The checksums for jq 1.5 are in <a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.5/sha256sum.txt">sig/v1.5/sha256sum.txt</a>.</p>
<p>Additionally, all binaries are signed by the <a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key">jq Package Signing Key</a>. The signatures can be found under <a href="https://github.com/stedolan/jq/tree/master/sig">sig/v1.x/*.asc</a>. The signatures for jq 1.6 are in <a href="https://github.com/stedolan/jq/tree/master/sig/v1.6">sig/v1.5/*.asc</a>. The signatures for jq 1.5 are in <a href="https://github.com/stedolan/jq/tree/master/sig/v1.5">sig/v1.5/*.asc</a>. You can use <a href="https://gnupg.org/">GnuPG</a> to verify a signature by downloading the signature and running <code>gpg --verify signature.asc</code>.</p>
<h3 id="from_source_on_linux_os_x_cygwin_and_other_posixlike_operating_systems">From source on Linux, OS X, Cygwin, and other POSIX-like operating systems</h3>
<h3>Checksums and signatures</h3>
<p>SHA-256 checksums are provided for all release and pre-release binaries.
They can be found under
<a href="https://github.com/stedolan/jq/tree/master/sig">sig/v1.x/sha256sum.txt</a>.
The checksums for jq 1.6 are in
<a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.6/sha256sum.txt">sig/v1.6/sha256sum.txt</a>.
The checksums for jq 1.5 are in
<a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/v1.5/sha256sum.txt">sig/v1.5/sha256sum.txt</a>.</p>
<p>Additionally, all binaries are signed by the
<a href="https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key">jq Package Signing Key</a>.
The signatures can be found under
<a href="https://github.com/stedolan/jq/tree/master/sig">sig/v1.x/*.asc</a>.
The signatures for jq 1.6 are in
<a href="https://github.com/stedolan/jq/tree/master/sig/v1.6">sig/v1.5/*.asc</a>.
The signatures for jq 1.5 are in
<a href="https://github.com/stedolan/jq/tree/master/sig/v1.5">sig/v1.5/*.asc</a>.
You can use <a href="https://gnupg.org/">GnuPG</a> to verify a signature by downloading
the signature and running <code>gpg --verify signature.asc</code>.</p>
<h3>From source on Linux, OS X, Cygwin, and other POSIX-like operating systems</h3>
<ul>
<li><a href="https://github.com/stedolan/jq/releases/download/jq-1.6/jq-1.6.tar.gz">Source tarball for jq 1.6</a></li>
<li><a href="https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz">Source tarball for jq 1.5</a></li>
</ul>
<p>You can build it using the usual <code>./configure &amp;&amp; make &amp;&amp; sudo
make install</code> rigmarole.</p>
<p>If you’re interested in using the lastest development version, try:</p>
<p>If you're interested in using the lastest development version, try:</p>
<pre><code>git clone https://github.com/stedolan/jq.git
cd jq
autoreconf -i
./configure --disable-maintainer-mode
make
sudo make install</code></pre>
<p>To build it from a git clone, you’ll need to install a few packages first:</p>
sudo make install
</code></pre>
<p>To build it from a git clone, you'll need to install a few
packages first:</p>
<ul>
<li><a href="https://gcc.gnu.org">GCC</a></li>
<li><a href="https://www.gnu.org/software/make/">Make</a></li>
<li><a href="https://www.gnu.org/software/automake/">Autotools</a></li>
</ul>
<p>For Linux systems, these will all be in your system’s package manager, and if you do development on the machine they’re most likely already installed.</p>
<p>On OS X, these are all included in Apple’s command line tools, which can be installed from <a href="https://developer.apple.com/xcode/">Xcode</a>. However, you may find that you need a newer version of Bison than the one provided by Apple. This can be found in <a href="http://brew.sh">Homebrew</a> or <a href="https://macports.org/">MacPorts</a>.</p>
<p>The <code>--disable-maintainer-mode</code> flag says to use the pre-generated lexer and parser that come with the code. To compile the lexer and parser also from source, leave out this flag. You will need to install <a href="http://flex.sourceforge.net/">Flex</a> and <a href="https://www.gnu.org/software/bison/">Bison</a>.</p>
<h4 id="building_the_documentation">Building the documentation</h4>
<p>jq’s documentation is compiled into static HTML using <a href="http://www.tinytree.info">Bonsai</a>. To view the documentation locally, run <code>rake serve</code> (or <code>bundle exec rake serve</code>) from the docs/ subdirectory. To build the docs just <code>rake build</code> from the docs subdirectory. You’ll need a few Ruby dependencies, which can be installed by following the instructions in <code>docs/README.md</code>.</p>
<p>The man page is built by <code>make jq.1</code>, or just <code>make</code>, also from the YAML docs, and you’ll still need the Ruby dependencies to build the manpage.</p>
<p>For Linux systems, these will all be in your system's package
manager, and if you do development on the machine they're most
likely already installed.</p>
<p>On OS X, these are all included in Apple's command line tools, which can
be installed from <a href="https://developer.apple.com/xcode/">Xcode</a>. However,
you may find that you need a newer version of Bison than the one provided
by Apple. This can be found in <a href="http://brew.sh">Homebrew</a> or
<a href="https://macports.org/">MacPorts</a>.</p>
<p>The <code>--disable-maintainer-mode</code> flag says to use the pre-generated lexer
and parser that come with the code. To compile the lexer and parser also
from source, leave out this flag. You will need to install
<a href="http://flex.sourceforge.net/">Flex</a> and
<a href="https://www.gnu.org/software/bison/">Bison</a>.</p>
<h4>Building the documentation</h4>
<p>jq's documentation is compiled into static HTML using Python.
To build the docs, run <code>pipenv run python3 build_website.py</code> from
the docs/ subdirectory. To serve them locally, you can run
<code>python3 -m SimpleHTTPServer</code>. You'll need a few Python dependencies,
which can be installed by following the instructions in <code>docs/README.md</code>.</p>
<p>The man page is built by <code>make jq.1</code>, or just <code>make</code>, also from
the YAML docs, and you'll still need the Python dependencies to
build the manpage.</p>
......@@ -234,7 +275,7 @@ sudo make install</code></pre>
<footer>
<div class="container">
<p>This website is made with <a href="http://www.tinytree.info">Bonsai</a> and <a href="http://getbootstrap.com">Bootstrap</a>, themed with <a href="https://bootswatch.com">Bootswatch</a>.</p>
<p>This website is made with <a href="http://getbootstrap.com">Bootstrap</a>, themed with <a href="https://bootswatch.com">Bootswatch</a>.</p>
<p>jq is licensed under the MIT license (code) and the <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY-3.0</a> license (docs).</p>
</div>
</footer>
......@@ -242,6 +283,5 @@ sudo make install</code></pre>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="https://twitter.github.io/typeahead.js/releases/0.11.1/typeahead.bundle.js"></script>
</body>
</html>
</html>
\ No newline at end of file
......@@ -18,7 +18,6 @@
<![endif]-->
</head>
<body id="index">
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
......@@ -56,7 +55,6 @@
</div>
</div>
<div class="container">
<div class="row">
<div class="jumbotron">
......@@ -104,15 +102,16 @@ dependencies. You can download a single binary, <code>scp</code> it to a far awa
machine of the same type, and expect it to work.</p></div>
<div class="col-sm-4"><p>jq can mangle the data format that you have into the one that you
want with very little effort, and the program to do so is often
shorter and simpler than you&rsquo;d expect.</p></div>
shorter and simpler than you'd expect.</p></div>
</div>
<div class="row" style="text-align:center; margin-top: 30px">
<p>Go read the <a href='/jq/tutorial/'>tutorial</a> for more, or the <a href='/jq/manual/'>manual</a>
for <em>way</em> more.</p><p>Ask questions on <a href='https://stackoverflow.com/'>stackoverflow</a> using the <a href='https://stackoverflow.com/questions/tagged/jq'>jq
<p>Go read the <a href="/jq/tutorial/">tutorial</a> for more, or the <a href="/jq/manual/">manual</a>
for <em>way</em> more.</p>
<p>Ask questions on <a href="https://stackoverflow.com/">stackoverflow</a> using the <a href="https://stackoverflow.com/questions/tagged/jq">jq
tag</a>, or on the
<a href='http://irc.lc/freenode/%23jq/'>#jq</a> channel on
<a href='https://webchat.freenode.net/'>Freenode</a>.</p>
<a href="http://irc.lc/freenode/%23jq/">#jq</a> channel on
<a href="https://webchat.freenode.net/">Freenode</a>.</p>
</div>
<div class="row">
......@@ -122,44 +121,41 @@ tag</a>, or on the
<li>
<span class="date">1 November 2018</span>
<p>jq 1.6 released. See installation options on the <a href="/jq/download/">download</a> page, and the <a href="https://github.com/stedolan/jq/releases/tag/jq-1.6">release notes</a> for details.</p>
<p>jq 1.6 released. See installation options on the <a href="/jq/download/">download</a>
page, and the <a href="https://github.com/stedolan/jq/releases/tag/jq-1.6">release notes</a>
for details.</p>
</li>
<li>
<span class="date">15 August 2015</span>
<p>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 <a href="/jq/download/">download</a> page, and the <a href="https://github.com/stedolan/jq/releases/tag/jq-1.5">release notes</a> for details.</p>
<p>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
<a href="/jq/download/">download</a> page, and the
<a href="https://github.com/stedolan/jq/releases/tag/jq-1.5">release notes</a>
for details.</p>
</li>
<li>
<span class="date">26 July 2015</span>
<p>jq 1.5rc2 is available. Get it on the <a href="https://github.com/stedolan/jq/releases">releases</a> page.</p>
<p>jq 1.5rc2 is available. Get it on the
<a href="https://github.com/stedolan/jq/releases">releases</a> page.</p>
</li>
<li>
<span class="date">01 January 2015</span>
<p>jq 1.5rc1 is available. Get it on the <a href="https://github.com/stedolan/jq/releases">releases</a> page.</p>
<p>jq 1.5rc1 is available. Get it on the
<a href="https://github.com/stedolan/jq/releases">releases</a> page.</p>
</li>
<li>
<span class="date">09 June 2014</span>
<p>jq 1.4 (finally) released! Get it on the <a href="/jq/download/">download</a> page.</p>
<p>jq 1.4 (finally) released! Get it on the <a href="/jq/download/">download</a> page.</p>
</li>
<li>
<span class="date">19 May 2013</span>
<p>jq 1.3 released.</p>
<p>jq 1.3 released.</p>
</li>
</ul>
......@@ -169,7 +165,7 @@ tag</a>, or on the
<footer>
<div class="container">
<p>This website is made with <a href="http://www.tinytree.info">Bonsai</a> and <a href="http://getbootstrap.com">Bootstrap</a>, themed with <a href="https://bootswatch.com">Bootswatch</a>.</p>
<p>This website is made with <a href="http://getbootstrap.com">Bootstrap</a>, themed with <a href="https://bootswatch.com">Bootswatch</a>.</p>
<p>jq is licensed under the MIT license (code) and the <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY-3.0</a> license (docs).</p>
</div>
</footer>
......@@ -177,6 +173,5 @@ tag</a>, or on the
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha256-Sk3nkD6mLTMOF0EOpNtsIry+s1CsaqQC1rVLTAy+0yc= sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script>
<script src="https://twitter.github.io/typeahead.js/releases/0.11.1/typeahead.bundle.js"></script>
</body>
</html>
</html>
\ No newline at end of file
var section_names=function(q){if(!q){return[]}var matches=[];q=q.toLowerCase();$.each(section_map,function(k,v){if(k.toLowerCase().indexOf(q)!=-1){matches.push(k)}});matches.sort(function(a,b){return a.length-b.length});return matches};var section_names_cb=function(q,cb){cb(section_names(q))};var go_to_section=function(){query=$("#searchbox").val();results=section_names(query);if(results.length==0){return}result=results[0];location.hash="#"+section_map[result];if(result!=query){$("#searchbox").val(result)}};$(function(){$("#searchbox").typeahead({hint:false,highlight:true,minLength:1},{name:"contents",source:section_names_cb,limit:6}).on("typeahead:selected",function(e,data){go_to_section()});$("#searchbox").change(go_to_section)});$(function(){$.each($(".manual-example table"),function(index,value){$value=$(value);var j=$value.find("tr:nth-child(2) td:first").text();var q=$value.find(".jqprogram").text().replace(/^jq /,"").replace(/^'(.+)'$/,"$1");var url="https://jqplay.org/jq?q="+encodeURIComponent(q)+"&j="+encodeURIComponent(j);var $last_tr=$value.find("tr:last");$last_tr.after('<tr class="jqplay-btn"><th><a href="'+url+'" class="btn btn-primary btn-sm">Run</a></th><th></th></tr><tr><th></th><th></th></tr>')})});
\ No newline at end of file
var section_names = function(q) {
if (!q) {
return [];
}
var matches = [];
q = q.toLowerCase();
$.each(section_map, function(k, v) {
if (k.toLowerCase().indexOf(q) != -1) {
matches.push(k);
}
});
matches.sort(function(a, b) {
// shortest