Fixed docs

This commit is contained in:
Mike Farah 2018-02-19 14:21:38 +11:00
parent 37de7a3505
commit e725a2cec5
3 changed files with 188 additions and 235 deletions

View File

@ -230,29 +230,8 @@
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#brew-install-yq" title="brew install yq" class="md-nav__link">
brew install yq
</a>
</li>
<li class="md-nav__item">
<a href="#snap-install-yq" title="snap install yq" class="md-nav__link">
snap install yq
</a>
</li>
<li class="md-nav__item">
<a href="#download-latest-binary" title="download latest binary" class="md-nav__link">
download latest binary
</a>
</li>
<li class="md-nav__item">
<a href="#get-the-source" title="get the source" class="md-nav__link">
get the source
<a href="#install" title="Install" class="md-nav__link">
Install
</a>
</li>
@ -347,29 +326,8 @@ snap install yq
<ul class="md-nav__list" data-md-scrollfix>
<li class="md-nav__item">
<a href="#brew-install-yq" title="brew install yq" class="md-nav__link">
brew install yq
</a>
</li>
<li class="md-nav__item">
<a href="#snap-install-yq" title="snap install yq" class="md-nav__link">
snap install yq
</a>
</li>
<li class="md-nav__item">
<a href="#download-latest-binary" title="download latest binary" class="md-nav__link">
download latest binary
</a>
</li>
<li class="md-nav__item">
<a href="#get-the-source" title="get the source" class="md-nav__link">
get the source
<a href="#install" title="Install" class="md-nav__link">
Install
</a>
</li>
@ -394,14 +352,19 @@ snap install yq
<h1 id="yq">yq<a class="headerlink" href="#yq" title="Permanent link">&para;</a></h1>
<p>yq is a lightweight and portable command-line YAML processor</p>
<p>The aim of the project is to be the <a href="https://github.com/stedolan/jq">jq</a> or sed of yaml files.</p>
<h3 id="brew-install-yq">brew install yq<a class="headerlink" href="#brew-install-yq" title="Permanent link">&para;</a></h3>
<h3 id="snap-install-yq">snap install yq<a class="headerlink" href="#snap-install-yq" title="Permanent link">&para;</a></h3>
<h3 id="download-latest-binary"><a href="https://github.com/mikefarah/yq/releases/latest">download latest binary</a><a class="headerlink" href="#download-latest-binary" title="Permanent link">&para;</a></h3>
<h3 id="get-the-source">get the source<a class="headerlink" href="#get-the-source" title="Permanent link">&para;</a></h3>
<pre><code class="bash">go get github.com/mikefarah/yq
<h2 id="install">Install<a class="headerlink" href="#install" title="Permanent link">&para;</a></h2>
<p>On MacOS:</p>
<pre><code>brew install yq
</code></pre>
<p>On Ubuntu and other Linux distros supporting <code>snap</code> packages:</p>
<pre><code>snap install yq
</code></pre>
<p>or, <a href="https://github.com/mikefarah/yq/releases/latest">Download latest binary</a> or alternatively:</p>
<pre><code>go get github.com/mikefarah/yq
</code></pre>
<p><a href="https://github.com/mikefarah/yq/zipball/master">.zip</a> or <a href="https://github.com/mikefarah/yq/tarball/master">tar.gz</a></p>
<p><a href="https://github.com/mikefarah/yq">View on GitHub</a></p>

View File

@ -2,7 +2,7 @@
"docs": [
{
"location": "/",
"text": "yq\n\u00b6\n\n\nyq is a lightweight and portable command-line YAML processor\n\n\nThe aim of the project is to be the \njq\n or sed of yaml files.\n\n\nbrew install yq\n\u00b6\n\n\ndownload latest binary\n\u00b6\n\n\nget the source\n\u00b6\n\n\ngo get github.com/mikefarah/yq\n\n\n\n\n.zip\n or \ntar.gz\n\n\nView on GitHub",
"text": "yq\n\u00b6\n\n\nyq is a lightweight and portable command-line YAML processor\n\n\nThe aim of the project is to be the \njq\n or sed of yaml files.\n\n\nInstall\n\u00b6\n\n\nOn MacOS:\n\n\nbrew install yq\n\n\n\n\nOn Ubuntu and other Linux distros supporting \nsnap\n packages:\n\n\nsnap install yq\n\n\n\n\nor, \nDownload latest binary\n or alternatively:\n\n\ngo get github.com/mikefarah/yq\n\n\n\n\nView on GitHub",
"title": "Install"
},
{
@ -11,19 +11,9 @@
"title": "yq"
},
{
"location": "/#brew-install-yq",
"text": "",
"title": "brew install yq"
},
{
"location": "/#download-latest-binary",
"text": "",
"title": "download latest binary"
},
{
"location": "/#get-the-source",
"text": "go get github.com/mikefarah/yq .zip or tar.gz View on GitHub",
"title": "get the source"
"location": "/#install",
"text": "On MacOS: brew install yq On Ubuntu and other Linux distros supporting snap packages: snap install yq or, Download latest binary or alternatively: go get github.com/mikefarah/yq View on GitHub",
"title": "Install"
},
{
"location": "/read/",

View File

@ -4,7 +4,7 @@
<url>
<loc>/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
@ -12,7 +12,7 @@
<url>
<loc>/read/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
@ -20,7 +20,7 @@
<url>
<loc>/write/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
@ -28,7 +28,7 @@
<url>
<loc>/create/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
@ -36,7 +36,7 @@
<url>
<loc>/convert/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>
@ -44,7 +44,7 @@
<url>
<loc>/merge/</loc>
<lastmod>2017-12-25</lastmod>
<lastmod>2018-02-19</lastmod>
<changefreq>daily</changefreq>
</url>