Skip to content

Commit

Permalink
feat: links table
Browse files Browse the repository at this point in the history
  • Loading branch information
gvwilson committed Feb 7, 2024
1 parent 51803ad commit d79830b
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ All contributors will be acknowledged.
and unfilled objects.

- All external links are written using `{% raw %}[box][notation]{% endraw %}` inline
and defined at the foot of the document.
and defined in `_data/tutorial.yml`.

## Logical Structure

Expand Down
18 changes: 18 additions & 0 deletions _data/colophon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- key: "atkinson"
value: "https://brailleinstitute.org/freefont"
- key: "draw-io"
value: "https://www.drawio.com/"
- key: "ghp"
value: "https://pages.github.com/"
- key: "highlight-css"
value: "https://numist.github.io/highlight-css/"
- key: "jekyll"
value: "https://jekyllrb.com/"
- key: "plausible"
value: "https://plausible.io/"
- key: "rouge"
value: "https://rouge.jneen.net/"
- key: "stamps"
value: "https://third-bit.com/colophon/"
- key: "wave"
value: "https://wave.webaim.org/"
26 changes: 26 additions & 0 deletions _data/tutorial.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
- key: "albrecht-andi"
value: "http:https://andialbrecht.de/"
- key: "art-postgresql"
value: "https://theartofpostgresql.com/"
- key: "carpentries-shell"
value: "https://swcarpentry.github.io/shell-novice/"
- key: "fontaine-dimitri"
value: "https://tapoueh.org/"
- key: "fossil"
value: "https://fossil-scm.org/"
- key: "mongodb"
value: "https://www.mongodb.com/"
- key: "persona"
value: "http:https://teachtogether.tech/en/index.html#s:process-personas"
- key: "postgresql"
value: "https://www.postgresql.org/"
- key: "sql"
value: "https://en.wikipedia.org/wiki/SQL"
- key: "sqlite"
value: "https://sqlite.org/"
- key: "sqlparse"
value: "https://pypi.org/project/sqlparse/"
- key: "t3"
value: "https://teachtogether.tech/"
- key: "xkcd-tables"
value: "https://xkcd.com/327/"
3 changes: 3 additions & 0 deletions _includes/links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% for entry in include.links %}
[{{entry.key}}]: {{entry.value}}
{% endfor %}
10 changes: 1 addition & 9 deletions colophon.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,4 @@ The colors in this theme
are lightened versions of those used in
[classic Canadian postage stamps][stamps].

[atkinson]: https://brailleinstitute.org/freefont
[draw-io]: https://www.drawio.com/
[ghp]: https://pages.github.com/
[highlight-css]: https://numist.github.io/highlight-css/
[jekyll]: https://jekyllrb.com/
[plausible]: https://plausible.io/
[rouge]: https://rouge.jneen.net/
[stamps]: https://third-bit.com/colophon/
[wave]: https://wave.webaim.org/
{% include links.md links=site.data.colophon %}
14 changes: 1 addition & 13 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1479,16 +1479,4 @@ I would also like to thank the following for spotting issues, making suggestions

</section>

[albrecht-andi]: http:https://andialbrecht.de/
[art-postgresql]: https://theartofpostgresql.com/
[carpentries-shell]: https://swcarpentry.github.io/shell-novice/
[fontaine-dimitri]: https://tapoueh.org/
[fossil]: https://fossil-scm.org/
[mongodb]: https://www.mongodb.com/
[persona]: http:https://teachtogether.tech/en/index.html#s:process-personas
[postgresql]: https://www.postgresql.org/
[sql]: https://en.wikipedia.org/wiki/SQL
[sqlite]: https://sqlite.org/
[sqlparse]: https://pypi.org/project/sqlparse/
[t3]: https://teachtogether.tech/
[xkcd-tables]: https://xkcd.com/327/
{% include links.md links=site.data.tutorial %}
1 change: 1 addition & 0 deletions misc/tutorial.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ template:
CODE_OF_CONDUCT.md \
LICENSE.md \
_config.yml \
_data/colophon.yml \
_includes \
_layouts \
bin/ordered.py \
Expand Down
Binary file modified sql-tutorial.zip
Binary file not shown.

0 comments on commit d79830b

Please sign in to comment.