Skip to content

📊 Refresh Stellar Data Structures - #2446

Open
JFWooten4 wants to merge 14 commits into
stellar:mainfrom
john-stellar:723-pt-35
Open

JFWooten4 wants to merge 14 commits into
stellar:mainfrom
john-stellar:723-pt-35

Conversation

@JFWooten4

Copy link
Copy Markdown
Contributor

This PR refreshes the Stellar Data Structures section by adding a sidebar category and tightening the Assets and Events pages.

It updates the Assets page to use clearer language around securities, moves the contract token note closer to the related discussion, and formats int64s as code.

It also updates the Events page description and clarifies the TransactionMetaV3 and TransactionMetaV4 references so the page points directly to the relevant inline sections.

I also cleaned up the needless duplication of Markdown link references for the inline TransactionMeta page refs and updated the old SDF site SEP redirects to point directly to the actual GitHub instance.

JFWooten4 and others added 3 commits May 12, 2026 21:27
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Copilot AI review requested due to automatic review settings May 13, 2026 01:30

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

This PR refreshes the “Stellar Data Structures” docs section by improving navigation (new sidebar category) and tightening language/linking in the Assets and Events pages to make key references easier to follow.

Changes:

  • Added a Docusaurus _category_.json to group the Stellar Data Structures docs under a sidebar category.
  • Updated assets.mdx for clearer asset examples, moved the contract token note closer to relevant content, and formatted int64s as code.
  • Updated events.mdx to link directly to the in-page TransactionMetaV3/V4 sections and replaced an outdated SEP-41 redirect with a direct GitHub link.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docs/learn/fundamentals/stellar-data-structures/events.mdx Improves page metadata/wording and replaces reference-style links with direct in-page anchors; updates SEP-41 link target.
docs/learn/fundamentals/stellar-data-structures/assets.mdx Refines asset description language, relocates the “contract token” note, and formats int64s inline as code.
docs/learn/fundamentals/stellar-data-structures/category.json Adds a sidebar category entry that links to the section README.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

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

some nitpicks to change, but it's a very good start.

your category file also appears in #2411. we can discuss more about the json file approach there, but if you include this file now, it could easily lead to a conflict down the road.

# Assets

Accounts on the Stellar network can be used to track, hold, and transfer any type of asset. Assets can represent many things: cryptocurrencies (such as bitcoin or ether), fiat currencies (such as dollars or pesos), other tokens of value (such as NFTs), pool shares, or bonds and equity.
Accounts on the Stellar network can be used to track, hold, and transfer any type of asset. Assets can represent many things: cryptocurrencies (such as bitcoin or ether), fiat currencies (such as dollars or pesos), other tokens of value (such as NFTs, pool shares, or securities).

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.

i think i like the parenthesis the way it was before. and maybe securities belongs as an addition to bonds and equity rather than a replacement?

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.

This is a holdover from all those years I spent in marketing. Groups of three are easier to remember, and they slide off the tongue much more easily. So perhaps I applied that thinking a little too much here.

I am trying to steer the docs toward a uniform definition of security, as per #2579 (comment), rather than the older precedent of subcategorization.

That said there is a real problem here in that it says you can "transfer any type of asset", but you can't transfer native pool shares. I propose just dropping that bit for now, implemented in a86f717. This ends our list in a uniform third "such as X or Y" syntax, matching earlier examples.

Co-authored-by: Elliot Voris <elliot@voris.me>
@JFWooten4 JFWooten4 changed the title 📊 Refreshe Stellar Data Structures 📊 Refresh Stellar Data Structures Jul 14, 2026
Removed label, position, and link fields from the category JSON.
Removed 'pool shares' from the list of asset types.
@stellar-doxie

stellar-doxie Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this PR is stale (no update in 4+ weeks).

Facts check out and build is green at the head. No live preview was available.

@ElliotFriend, your other review points are settled: int64 applied, SEP links landed in #2447, and the description-only _category_.json fits your note on #2617. One point is open: the author wrote "(such as NFTs or securities)" instead of adding "securities" beside "bonds and equity", and dropped "pool shares" (correct: pool shares cannot be transferred). Do you accept this wording? @kaankacar

