Skip to content

Commit

Permalink
Merge branch 'main' into patrickhlauke-css-change-tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhlauke authored Oct 30, 2024
2 parents 05558a6 + b99ada8 commit 5981470
Show file tree
Hide file tree
Showing 1,635 changed files with 49,992 additions and 34,380 deletions.
25 changes: 25 additions & 0 deletions .eleventyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
*.md
11ty/
acknowledgements.html
acknowledgements/
conformance-challenges/
guidelines/
lib/
requirements/
script/
wcag20/
# working-examples is directly copied; it should not be processed as templates
working-examples/
xslt/

# These files under understanding don't end up in output in the old build
understanding/*/accessibility-support-documenting.html
understanding/*/identify-changes.html
understanding/*/interruptions-minimum.html
understanding/*/seizures.html

# Ignore templates used for creating new documents
**/*-template.html

# HTML files under img will be passthrough-copied
**/img/*
45 changes: 45 additions & 0 deletions .github/workflows/11ty-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

# Reference documentation: https://docs.github.com/en/actions/reference

# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestbranchestags
on:
push:
branches: [main]

jobs:
main:
name: deploy (11ty)
runs-on: ubuntu-20.04
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: gh-pages
path: _site
token: ${{ secrets.W3CGRUNTBOT_TOKEN }}
- name: Install Node.js and dependencies
uses: actions/setup-node@v4
with:
cache: npm
node-version-file: '.nvmrc'
- name: Build
env:
WCAG_MODE: editors
run: |
npm i
npm run build
cp guidelines/guidelines.css guidelines/relative-luminance.html _site/guidelines/22
curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://raw.githack.com/$GITHUB_REPOSITORY/main/guidelines/index.html -o _site/guidelines/22/index.html -f --retry 3
curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://raw.githack.com/$GITHUB_REPOSITORY/main/requirements/22/index.html -o _site/requirements/22/index.html -f --retry 3
curl https://labs.w3.org/spec-generator/?type=respec"&"url=https://raw.githack.com/$GITHUB_REPOSITORY/main/conformance-challenges/index.html -o _site/conformance-challenges/index.html -f --retry 3
- name: Push
working-directory: _site
run: |
git config user.email [email protected]
git config user.name w3cgruntbot
git add -A .
git commit -m ":robot: Deploy to GitHub Pages: $GITHUB_SHA from branch $GITHUB_REF"
git push origin gh-pages
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -220,3 +220,28 @@ pip-log.txt
#############

build.properties

#######
## Node
#######

node_modules/

#############
## Output
#############

/output/
/output.html
/techniques/toc.html
/techniques/techniques.xml
/techniques/technique-associations.xml
/techniques/index-flat.html
/techniques/about-flat.html
/understanding/toc.html
/understanding/index-flat.html
/understanding/about-flat.html
/guidelines/wcag.xml
/guidelines/versions.xml
/guidelines/index-flat.html
/_site/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.*
!*.ts
!*.11tydata.js
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 100,
"trailingComma": "es5"
}
28 changes: 0 additions & 28 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 5981470

Please sign in to comment.