Skip to content

Commit

Permalink
Verify links in the README files
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Oct 10, 2024
1 parent cef5e97 commit 2359c9c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
# todo Cache bundler stuff?
- name: Build with Jekyll
run: nix build
- name: Convert the README files to html
run: nix develop --command asciidoctor {CODE_OF_CONDUCT,LICENSE,README}.adoc
- name: Run lychee on the generated site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: nix develop --command lychee --cache --no-progress --verbose result/srv/
run: nix develop --command lychee --cache --no-progress --verbose result/srv/ ./*.html
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,8 @@ result

# lychee
.lycheecache

# Asciidoctor
CODE_OF_CONDUCT.html
LICENSE.html
README.html
3 changes: 2 additions & 1 deletion .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ alias c := check

check: build
yamllint .
lychee --cache _site/
asciidoctor {CODE_OF_CONDUCT,LICENSE,README}.adoc
lychee --cache _site/ *.html

alias f := format
alias fmt := format
Expand Down
6 changes: 3 additions & 3 deletions LICENSE.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= GNU General Public License

_Version 3, 29 June 2007_
_Copyright © 2007 Free Software Foundation, Inc. &lt;<http://fsf.org/>&gt;_
_Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>_

Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.
Expand Down Expand Up @@ -584,11 +584,11 @@ for a GUI interface, you would use an “about box”.
You should also get your employer (if you work as a programmer) or school, if any, to
sign a “copyright disclaimer” for the program, if necessary. For more
information on this, and how to apply and follow the GNU GPL, see
&lt;<http://www.gnu.org/licenses/>&gt;.
<http://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may consider it
more useful to permit linking proprietary applications with the library. If this is
what you want to do, use the GNU Lesser General Public License instead of this
License. But first, please read
&lt;<http://www.gnu.org/philosophy/why-not-lgpl.html>&gt;.
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
extraConfigPaths = [ "${./.}/.ruby-version" ];
};
nativeBuildInputs = with pkgs; [
asciidoctor
bundix
fish
gems
Expand Down

0 comments on commit 2359c9c

Please sign in to comment.