From 4177f965dff0d7866593dc0b8379ba178bb522bc Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Wed, 24 Oct 2018 14:06:41 -0400 Subject: [PATCH] Content updates --- docs/search.md | 4 ++-- index.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/search.md b/docs/search.md index cdb8571..5283578 100644 --- a/docs/search.md +++ b/docs/search.md @@ -23,7 +23,7 @@ $ bundle exec just-the-docs rake search:init This command creates the `search-data.json` file that Jekyll uses to create your search index. Alternatively, you can create the file manually in the -root of your Jekyll site with this content: +`assets/js/` of your Jekyll site with this content: ```{% raw %} --- @@ -39,4 +39,4 @@ root of your Jekyll site with this content: }{% endraw %} ``` -You can modify this by modifying the forloop in `search-data.json` and the javascript in `just-the-docs.js` on line 30. +_Note: If you don't run this rake command or create this file manually, search will not work (or it will use the search index data from this docs site, not your site's content)._ diff --git a/index.md b/index.md index 4f4c121..66c8339 100644 --- a/index.md +++ b/index.md @@ -2,6 +2,7 @@ layout: default title: Home nav_order: 1 +permalink: / ---