Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Quarto to 1.4.557 and add htmltest step #75

Merged
merged 4 commits into from
Jul 2, 2024
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
8 changes: 6 additions & 2 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
version: 1.4.550
version: 1.4.557
- name: Render site
uses: quarto-dev/quarto-actions/render@v2
- name: Run htmltest
uses: wjdp/htmltest-action@master
with:
config: .htmltest.yml
13 changes: 13 additions & 0 deletions .htmltest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
DirectoryPath: _site

# allow for cosmetic images
IgnoreAltEmpty: true

# skip external links
CheckExternal: false

# Dark mode toggle includes an <a href="">
IgnoreEmptyHref: true

# Header toggle for "more items" includes an <a href="#">
IgnoreInternalEmptyHash: true
9 changes: 7 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Some text for level two.

Some text for level three and showing `inline-code` references.

### Another level three {.preview-header}
### Another level three {.preview-header}

Here is a footnote reference,[^1] and another.

Expand Down Expand Up @@ -148,7 +148,12 @@ $ zypper

### Image

![This is a test image](/_extensions/posit-docs/assets/images/posit-logo-fullcolor-TM.svg "testing for alt text stuff"){width=240}
Example of an [informative image](https://www.w3.org/WAI/tutorials/images/informative/), with relevant alt text:
![](/_extensions/posit-docs/assets/images/posit-logo-fullcolor-TM.svg){width=120 alt="Posit logo"}

Example of a [decorative image](https://www.w3.org/WAI/tutorials/images/decorative/), with empty alt text:
![](/_extensions/posit-docs/assets/images/posit-logo-fullcolor-TM.svg){width=120 alt=""}


:::

Expand Down