diff --git a/.gitignore b/.gitignore index 867d379..b447a12 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .sass-cache _site Gemfile.lock +node_modules diff --git a/.stylelintrc.json b/.stylelintrc.json index a624c10..139033f 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,6 +1,7 @@ { "ignoreFiles" : [ - "assets/css/just-the-docs.scss" + "assets/css/just-the-docs.scss", + "_sass/vendor/**/*.scss" ], "extends": [ "stylelint-config-primer" diff --git a/_config.yml b/_config.yml index 6ce2ed3..22aef3f 100644 --- a/_config.yml +++ b/_config.yml @@ -18,14 +18,12 @@ description: A Jekyll theme for documentation 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: - # Load dependancies - load_paths: - - node_modules/ - permalink: pretty exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "package.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"] +# Enable or disable the site search +search_enabled: true + # Aux links for the upper right navigation aux_links: "Just the Docs on GitHub": diff --git a/_includes/head.html b/_includes/head.html index 8aae2cf..cbd41f9 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -4,7 +4,9 @@ {{ page.title }} - {{ site.title }} + {% if site.search_enabled != nil %} + {% endif %} diff --git a/_layouts/default.html b/_layouts/default.html index fe76346..cc76786 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,8 @@