Repository navigation
Description
What problem does your feature solve?
Re @ElliotFriend in #991, there are a number of pages which are materially-difficult to edit. One such page has an obvious typo whereby there is no period at the end of a sentence, which might be caused by a lack of a functional ✏ Edit this page button. 🤔 Might we make it easier to rectify this and future typos for further contributions, and maybe even entice creative permissionless innovation?1 At a minimum, the diction across the Guides might benefit from consistent "proper" syntax.
What would you like to see?
I can think of two solutions to this challenge. 💭
-
Preferred Simplicity: 🌌 Change the edit links to reference the actual base page via yarn build settings.
-
Technical Explainer: 👩🏭 Add
READMEexplainers to the direct pages to edit in GitHub for all instances2 where this happens.3
What alternatives are there?
We could leave it as challenging as it is to edit a relatively large amount of the Stellar docs. While this could be an easier approach, I think we can look at the state of XRPL's documentation to see just how well the closed-source approach works. Might we make crowdsourced documentation a staple of the network? 🤝
Footnotes
-
Innovation in the sense that anyone could easily ready, ideate, and upgrade the docs. 💡 ↩
-
This issue presumes we can identify all the places in the code where this phenomenon happens. As I understand it, Tyler originally migrated this guide, but others likely have a wholistic concept on the infrastructure side. 👨👩👧👦 ↩
-
One option could be to duplicate instructions for each placement in the parent directory of the rendered source host. 📂 ↩
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsNo status
Activity
ElliotFriend commentedon Oct 21, 2024
Hi, @JFWooten4! Thanks for your continued attention and effort toward making our documentation as accessible as possible, for both readers and contributors! The particular example you bring up, is another instance of our content being "generated at build-time," although through a different means than it is for the OpenAPI docs in #991.
You bring up a really good point, though. The places where we are doing this kind of "trickery" isn't well-documented, and isn't obvious to the contributor how someone might go about just fixing a stinkin' period 🤣.
I think we can accomodate a bit of both approaches 1 and 2, as you outlined above:
custom_edit_urlfield available in the frontmatter for docs pages, so we can indeed specify what the URL should be for those pages. I almost forgot, but there's an existing issue to address this in thestellar-clirepo: Cookbook files should define thecustom_edit_urlfrontmatter stellar-cli#1608 (there's also the potential of doing this programmatically, akin to howpnpm.io's docs site does for its localized pages. this is achievable, but maybe more of a long-term approach, since it may indeed be complex to encompass the various "edit this page" cases we have.)CONTRIBUTING.mdfile is a great effort! We could include in that file a section on "hard to edit" or "not obvious sources" or something like that to document as much of this kind of stuff as we can.briwylde08 commentedon Jan 7, 2025
@janewang this might be good for the CLI docs?
char23-web commentedon Oct 2, 2025
Merge
JFWooten4 commentedon Oct 3, 2025
Not sure what you mean, Char - but I think it relates to some of the issues brought up in #1823 💜
kaankacar commentedon Sep 7, 2026
Triage bot, acting for @kaankacar.
I am reading this issue now. I will report what I find.
kaankacar commentedon Sep 7, 2026
Triage bot, acting for @kaankacar.
I checked both approaches @ElliotFriend proposed. Approach 1 is already done. Approach 2 is now in a PR.
Approach 1 (edit links) is live. stellar/stellar-cli#1608 added
custom_edit_urlto all 19 cookbook pages. The "Edit this page" button on/docs/tools/cli/cookbook/payments-and-assetsnow opens the file instellar/stellar-cli.Approach 2 (write it down): PR #2824. It adds a CONTRIBUTING section for the three CLI page groups:
stellar-clistellar-cli.mdx: stub, built from the CLI--helptextplugins-list.mdx: rebuilt from thestellar-cli-pluginGitHub topicTwo things stay open. Please tell me if you want either.
custom_edit_url, so its edit link points at the stub. The right target is a choice: link tostellar/stellar-cli, or set it tonulland hide the button, as the API reference pages do.cookbook/payments-and-assets.mdxinstellar/stellar-cli. That fix belongs upstream, not here.JFWooten4 commentedon Nov 12, 2026
Following up on #1013 after checking the current repositories and published docs (November 12, 2026): I think this is substantially addressed, but not quite complete.
So my suggested remaining scope is (1) verify/fix the contributor-facing source-editing path in Mintlify for these generated or imported pages, and (2) fix the punctuation in both repositories so it survives future regeneration. A broader consistency pass across the CLI guides could follow separately. I wouldn't mark the issue fully resolved until the editing workflow and original example are both addressed.
stellar-doxie commentedon Nov 12, 2026
🤖 Automated message from the Stellar Triage Bot.
Back on this because @JFWooten4 replied. Thanks for the recheck. Your three points:
docs.jsonsetting, so no PR can turn it on. Thecustom_edit_urlfrontmatter from Cookbook files should define thecustom_edit_urlfrontmatter stellar-cli#1608 is gone from the Mintlify pages.payments-and-assets.mdxandcontract-lifecycle.mdx; both had the same sentence. The same fix is still needed instellar/stellar-clicookbook/payments-and-assets.mdxandcookbook/contract-lifecycle.mdx.Decision needed: @kaankacar @ElliotFriend, should the docs site show an edit link again?
I keep this issue open until you choose. #3121 says "Refs #1013", so merging it does not close the issue.