Skip to content

🔄 Refresh Anchor Platform contributing guide - #2671

Open
JFWooten4 wants to merge 7 commits into
stellar:mainfrom
JFWooten4:docs/update-anchor-contributing
Open

🔄 Refresh Anchor Platform contributing guide#2671
JFWooten4 wants to merge 7 commits into
stellar:mainfrom
JFWooten4:docs/update-anchor-contributing

Conversation

@JFWooten4

Copy link
Copy Markdown
Contributor

This guide has been out of date for at least 7 months, so I'm giving it a quick refresh. It starts the process of consolidating nested contributor guides scattered throughout the docs. This came up in #2386 (comment) where the dissemination caused confusion on what practices were documented or not.

JFWooten4 and others added 2 commits July 22, 2026 04:17
Replace obsolete versioning instructions with the current documentation, OpenAPI, OpenRPC, sidebar, and validation workflows.

Co-authored-by: Codex <noreply@openai.com>
Use a more formal heading for the Anchor Platform documentation contribution guide.

Co-authored-by: Codex <noreply@openai.com>
Copilot AI review requested due to automatic review settings July 22, 2026 08:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refreshes the Anchor Platform contributor guide to match current documentation workflows.

Changes:

  • Removes obsolete versioning guidance.
  • Documents OpenAPI/OpenRPC generation and validation.
  • Clarifies source paths, generated files, links, and sidebar configuration.

Recommendation: NEEDS-CHANGES — document the full-URL exception for links embedded in OpenAPI/OpenRPC specifications.

Comment on lines +43 to +44
Do not use published `/docs/...` routes for internal documentation links.
Docusaurus validates relative source links during the build.
Clarify that the CONTRIBUTING.md file is for repository browsing only and not published.
Clarify linking guidelines for internal and external links.
Updated the section title for API reference pages in the contributing guidelines to improve clarity.

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is a really nice update to this doc! thanks for submitting it

Comment thread CONTRIBUTING.md Outdated
### Links

- **Internal links are relative file paths, including the `.mdx` extension**: `[fees](../../learn/fundamentals/fees-resource-limits-metering.mdx#inclusion-fee)`. Docusaurus resolves these at build time, so a broken path fails the build instead of shipping a 404.
- _Exception:_ **Across plugin instances, use an absolute URL path.** For example, a page in the main docs linking to a meeting should use `[discussion](/meetings/2024/06/27)`. Docusaurus cannot resolve relative file paths between here.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good addition!

Suggested change
- _Exception:_ **Across plugin instances, use an absolute URL path.** For example, a page in the main docs linking to a meeting should use `[discussion](/meetings/2024/06/27)`. Docusaurus cannot resolve relative file paths between here.
- _Exception:_ **Across plugin instances, use an absolute URL path.** For example, a page in the main docs linking to a meeting should use `[discussion](/meetings/2024/06/27)`. Docusaurus cannot resolve relative file paths between different plugins.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I explicitly removed the plugin distinction because it wasn't entirely clear to me. Starting off my edits, I really didn't know what plugins were. And the way this was originally framed made it sound like the docs subfolders were all different, which they aren't.

Suggested change
- _Exception:_ **Across plugin instances, use an absolute URL path.** For example, a page in the main docs linking to a meeting should use `[discussion](/meetings/2024/06/27)`. Docusaurus cannot resolve relative file paths between here.
- _Exception:_ **Across plugin instances, use an absolute URL path.** For example, a page in the main docs linking to a meeting should use `[discussion](/meetings/2024/06/27)`. Docusaurus cannot resolve relative file paths between root sections.

Comment thread CONTRIBUTING.md Outdated
Co-authored-by: Codex <noreply@openai.com>
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