Skip to content

Fix broken link in activitypub.md (#1947) - #1952

Open
tedprodromou wants to merge 1 commit into
mastodon:mainfrom
tedprodromou:fix-activitypub-link
Open

tedprodromou wants to merge 1 commit into
mastodon:mainfrom
tedprodromou:fix-activitypub-link

Conversation

@tedprodromou

@tedprodromou tedprodromou commented Sep 4, 2026 •

Copy link
Copy Markdown

Updated broken link inside warning. Fixes #1947.

@mjankowski

Copy link
Copy Markdown
Contributor

Isn't this just an anchor link to a different section of the page? I don't fully understand how its broken as-is...

@tedprodromou

Copy link
Copy Markdown
Author

#1947

It's a subtle bug! As it is, clicking the link in a browser directs to https://docs.joinmastodon.org/#schema (the front page) instead of https://docs.joinmastodon.org/spec/activitypub#schema (anchor link on the same page). You can try it here: https://docs.joinmastodon.org/spec/activitypub/#PropertyValue

This change makes the anchor link go to the expected anchor link instead of the front page.

@trwnh

trwnh commented Sep 17, 2026

Copy link
Copy Markdown
Member

I wonder if updating the Hugo version will fix this bug more generally... [](#schema) should go to the current page's fragment, but the currently deployed docs page actually generates <a href="/#schema"> for some reason!

@mjankowski

Copy link
Copy Markdown
Contributor

I wonder if updating the Hugo version will fix this bug more generally...

Based on that guess, I came up with #1957 which seems to fix this locally for me ... and in theory would fix this more generally if we are doing the same thing elsewhere.

This branch has not been deployed

No deployments
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.

Schema link broken - should be relative

3 participants