Commit Graph

5 Commits

Author SHA1 Message Date
CrazyMax 93315b50cc
fix broken urls in swagger files for engine api
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-21 08:45:37 +02:00
CrazyMax 2120bd105d
jekyll: create plugin to update api toc
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 18:20:31 +02:00
CrazyMax b65866f2a6
jekyll: create plugin to fetch remote resources
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-18 18:20:31 +02:00
Sebastiaan van Stijn 754d60430d
relative_links_filter: do not replace html link
Do not manipulate links that don't point to a .md file.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-09-13 23:02:46 +02:00
Sebastiaan van Stijn 9cab4195c0
Replace JavaScript link fix with custom plugin
This replaces the JavaScript link fix script with a custom plugin,
based on the jekyll-relative-link plugin, and modified so that it
can be used as Liquid "filter".

While it borrows from the jekyll-relative-links plugin, it takes some shortcuts;

- We use the code from jekyll-relative-links plugin to find/extract
  links on the page
- Relative links are converted to absolute links, using the path of
  the markdown source file that's passed as argument
- After conversion to an absolute link, we strip the ".md" extension;
  no attempt is made to resolve the file that's linked to. This is
  different from the jekyll-relative-links plugin, which _does_ resolve
  the linked file. This functionality could be added in future by
  someone who has more experience with Ruby.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-04-28 11:20:51 +02:00