Skip to content

Cookbook files should define the custom_edit_url frontmatter #1608

Closed

Description

@ElliotFriend

Following on from #1541 and stellar/stellar-docs#840

If these cookbook docs remain here, each one will need to define its own custom_edit_url frontmatter value, so the "Edit this page" button on the bottom of each one points people in the right direction. Currently, clicking on that button from any of these pages results in a 404 error, since the file is no longer in the stellar-docs repo.

For example, the frontmatter of the "Payments and Assets" page should be adapted to look something like:

---
title: Payments and Assets
hide_table_of_contents: true
description: Send XLM, stellar classic, or a soroban asset using the Stellar CLI
custom_edit_url: https://github.com/stellar/stellar-cli/edit/main/cookbook/payments-and-assets.mdx
---

To send payments and work with assets ...

Docusaurus info about this frontmatter value: https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-docs#custom_edit_url.

Activity

  1. added
    bug
    on Sep 16, 2024
  2. moved this to Backlog (Not Ready) in DevXon Sep 16, 2024
  3. moved this from Backlog (Not Ready) to Todo (Ready for Dev) in DevXon Sep 18, 2024
  4. self-assigned this
    on Jan 21, 2025
  5. moved this from Todo (Ready for Dev) to Needs Review in DevXon Jan 21, 2025
  6. moved this from Needs Review to Done in DevXon Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions