David Karlsson
3c9a23b699
fix: fetch only the specific ref
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-07-03 14:40:53 +02:00
CrazyMax
9f814f66a4
Merge pull request #16151 from crazy-max/last-date-fallback
...
jekyll(last_modified_at): fallback to mtime on rescue
2022-11-14 14:06:34 +01:00
CrazyMax
e0d9ce4e9e
jekyll(last_modified_at): fallback to mtime on rescue
...
if fallback doesn't work like for pageless redirections,
use current time as best effort.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-11-14 10:00:35 +01:00
CrazyMax
6a31053c9d
jekyll(fetch_remote): init git repo first
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-11-14 09:58:12 +01:00
CrazyMax
01eaa95d67
jekyll: pageless_redirects plugin
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-11-05 23:02:18 +01:00
CrazyMax
4544982b55
jekyll(last_modified_at): fix for remote resources and data files ( #15998 )
...
* Dockerfile: add option to enforce git log history for local dev
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
* jekyll(last_modified_at): do not override if already set with frontmatter
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
* jekyll(last_modified_at): use data files for commands reference instead of stub file
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
* fix broken links
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-10-31 09:01:42 +01:00
CrazyMax
a96dd76048
jekyll(fetch_remote): set fetch depth 0 if not a local build
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-10-27 00:07:44 +02:00
CrazyMax
a16eff5814
jekyll: last modification date for remote resources
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-10-26 14:48:55 +02:00
CrazyMax
06908b36f5
jekyll: use git to fetch remote resources
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-10-26 06:12:36 +02:00
CrazyMax
09c9f51bcf
remove most of absolute urls
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-08-03 11:50:33 +02:00
CrazyMax
d2fca0eb8e
jekyll: move relative URLs fix from Dockerfile to Jekyll plugin
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-28 21:17:02 +02:00
CrazyMax
614c4a7000
jekyll: enable sitemap and local search for dev environment
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-28 19:30:46 +02:00
CrazyMax
f2f55d1e8e
jekyll: remove include_remote liquid tag and use frontmatter for remote include
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-27 18:45:58 +02:00
CrazyMax
d7618ccc44
jekyll: add include_remote plugin
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-20 12:48:00 +02:00
Sebastiaan van Stijn
77f88c7975
Merge pull request #14948 from crazy-max/dockerfile-ref-newloc
...
dockerfile: new reference location
2022-07-08 12:21:35 +02:00
jerae-duffin
f5ed8bbd6e
Merge pull request #14889 from chrispatrick/update-redoc
...
Update redoc and add DVP Data API doc
2022-07-05 08:40:05 -05:00
CrazyMax
ce74d35241
jekyll: allow to set a file as destination for fetch remote plugin
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-29 16:08:10 +02:00
CrazyMax
c2ee94c1b8
jekyll: automatic issue url generation for remote resources
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-10 10:04:39 +02:00
CrazyMax
050078c5f8
jekyll: use repo default branch for edit url of remote resources
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-10 10:04:39 +02:00
CrazyMax
977c1598ae
jekyll: automatic edit url generation for remote resources
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-10 10:04:11 +02:00
Chris Ainsworth-Patrick
97ef6c0d0e
Add separate DVP Data API docs in OpenAPI 3
2022-06-01 15:52:22 +01:00
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