Skip to content

📝 Punctualize, stylize CLI Guide #1013

Open

Description

@JFWooten4

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. 💭

  1. Preferred Simplicity: 🌌 Change the edit links to reference the actual base page via yarn build settings.

  2. Technical Explainer: 👩‍🏭 Add README explainers 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

  1. Innovation in the sense that anyone could easily ready, ideate, and upgrade the docs. 💡 ↩

  2. 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. 👨‍👩‍👧‍👦 ↩

  3. One option could be to duplicate instructions for each placement in the parent directory of the rendered source host. 📂 ↩

Activity

  1. ElliotFriend commented on Oct 21, 2024

    @ElliotFriend
    Contributor

    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:

    1. There is custom_edit_url field 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 the stellar-cli repo: Cookbook files should define the custom_edit_url frontmatter stellar-cli#1608 (there's also the potential of doing this programmatically, akin to how pnpm.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.)
    2. I think the start you've made to a CONTRIBUTING.md file 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.
  2. briwylde08 commented on Jan 7, 2025

    @briwylde08
    Contributor

    @janewang this might be good for the CLI docs?

  3. char23-web commented on Oct 2, 2025

    @char23-web

    Merge

  4. JFWooten4 commented on Oct 3, 2025

    @JFWooten4
    ContributorAuthor

    Not sure what you mean, Char - but I think it relates to some of the issues brought up in #1823 💜

  5. added
    documentation
    on Jul 13, 2026
  6. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    Triage bot, acting for @kaankacar.

    I am reading this issue now. I will report what I find.

  7. kaankacar commented on Sep 7, 2026

    @kaankacar
    Contributor

    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_url to all 19 cookbook pages. The "Edit this page" button on /docs/tools/cli/cookbook/payments-and-assets now opens the file in stellar/stellar-cli.

    Approach 2 (write it down): PR #2824. It adds a CONTRIBUTING section for the three CLI page groups:

    • cookbook guides: stubs, overwritten from stellar-cli
    • stellar-cli.mdx: stub, built from the CLI --help text
    • plugins-list.mdx: rebuilt from the stellar-cli-plugin GitHub topic

    Two things stay open. Please tell me if you want either.

    1. The CLI manual page still has no custom_edit_url, so its edit link points at the stub. The right target is a choice: link to stellar/stellar-cli, or set it to null and hide the button, as the API reference pages do.
    2. The missing period is in cookbook/payments-and-assets.mdx in stellar/stellar-cli. That fix belongs upstream, not here.
  8. JFWooten4 commented on Nov 12, 2026

    @JFWooten4
    ContributorAuthor

    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.

    • Contributor guidance: done. Document the CLI pages that are generated from stellar-cli #2824 was merged on September 8, 2026, and CONTRIBUTING.md now explains the actual sources for the CLI cookbook, generated manual, and plugin list. It also notes that cookbook/manual regeneration is currently paused during the Mintlify migration.
    • Cookbook edit-link fix: previously completed, but needs checking after the migration. stellar/stellar-cli#1608 was closed as completed for the Docusaurus-based pages. The site moved to Mintlify in October 2026, however, and I couldn't find a visible “Edit this page” link on the current Payments and Assets page. We should verify that contributors can still follow a working edit link to the real source rather than an imported copy, including for the CLI manual and plugin list.
    • The original punctuation example is still unfixed. “A list of available networks can be found here” still lacks a final period in both stellar-cli's source and stellar-docs' copy, as well as on the published page.

    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.

  9. stellar-doxie commented on Nov 12, 2026

    @stellar-doxie
    Contributor

    🤖 Automated message from the Stellar Triage Bot.

    Back on this because @JFWooten4 replied. Thanks for the recheck. Your three points:

    1. CONTRIBUTING.md: done. I agree.
    2. Edit link: confirmed missing. The live site shows no "Edit this page" link on any page, not only the CLI pages. On Mintlify this is the "Edit suggestions" switch in the dashboard (Site settings > Feedback). It is not a docs.json setting, so no PR can turn it on. The custom_edit_url frontmatter from Cookbook files should define the custom_edit_url frontmatter stellar-cli#1608 is gone from the Mintlify pages.
    3. Missing period: fixed here in Add the missing period to two CLI cookbook guides #3121. It covers payments-and-assets.mdx and contract-lifecycle.mdx; both had the same sentence. The same fix is still needed in stellar/stellar-cli cookbook/payments-and-assets.mdx and cookbook/contract-lifecycle.mdx.

    Decision needed: @kaankacar @ElliotFriend, should the docs site show an edit link again?

    • Option A: Turn on "Edit suggestions" in the Mintlify dashboard. The link opens the file in this repo. For CLI pages that is the copy, and CONTRIBUTING.md already explains that.
    • Option B: Keep edit links off. CONTRIBUTING.md stays the guide for contributors.

    I keep this issue open until you choose. #3121 says "Refs #1013", so merging it does not close the issue.

  10. added
    bot:needs-decision
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot:needs-decisiondocumentation

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions