From: Stephen Dolan Date: Wed, 19 Sep 2012 00:10:47 +0000 (+0100) Subject: Fix some issues with relative URLs on Github Pages. X-Git-Tag: jq-1.1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f51eca20f59ef3d9291b5df61ca357d7924872da;p=jq Fix some issues with relative URLs on Github Pages. --- diff --git a/docs/content/2.download/default.yml b/docs/content/2.download/default.yml index 9d69780..54f4d78 100644 --- a/docs/content/2.download/default.yml +++ b/docs/content/2.download/default.yml @@ -7,9 +7,9 @@ body: possible to build it for nearly any platform. Prebuilt binaries are available for Linux (64-bit x86) and OS X. - * [Download binary for 64-bit Linux](/download/linux_x86_64/jq) - * [Download binary for OS X](/download/osx_64/jq) - * [Download source](/download/source/jq.tgz) + * [Download binary for 64-bit Linux](linux_x86_64/jq) + * [Download binary for OS X](osx_64/jq) + * [Download source](source/jq.tgz) The binaries should just run, but you may need to make them executable first using: diff --git a/docs/site.yml b/docs/site.yml index b0d760e..b34a9fa 100644 --- a/docs/site.yml +++ b/docs/site.yml @@ -2,6 +2,9 @@ jq_version: 1.0 +# Next line is needed for publishing to github pages +# root: '/jq' +root: '' footer: | This website is made with [Bonsai](http://www.tinytree.info) and diff --git a/docs/templates/index.liquid b/docs/templates/index.liquid index d2d06de..aaff1c9 100644 --- a/docs/templates/index.liquid +++ b/docs/templates/index.liquid @@ -7,7 +7,7 @@
- +
{{blurb | markdownify}} diff --git a/docs/templates/shared/_head.liquid b/docs/templates/shared/_head.liquid index acc6dfe..5f2b7da 100644 --- a/docs/templates/shared/_head.liquid +++ b/docs/templates/shared/_head.liquid @@ -1,12 +1,12 @@ {{headline}} | jq - - + + - + \ No newline at end of file diff --git a/docs/templates/shared/_header.liquid b/docs/templates/shared/_header.liquid index 82f778d..020b130 100644 --- a/docs/templates/shared/_header.liquid +++ b/docs/templates/shared/_header.liquid @@ -7,12 +7,12 @@ - jq + jq