diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644
index 0000000..f32e3a3
--- /dev/null
+++ b/.github/release-drafter.yml
@@ -0,0 +1,32 @@
+name-template: 'v$RESOLVED_VERSION 🌈'
+tag-template: 'v$RESOLVED_VERSION'
+categories:
+ - title: '🚀 Features'
+ labels:
+ - 'feature'
+ - 'enhancement'
+ - title: '🐛 Bug Fixes'
+ labels:
+ - 'fix'
+ - 'bugfix'
+ - 'bug'
+ - title: '🧰 Maintenance'
+ label:
+ - 'chore'
+ - 'dependencies'
+change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
+version-resolver:
+ major:
+ labels:
+ - 'next-major-release'
+ minor:
+ labels:
+ - 'next-minor-release'
+ patch:
+ labels:
+ - 'patch'
+ default: minor
+template: |
+ ## Changes
+
+ $CHANGES
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 60b0374..3fb7809 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,42 +31,14 @@ jobs:
jekyll/builder:3.8.5 /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && bundle install && bundle exec jekyll build && bundle exec rake search:init"
assets:
- name: Format and test CSS and JS
+ name: Test CSS and JS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- # Using this so the this instead of GITHUB_TOKEN so that this workflow can trigger another
- with:
- token: ${{ secrets.PAT }}
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: '12.x'
- - name: Extract branch name
- shell: bash
- run: echo "##[set-output name=branch;]$(echo ${GITHUB_HEAD_REF#refs/heads/})"
- id: extract_branch
-
- run: npm install
- - run: npm run format
- - name: Add changed files
- run: |
- echo "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git"
- git config --global user.email $GITHUB_ACTOR@users.noreply.github.com
- git config --global user.name $GITHUB_ACTOR
- echo "extracted branch is ${{ steps.extract_branch.outputs.branch }}"
- git checkout -b ${{ steps.extract_branch.outputs.branch }}
- git status
- git add .
- - name: Are there any updates?
- shell: bash
- run: echo "##[set-output name=status]$(git status -s)"
- id: is_dirty
- - name: Commit files
- if: steps.is_dirty.outputs.status
- run: |
- echo ${{ steps.is_dirty.outputs.status }}
- git commit -m "🎨 Prettier"
- git push --force --set-upstream "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" ${{ steps.extract_branch.outputs.branch }}
- run: npm test
diff --git a/404.html b/404.html
index 56efce4..1e7a37e 100644
--- a/404.html
+++ b/404.html
@@ -8,4 +8,4 @@ search_exclude: true
The page you requested could not be found. Try using the navigation {% if site.search_enabled %}or search {% endif %}to find what you're looking for or go to this site's home page.
+The page you requested could not be found. Try using the navigation {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this site's home page.
diff --git a/_config.yml b/_config.yml
index 42ccec2..20bf8a1 100644
--- a/_config.yml
+++ b/_config.yml
@@ -25,10 +25,31 @@ exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "pac
#logo: "/assets/images/just-the-docs.png"
# Enable or disable the site search
+# Supports true (default) or false
search_enabled: true
-
-# Set the search token separator for hyphenated-word search:
-search_tokenizer_separator: /[\s/]+/
+search:
+ # Split pages into sections that can be searched individually
+ # Supports 1 - 6, default: 2
+ heading_level: 2
+ # Maximum amount of previews per search result
+ # Default: 3
+ previews: 3
+ # Maximum amount of words to display before a matched word in the preview
+ # Default: 5
+ preview_words_before: 5
+ # Maximum amount of words to display after a matched word in the preview
+ # Default: 10
+ preview_words_after: 10
+ # Set the search token separator
+ # Default: /[\s\-/]+/
+ # Example: enable support for hyphenated search words
+ tokenizer_separator: /[\s/]+/
+ # Display the relative url in search results
+ # Supports true (default) or false
+ rel_url: true
+ # Enable or disable the search button that appears in the bottom right corner of every page
+ # Supports true or false (default)
+ button: false
# Enable or disable heading anchors
heading_anchors: true
diff --git a/_includes/nav.html b/_includes/nav.html
index 573e1f9..f2ec7e5 100644
--- a/_includes/nav.html
+++ b/_includes/nav.html
@@ -1,51 +1,55 @@
-
-
-
-
-
- {% include nav.html %}
-
-
+