Fix curl command in tutorial.md#93
Merged
Merged
Conversation
Contributor
Author
|
Thanks for the quick merge 🚀 |
dahlia
added a commit
to dahlia/fedify-fork
that referenced
this pull request
Apr 27, 2026
Walk readers through wiring up alice's followers in two parallel
shapes:
- ActivityPub: `setFollowersDispatcher(...)` plus `setCounter`
serve `OrderedCollection` and total count to remote servers.
The actor dispatcher gains `followers: ctx.getFollowersUri(...)`
so peers discover the collection.
- HTML: */users/&fedify-dev#91;username&fedify-dev#93;/followers* renders the same
rows for the local user, with each entry linking out to the
follower's remote profile. The profile API now also returns
`followerCount`, displayed as a link to the new page.
Two new screenshots checked in:
- *profile-with-follower-count.png*
- *followers-list.png*
A short note at the end explains why Mastodon and Pixelfed cached
counts can lag for a few minutes after the dispatcher goes live,
and why re-following from the remote side forces a refresh.
Assisted-by: Claude Code:claude-opus-4-7
dahlia
added a commit
to dahlia/fedify-fork
that referenced
this pull request
Apr 27, 2026
VitePress' code-fence file-path attribute does not handle nested square brackets: `~~~~ typescript [path/to/[username].ts]` gets parsed as two separate fields and the displayed path is truncated. Replace the inner `[…]` with the equivalent HTML entities (`&fedify-dev#91;…&fedify-dev#93;`) on every affected fence so the rendered file label reads correctly. Two tutorials are touched: - docs/tutorial/content-sharing.md: chapter 6 (profile API and Vue page) and chapter 12 (followers API/page plus the rewired profile API and index page). - docs/tutorial/threadiverse.md: profile, new-thread form and its server action, and the thread-detail page. Assisted-by: Claude Code:claude-opus-4-7
dahlia
added a commit
to dahlia/fedify-fork
that referenced
this pull request
Apr 27, 2026
Hongdown was warning about undefined reference links like \`[username]\` and \`[id]\` because the previous workaround spelled the file paths with HTML entities (\`&fedify-dev#91;\` / \`&fedify-dev#93;\`). Switching to a plain backslash on the opening bracket (\`\[username]\`) renders the same in VitePress and silences all 15 hongdown warnings. Assisted-by: Claude Code:claude-opus-4-7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.