From 2b455b2d266b2658713fdec5aa766980342ae0b6 Mon Sep 17 00:00:00 2001 From: Lou Quillio Date: Mon, 24 Jul 2017 15:26:02 -0700 Subject: [PATCH] Attempt to fix baseurl and URL paths in production. GitHub is configured to use the contents of `/docs` for web content, thus treating `docs` as the docroot, thus configuring a baseurl of `/docs` is mistaken in production (GitHub Pages). In the local dev case a baseurl is needed (`/docs`), but can be passed on the Jekyll commandline. --- docs/_config.yml | 2 +- docs/index.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 6c88dc6..8cb5762 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -18,7 +18,7 @@ title: Draco 3D Data Compression email: webmaster@webmproject.org description: > Description here -baseurl: "/docs" # the subpath of your site, e.g. /blog +#baseurl: "/docs" # the subpath of your site, e.g. /blog url: "" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: webm github_username: webmproject diff --git a/docs/index.md b/docs/index.md index fcf894c..dcdb08f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,5 +6,5 @@ title: Draco 3D Graphics Compression * [Draft Draco Bitstream Specification][spec] * [README file for specification authors][readme] -[spec]: /docs/spec/ -[readme]: /docs/spec/README \ No newline at end of file +[spec]: spec +[readme]: spec/README