From d3e97d31fa48567ff7500668a261324b20f09d83 Mon Sep 17 00:00:00 2001 From: websTTer Date: Thu, 12 Sep 2019 08:30:29 +0200 Subject: [PATCH 1/2] Update duplicated from fix #80 the same error in Version 2.0.7 fix with same procedure --- lib/tasks/search.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/search.rake b/lib/tasks/search.rake index 82dcfb6..5c03790 100644 --- a/lib/tasks/search.rake +++ b/lib/tasks/search.rake @@ -14,8 +14,8 @@ namespace :search do { {% assign comma = false %} {% for page in site.html_pages %}{% if page.search_exclude != true %}{% if comma == true%},{% endif %}"{{ forloop.index0 }}": { - "title": "{{ page.title | replace: '&', '&' }}", - "content": "'+content+'", + "title": "{{ page.title | replace: \'&\', \'&\' }}", + "content": "\'+content+\'", "url": "{{ page.url | absolute_url }}", "relUrl": "{{ page.url }}" }{% assign comma = true %} From 81aad708f3e179bfe95ab2389df85470d8fce0a6 Mon Sep 17 00:00:00 2001 From: Patrick Marsceill Date: Thu, 23 Apr 2020 16:01:12 -0400 Subject: [PATCH 2/2] Update ci.yml --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 340f60b..831fcb1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,19 @@ jobs: --volume="${{ github.workspace }}:/srv/jekyll" \ jekyll/builder:3.8.5 /bin/bash -c "chmod 777 /srv/jekyll && jekyll build" + search: + name: Test search rake command + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@master + + - name: Build the site in the jekyll/builder container + run: | + docker run --rm \ + --volume="${{ github.workspace }}:/srv/jekyll" \ + jekyll/builder:3.8.5 /bin/bash -c "gem install bundler && chmod 777 /srv/jekyll && jekyll build && bundle exec just-the-docs rake search:init" + css: name: Stylelint runs-on: ubuntu-latest