Skip to content

Fix curl command in tutorial.md#93

Merged
dahlia merged 1 commit into
fedify-dev:mainfrom
zebreus:patch-1
Jul 7, 2024
Merged

Fix curl command in tutorial.md#93
dahlia merged 1 commit into
fedify-dev:mainfrom
zebreus:patch-1

Conversation

@zebreus

@zebreus zebreus commented Jul 7, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@dahlia dahlia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution!

@dahlia dahlia merged commit 3401ad9 into fedify-dev:main Jul 7, 2024
@zebreus

zebreus commented Jul 7, 2024

Copy link
Copy Markdown
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
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.

2 participants