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.
This commit is contained in:
Lou Quillio 2017-07-24 15:26:02 -07:00
parent ee618da82e
commit 2b455b2d26
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
[spec]: spec
[readme]: spec/README