@stellar-doxie stellar-doxie Bot added the bot:needs-decision Bot needs a maintainer decision (listing, scope, policy) label Oct 7, 2026
Preserve the revised placement and wording of the asset terminology guidance while adopting upstream's documentation heading hierarchy. Retain the corrected SEP-41 reference and accommodate the expanded multilingual event examples without reverting upstream documentation conventions.
@mintlify

mintlify Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 91614eb.

Approve preview

JFWooten4 and others added 2 commits December 2, 2026 15:25
Convert directory-relative documentation links to root-relative paths without changing their destinations or same-page anchors.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Convert directory-relative documentation links to root-relative paths without changing their destinations or same-page anchors.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>

@stellar-doxie stellar-doxie Bot 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.

🤖 Automated message from Doxie.

Back on this because @JFWooten4 pushed new commits.

Two Mintlify port fixes. Your fork refused my push (403), so they are inline.

@stellar-doxie

stellar-doxie Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Back on this because @JFWooten4 pushed new commits.

  • @JFWooten4: the port and the root-relative links check out. Please apply my two inline notes (:::info does not render, and Mintlify ignores _category_.json). Your fork refused my push.
  • @ElliotFriend: your change request on "securities" in place of "bonds and equity" is still open. Do you accept the author's wording? @kaankacar

No live preview was available.

Needs a decision.

What I checked
  • Head 1d7abab merges cleanly with main 8999cf2 (git merge-tree). The checks job passed. Socket passed.
  • Pool shares cannot be transferred: stellar-protocol core/cap-0038.md:52 and docs/learn/fundamentals/liquidity-on-stellar-sdex-liquidity-pools.mdx:97. Dropping them from the list is correct.
  • Every rewritten link resolves to the same page as before. The targets exist, and so do the anchors #naming-an-asset (control-asset-access.mdx:28), #examples (getEvents.mdx:201), #transactionmetav3 and #transactionmetav4 (events.mdx:45, :76).
  • :::info at assets.mdx:23-27 is the only admonition left in docs/ (MIGRATING.md:53). _category_.json is the only one left in docs/ (MIGRATING.md:34).
  • SWEEP: docs/tokens/anatomy-of-an-asset.mdx:245 also lists "pool shares" as an asset that is tracked, held, and traded. I cannot push to this fork. I can open a follow-up PR once the wording is settled. No other copy in docs/, snippets/, or .mintlify/skills/.
  • Settled since 2026-10-07: int64 applied, the Copilot "preferred term" point applied, and the SEP-41 link is no longer in this diff (main has it since 🔗 SDF to Actual Repo Links #2447).
  • No CLI commands or SDK code in the diff.
  • Hold: stellar/github-triage-bot#30.

A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview.

Co-authored-by: Codex <noreply@openai.com>
JFWooten4 and others added 2 commits December 2, 2026 16:43
Mintlify defines the section navigation in docs.json and its landing-page description in index.mdx, so the Docusaurus category file is redundant.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Carry the exact description from the removed Docusaurus category into the Mintlify landing page frontmatter.

Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
@stellar-doxie

stellar-doxie Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Back on this because @JFWooten4 pushed new commits.

  • @JFWooten4, @starlight-pony: both inline fixes are in at 91614eb. <Info> replaces :::info, and _category_.json is gone. Thanks.
  • @ElliotFriend: one point is still open. Your change request asked to add "securities" beside "bonds and equity". The author replaced them with "(such as NFTs or securities)". Do you accept this wording? @kaankacar

No live preview was available.

Needs a decision.

What I checked
  • Head 91614eb merges cleanly with main 8999cf2 (git merge-tree). The checks job passed (run 46977687090). Socket passed.
  • Since 1d7abab: :::info became <Info> (assets.mdx:23-27), _category_.json was deleted, and its description moved into index.mdx frontmatter word for word.
  • The new index.mdx description names the five pages in docs.json:434-438 (ledgers, events, accounts, assets, contracts). The old one named transactions, which has no page in this section.
  • No ::: admonition or _category_.json is left in the section.
  • SWEEP: docs/tokens/anatomy-of-an-asset.mdx:245 still lists "pool shares" and "bonds and equity" in the same sentence. The fork refuses my push. I can open a follow-up PR once the wording is settled. No copy in snippets/ or .mintlify/skills/.
  • No CLI commands or SDK code in the diff.
  • Hold: stellar/github-triage-bot#30.

A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:needs-decision Bot needs a maintainer decision (listing, scope, policy)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants