-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #301 from elichad/new-website-2
Migrate to new website
- Loading branch information
Showing
206 changed files
with
34,768 additions
and
2,755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: "Build and Lint Site" | ||
|
||
on: | ||
push: | ||
branches: [ "main"] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build-site: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
# dependencies | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "3.0" | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '19' | ||
- name: Install dependencies | ||
working-directory: ./docs | ||
run: | | ||
sudo apt-get install -y build-essential zlib1g-dev | ||
gem install bundler | ||
bundle config path vendor/bundle | ||
bundle install | ||
- name: Build the site | ||
working-directory: ./docs | ||
run: bundle exec jekyll build --strict_front_matter | ||
|
||
- name: Validate all links, enforce alt text | ||
working-directory: ./docs | ||
run: | | ||
bundle exec htmlproofer \ | ||
--ignore-files "/.*\/ro-crate-preview\.html/","/.*\/examples\/.*\/index\.html/" \ | ||
--disable-external true \ | ||
--enforce-https false \ | ||
./_site | ||
- name: Ensure no unexpected encoded HTML in output | ||
working-directory: ./docs | ||
run: | | ||
! fgrep -R 'lt;blockquote' _site | ||
- name: Ensure no unexpected jekyll in output | ||
working-directory: ./docs | ||
run: | | ||
! fgrep -R 'site.pages' _site |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ro-crate-metadata.json |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.