diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml new file mode 100644 index 0000000..4d868e7 --- /dev/null +++ b/.github/workflows/ci-master.yml @@ -0,0 +1,45 @@ +on: + push: + branches: + - master + +name: CI + +jobs: + + jekyll-latest: + name: Build Jekyll site (latest) + 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:latest /bin/bash -c "gem install bundler && chmod -R 777 /srv/jekyll && jekyll build && bundle exec just-the-docs rake search:init" + jekyll-3-8-5: + name: Build Jekyll site (v3.8.5) + 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 -R 777 /srv/jekyll && jekyll build && bundle exec just-the-docs rake search:init" + assets: + name: Format and test CSS and JS + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: '12.x' + - run: npm install + - run: npm test diff --git a/_config.yml b/_config.yml index 2ef1604..ddaf13d 100644 --- a/_config.yml +++ b/_config.yml @@ -38,6 +38,9 @@ aux_links: "Just the Docs on GitHub": - "//github.com/pmarsceill/just-the-docs" +# Makes Aux links open in a new tab. Default is false +aux_links_new_tab: false + # Sort order for navigation links nav_sort: case_insensitive # default, equivalent to nil # nav_sort: case_sensitive # Capital letters sorted before lowercase diff --git a/_includes/nav.html b/_includes/nav.html index 6858dec..93dcf21 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -2,12 +2,12 @@