Skip to content

Commit

Permalink
Merge pull request #1331 from contour-terminal/improvement/check_link…
Browse files Browse the repository at this point in the history
…s_in_actions

Add github action to check links in the documentation and root
  • Loading branch information
christianparpart committed Dec 16, 2023
2 parents 029e010 + 50155a7 commit 622ae90
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,17 @@ jobs:
- name: "Check includes"
run: ./scripts/check-includes.sh

check_links:
name: "Check links"
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run linksafe
uses: TechWiz-3/linksafe@main
with: # comma seperated lists
# use relative paths, if no dirs specified root dir is scanned
dirs: ".,docs/internals,docs/screenshots,docs/stylesheets,docs/assets,docs/drafts,docs/configuration/advanced,docs/configuration,docs/demo/ime,docs/demo,docs/vt-extensions,docs"

editorconfig:
name: "Check editorconfig"
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -1209,6 +1220,7 @@ jobs:
name: Create Github release
runs-on: ubuntu-latest
needs:
- check_links
- check_release
- archlinux
- check_notcurses_test_matrix
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ cmake --build build/ --target install
# References

* [VT510](https://vt100.net/docs/vt510-rm/): VT510 Manual, see Chapter 5.
* [ECMA-35](http://www.ecma-international.org/publications/standards/Ecma-035.htm):
* [ECMA-35](http://www.ecma-international.org/publications-and-standards/standards/ecma-35):
Character Code Structure and Extension Techniques
* [ECMA-43](http://www.ecma-international.org/publications/standards/Ecma-043.htm):
* [ECMA-43](http://www.ecma-international.org/publications-and-standards/standards/ecma-43):
8-bit Coded Character Set Structure and Rules
* [ECMA-48](http://www.ecma-international.org/publications/standards/Ecma-048.htm):
* [ECMA-48](http://www.ecma-international.org/publications-and-standards/standards/ecma-48):
Control Functions for Coded Character Sets
* [ISO/IEC 8613-6](https://www.iso.org/standard/22943.html):
Character content architectures
Expand Down
2 changes: 1 addition & 1 deletion docs/internals/text-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ What would we be without dreams. ;-)
References
----------

- [Blink's text stack](https://chromium.googlesource.com/chromium/src/+/master/third\_party/blink/renderer/platform/fonts/README.md)
- [Blink's text stack](https://chromium.googlesource.com/chromium/src/+/HEAD/third_party/blink/renderer/platform/fonts/README.md)
- [UTS 11](https://unicode.org/reports/tr11/) - character width
- [UTS 24](https://unicode.org/reports/tr24/) - script property
- [UTS 29](https://unicode.org/reports/tr29/) - text segmentation (grapheme cluster, word boundary)
Expand Down

0 comments on commit 622ae90

Please sign in to comment.