Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,20 @@ examples/accessible-showcase-alpha5/fonts/*.ttf binary
docs/assets/accessible-showcase-alpha5/** -text whitespace=cr-at-eol
docs/assets/accessible-showcase-alpha5/*.pdf binary
docs/assets/accessible-showcase-alpha5/fonts/*.ttf binary

# Alpha 6 download hashes cover exact source and evidence bytes on every OS.
examples/component-notebook-alpha6/** text eol=lf
docs/assets/component-notebook-alpha6/** -text
docs/assets/component-notebook-alpha6/*.pdf binary
examples/bootstrap-alpha6/** -text whitespace=cr-at-eol
docs/assets/bootstrap-alpha6/** -text
docs/assets/bootstrap-alpha6/*.pdf binary
examples/showcase-authoring-alpha6/** -text whitespace=cr-at-eol
examples/showcase-authoring-alpha6/**/fonts/*-OFL.txt -whitespace
docs/assets/showcase-authoring-alpha6/** -text whitespace=cr-at-eol
docs/assets/showcase-authoring-alpha6/*.pdf binary
examples/accessible-showcase-alpha6/** -text
examples/accessible-showcase-alpha6/fonts/*.ttf binary
docs/assets/accessible-showcase-alpha6/** -text whitespace=cr-at-eol
docs/assets/accessible-showcase-alpha6/*.pdf binary
docs/assets/accessible-showcase-alpha6/fonts/*.ttf binary
20 changes: 10 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha4, alpha5]
channel: [alpha4, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/accessible-showcase${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/requirements-check.txt
python -m pip install --only-binary=:all: -r examples/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/requirements-check.txt
- name: Rebuild the source kit and reproduce the externally validated PDF
run: |
python tools/build_accessible_showcase.py --channel ${{ matrix.channel }}
git diff --exit-code -- docs/assets/accessible-showcase${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/project.zip docs/assets/accessible-showcase${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/source.json
git diff --exit-code -- docs/assets/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/project.zip docs/assets/accessible-showcase${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/source.json
python tools/verify_accessible_showcase.py --channel ${{ matrix.channel }} --out target/accessible-showcase
- uses: actions/upload-artifact@v4
if: always()
Expand All @@ -48,19 +48,19 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha4, alpha5]
channel: [alpha4, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- run: |
python -m pip install --only-binary=:all: -r examples/showcase-authoring${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
python -m pip install --only-binary=:all: -r examples/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/requirements.txt pypdf==6.19.0 pypdfium2==5.14.0 Pillow==12.3.0
- name: Rebuild the download and compare both authoring paths
shell: bash
run: |
python tools/build_showcase_authoring.py --channel ${{ matrix.channel }}
git diff --exit-code -- docs/assets/showcase-authoring${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/project.zip docs/assets/showcase-authoring${{ matrix.channel == 'alpha5' && '-alpha5' || '' }}/source.json
git diff --exit-code -- docs/assets/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/project.zip docs/assets/showcase-authoring${{ matrix.channel != 'alpha4' && format('-{0}', matrix.channel) || '' }}/source.json
python tools/verify_showcase_authoring.py --channel ${{ matrix.channel }} --out target/showcase-authoring
python target/showcase-authoring/project/tools/check_showcase_preview.py --project target/showcase-authoring/project/examples/design_showcase --out target/showcase-authoring/live-preview
- uses: actions/upload-artifact@v4
Expand All @@ -77,7 +77,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [alpha3, alpha5]
channel: [alpha3, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
channel: [preview, alpha, alpha2, alpha3, alpha4, alpha5]
channel: [preview, alpha, alpha2, alpha3, alpha4, alpha5, alpha6]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v6
Expand Down Expand Up @@ -934,8 +934,8 @@ jobs:
- name: Verify live component previews and browser downloads
run: |
python -m venv output/showcase-live-env
output/showcase-live-env/bin/python -m pip install --only-binary=:all: -r examples/showcase-authoring/requirements.txt
python examples/showcase-authoring/tools/check_showcase_preview_browser.py --project examples/showcase-authoring/examples/design_showcase --python output/showcase-live-env/bin/python --out output/showcase-live-ui --channel chrome
output/showcase-live-env/bin/python -m pip install --only-binary=:all: -r examples/showcase-authoring-alpha6/requirements.txt
python examples/showcase-authoring-alpha6/tools/check_showcase_preview_browser.py --project examples/showcase-authoring-alpha6/examples/design_showcase --python output/showcase-live-env/bin/python --out output/showcase-live-ui --channel chrome
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
9 changes: 9 additions & 0 deletions docs/assets/accessible-showcase-alpha6/a11y-source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"diagnostics": [],
"error_count": 0,
"errors": [],
"mode": "raise",
"ok": true,
"warning_count": 0,
"warnings": []
}
270 changes: 270 additions & 0 deletions docs/assets/accessible-showcase-alpha6/browser-verification.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
{
"ok": true,
"browser": "155.0.8059.40",
"styled": [
{
"width": 1440,
"ok": true,
"metrics": {
"viewport": 1440,
"scroll": 1440,
"images": [
{
"complete": true,
"width": 880,
"alt": "Illustration of a shared garden: three raised planting beds beside a broad, level path, with a bench and a greenhouse."
}
],
"headings": [
{
"tag": "H1",
"text": "A place to grow.A place to belong."
},
{
"tag": "H2",
"text": "Find your starting point"
},
{
"tag": "H3",
"text": "Grow something"
},
{
"tag": "H3",
"text": "Share a table"
},
{
"tag": "H3",
"text": "Make it last"
},
{
"tag": "H2",
"text": "Every visit starts with hello"
},
{
"tag": "H2",
"text": "Make room for a good day."
},
{
"tag": "H2",
"text": "Plan a comfortable visit"
},
{
"tag": "H3",
"text": "An easy arrival"
},
{
"tag": "H3",
"text": "Choose your pace"
},
{
"tag": "H2",
"text": "A small first step is enough"
},
{
"tag": "H2",
"text": "About this guide"
}
],
"link": "https://docs.fullbleed.dev/",
"grids": [
"209.281px 209.297px 209.297px",
"316.594px 316.594px"
],
"sheets": [
{
"bottom": 1142.140625,
"contentBottom": 866.578125
},
{
"bottom": 2284.28125,
"contentBottom": 2185.640625
}
]
}
},
{
"width": 390,
"ok": true,
"metrics": {
"viewport": 390,
"scroll": 390,
"images": [
{
"complete": true,
"width": 880,
"alt": "Illustration of a shared garden: three raised planting beds beside a broad, level path, with a bench and a greenhouse."
}
],
"headings": [
{
"tag": "H1",
"text": "A place to grow.A place to belong."
},
{
"tag": "H2",
"text": "Find your starting point"
},
{
"tag": "H3",
"text": "Grow something"
},
{
"tag": "H3",
"text": "Share a table"
},
{
"tag": "H3",
"text": "Make it last"
},
{
"tag": "H2",
"text": "Every visit starts with hello"
},
{
"tag": "H2",
"text": "Make room for a good day."
},
{
"tag": "H2",
"text": "Plan a comfortable visit"
},
{
"tag": "H3",
"text": "An easy arrival"
},
{
"tag": "H3",
"text": "Choose your pace"
},
{
"tag": "H2",
"text": "A small first step is enough"
},
{
"tag": "H2",
"text": "About this guide"
}
],
"link": "https://docs.fullbleed.dev/",
"grids": [
"342px",
"342px"
],
"sheets": [
{
"bottom": 1019.640625,
"contentBottom": 995.640625
},
{
"bottom": 2374.828125,
"contentBottom": 2340.171875
}
]
}
},
{
"width": 320,
"ok": true,
"metrics": {
"viewport": 320,
"scroll": 320,
"images": [
{
"complete": true,
"width": 880,
"alt": "Illustration of a shared garden: three raised planting beds beside a broad, level path, with a bench and a greenhouse."
}
],
"headings": [
{
"tag": "H1",
"text": "A place to grow.A place to belong."
},
{
"tag": "H2",
"text": "Find your starting point"
},
{
"tag": "H3",
"text": "Grow something"
},
{
"tag": "H3",
"text": "Share a table"
},
{
"tag": "H3",
"text": "Make it last"
},
{
"tag": "H2",
"text": "Every visit starts with hello"
},
{
"tag": "H2",
"text": "Make room for a good day."
},
{
"tag": "H2",
"text": "Plan a comfortable visit"
},
{
"tag": "H3",
"text": "An easy arrival"
},
{
"tag": "H3",
"text": "Choose your pace"
},
{
"tag": "H2",
"text": "A small first step is enough"
},
{
"tag": "H2",
"text": "About this guide"
}
],
"link": "https://docs.fullbleed.dev/",
"grids": [
"272px",
"272px"
],
"sheets": [
{
"bottom": 1166.515625,
"contentBottom": 1142.515625
},
{
"bottom": 2719.8125,
"contentBottom": 2685.15625
}
]
}
}
],
"unstyled_semantics_and_no_css": true,
"keyboard_link_focus": true,
"authored_text_color_contrast": [
{
"foreground": "#17382e",
"background": "#f8f5ec",
"ratio": 11.73
},
{
"foreground": "#17382e",
"background": "#e3eadc",
"ratio": 10.4
},
{
"foreground": "#17382e",
"background": "#e9eddf",
"ratio": 10.75
},
{
"foreground": "#3c5548",
"background": "#f8f5ec",
"ratio": 7.45
}
]
}
Binary file not shown.
Loading
Loading