Repository navigation
🔄 Refresh Anchor Platform contributing guide - #2671
Conversation
Replace obsolete versioning instructions with the current documentation, OpenAPI, OpenRPC, sidebar, and validation workflows. Co-authored-by: Codex <[email protected]>
Use a more formal heading for the Anchor Platform documentation contribution guide. Co-authored-by: Codex <[email protected]>
There was a problem hiding this comment.
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.
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
left a comment
There was a problem hiding this comment.
this is a really nice update to this doc! thanks for submitting it
| ### 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. |
There was a problem hiding this comment.
good addition!
| - _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. |
There was a problem hiding this comment.
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.
| - _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. |
Co-authored-by: Codex <[email protected]>
Co-authored-by: Codex <[email protected]>
|
🤖 Automated message from the Stellar Triage Bot. Reviewing because this PR is stale (no update in 4+ weeks).
Ready to merge. External-origin change, so a maintainer merges this. |
|
PR Preview: torn down |
Port of 7c5c841 to the Mintlify tree. The guide was dropped by the Docusaurus-to-Mintlify swap, so this restores it at its main content, which is bcec501 plus this change. Refs #2671 Co-Authored-By: Claude Opus 5.5 <[email protected]>
) Replaces the Docusaurus site with Mintlify's converted tree (base bcec501), with tooling trimmed to prettier, husky, redocly, the OpenRPC build, and the mint CLI. Commits that landed on main after bcec501 were ported by hand. Ported: Refs #2448 Refs #2671 Refs #2672 Refs #2727 Refs #2827 Refs #2828 Refs #2837 Refs #2856 Refs #2857 Refs #2869 Refs #2871 Refs #2878 Refs #2880 Refs #2881 Refs #2885 Refs #2886 Refs #2890 Refs #2892 Refs #2893 Refs #2895 Refs #2900 Refs #2901 Refs #2902 Refs #2903 Refs #2905 Refs #2912 Refs #2913 Refs #2915 Refs #2918 Refs #2922 Merged into the branch: Refs #2936 Refs #2937 Refs #2938 Refs #2940 Co-authored-by: alexistabak-cpu <[email protected]> Co-authored-by: Emir Ayral <[email protected]> Co-authored-by: John Wooten <[email protected]> Co-authored-by: Kaan Kacar <[email protected]> Co-authored-by: Leigh <[email protected]> Co-authored-by: maz <[email protected]> Co-authored-by: Michael Lip <[email protected]> Co-authored-by: Scopuly <[email protected]> Co-authored-by: stellar-triage-bot[bot] <333411864+stellar-triage-bot[bot]@users.noreply.github.com> Co-authored-by: Steph <[email protected]> Co-authored-by: urvisavla <[email protected]> Co-authored-by: water-k-max <[email protected]> Co-authored-by: Wlademyr Mendes <[email protected]> Co-Authored-by: Claude Opus 5.5 <[email protected]>
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.