Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Github edit links in top-right of HTML pages #222

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

ckreibich
Copy link
Member

@ckreibich ckreibich commented Nov 3, 2023

Matti noticed that these links 404'd because they omitted the file suffix. This change uses a different variable name in Jinja to fix that, and also changes the target link to the editable sources instead the default source viewer.

There's an LTD test build here if you want to check it out: https://docs.zeek.org/en/topic-christian-test-fix-github-edit-link/

Once this goes in we need it twice more, for the Broker and zkg docs.

These links 404'd because they omitted the file suffix, and they didn't really
link to anything editable, just the raw file.
@matti
Copy link

matti commented Nov 3, 2023

yeah its annoying

@awelzel awelzel merged commit 172ca9e into master Nov 3, 2023
10 checks passed
@awelzel awelzel deleted the topic/christian/fix-github-edit-link branch November 3, 2023 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants