From 25cd289df536cdacc17c0fc5aa3c9d10293e2773 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Tue, 23 Oct 2018 12:51:11 -0400 Subject: [PATCH 1/6] Fix pathing issues with gh-pages --- _config.yml | 2 +- _layouts/default.html | 2 +- assets/js/just-the-docs.js | 24 ++++++++++++++++++++---- lib/tasks/search.rake | 7 +++++-- search-data.json | 11 ----------- 5 files changed, 27 insertions(+), 19 deletions(-) delete mode 100644 search-data.json diff --git a/_config.yml b/_config.yml index 3b8537c..4ba494b 100644 --- a/_config.yml +++ b/_config.yml @@ -15,7 +15,7 @@ # in the templates via {{ site.myvariable }}. title: Just the Docs description: A Jekyll theme for documentation -# baseurl: "" # the subpath of your site, e.g. /blog +baseurl: "/just-the-docs" # the subpath of your site, e.g. /blog # url: "" # the base hostname & protocol for your site, e.g. http://example.com sass: diff --git a/_layouts/default.html b/_layouts/default.html index fd3c62c..87f3706 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,7 +5,7 @@