Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Refactors the “Ledgers” fundamentals documentation to separate the conceptual landing page from the detailed specifications for ledger entries vs headers, and updates internal links/redirects to match the new structure.
Changes:
- Split the former single ledgers page into a
/ledgerslanding page plus dedicated/ledgers/entriesand/ledgers/headerspages. - Update doc links (and one nginx redirect) to point at the new ledgers sub-pages/README.
- Add the new routes to the site’s route listing.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| routes.txt | Adds routes for the new ledgers sub-pages (entries, headers). |
| nginx/includes/redirects.conf | Updates legacy encyclopedia redirect for ledger headers to the new fundamentals location. |
| i18n/es/docusaurus-plugin-content-docs/current/validators/README.mdx | Updates ledger link to the new ledgers README path. |
| i18n/es/docusaurus-plugin-content-docs/current/learn/glossary.mdx | Updates glossary “Ledgers section” link to the new ledgers README path. |
| i18n/es/docusaurus-plugin-content-docs/current/data/indexers/build-your-own/ingest-sdk/README.mdx | Updates ledgers references to the new ledgers README path. |
| i18n/es/docusaurus-plugin-content-docs/current/data/apis/rpc/api-reference/methods/README.mdx | Updates “Ledger Headers” reference to the new headers page path. |
| i18n/es/docusaurus-plugin-content-docs/current/data/analytics/hubble/analyst-guide/history-vs-state-tables.mdx | Updates “History Ledgers” link (but currently points to a non-existent target). |
| i18n/es/docusaurus-plugin-content-docs/current/build/smart-contracts/getting-started/storing-data.mdx | Updates ledgers link to the new ledgers README path. |
| i18n/es/docusaurus-plugin-content-docs/current/build/smart-contracts/example-contracts/storage.mdx | Updates ledgers link to the new ledgers README path. |
| docs/validators/README.mdx | Updates ledger link to the new ledgers README path. |
| docs/learn/glossary.mdx | Updates glossary “Ledgers section” link to the new ledgers README path. |
| docs/learn/fundamentals/stellar-data-structures/ledgers/headers.mdx | Adds new dedicated “Ledger Headers” page. |
| docs/learn/fundamentals/stellar-data-structures/ledgers/entries.mdx | Adds new dedicated “Ledger Entries” page. |
| docs/learn/fundamentals/stellar-data-structures/ledgers/category.json | Adds a category definition to make /ledgers a section with a linked landing doc. |
| docs/learn/fundamentals/stellar-data-structures/ledgers/README.mdx | Adds new ledgers landing page with DocCardList navigation. |
| docs/learn/fundamentals/stellar-data-structures/ledgers.mdx | Removes the previous monolithic ledgers page. |
| docs/data/indexers/build-your-own/ingest-sdk/README.mdx | Updates ledgers references to the new ledgers README path. |
| docs/data/apis/rpc/api-reference/methods/README.mdx | Updates “Ledger Headers” reference to the new headers page path. |
| docs/data/analytics/hubble/analyst-guide/history-vs-state-tables.mdx | Updates “History Ledgers” link (but currently points to a non-existent target). |
| docs/build/smart-contracts/getting-started/storing-data.mdx | Updates ledgers link to the new ledgers README path. |
| docs/build/smart-contracts/example-contracts/storage.mdx | Updates ledgers link to the new ledgers README path. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
can you bring in the new changes from |
Co-authored-by: Codex <noreply@openai.com>
ElliotFriend
left a comment
There was a problem hiding this comment.
this is a nice split, and you've done it quite well! have a few nitpicks and fact-checks throughout, but overall this is very close!
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
ElliotFriend
left a comment
There was a problem hiding this comment.
couple more nitpicks and changes. after these, i'll be happy to merge the PR. thanks!!
Co-authored-by: Codex <noreply@openai.com>
|
Great work on the triage bot; it gives very specific feedback. Those first three corrections in 1610334 are great finds. And they reminded me of some important style choices I now need to clarify for documentation. Only gripe is line 88, which reverted an intentional syntax change, but that could just be from this being an early version of the bot. |
|
🤖 Automated message from the Stellar Triage Bot. Back on this because @JFWooten4 replied. Thanks. You are right that "object" was your deliberate word, so I restored it in 48afac7. I kept one part of my fix:
The line now reads "for the associated contract data or code object." My earlier list of steps (merge |
Preserve the separate ledger overview, entry, and header documentation while integrating the incoming Mintlify navigation, consolidated language guides, redirect configuration, generated RPC reference, and newer protocol explanations. Update the affected conceptual links to match the reorganized pages and remove superseded Docusaurus landing pages rather than maintaining competing copies of the same documentation.
Route both historical ledger-header URLs directly to the dedicated Headers page in the active Mintlify redirect configuration. Preserve the general ledger redirects and all unrelated entries. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Replace the Docusaurus card list with explicit Columns and Card components matching upstream index pages, using the existing entry and header descriptions. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Rename the ledger overview to index.mdx and convert its note and metadata to Mintlify conventions. Keep public links at the existing /ledgers route, restore main's navigation formatting and unrelated page entries, and register only the new ledger group. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 pushed new commits. The merge of
No live preview was available. ElliotFriend's July change request still stands, so it needs his re-review after these land. A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
Group the direct header members, SCP value members, and network flag extension into parallel sections. Preserve the CAP-88 and extension details and promote the nested SCP field headings. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Drop the stale root redirects.json and _category_.json, convert the entries callout, heading IDs and links to Mintlify syntax, restore the Types of LedgerKeys anchor, point the RPC methods page at ledgers/headers, and give the header extension sentence a subject.
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 pushed new commits. The new SCP Value and Network Flags sections are accurate. I fixed all 4 broken links and the Mintlify port, but your fork refuses my push (403). Please pull my 2 commits from One question for you: No live preview was available. ElliotFriend's July change request still stands, so he needs to re-review after this. A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
Move the discriminated union description under the ledger header fields, leaving network flag behavior in its own section. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Replace the misleading transaction-summary description with the consensus value and predecessor linkage. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
Replace the misleading transaction-summary description with the consensus value and predecessor linkage. Co-authored-by: ChatGPT 6.2 <noreply@openai.com>
# Conflicts: # docs/learn/fundamentals/stellar-data-structures/ledgers/headers.mdx
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 pushed new commits. Your new header description and the Extension section are accurate. Your Still open from my last comment: can the "Constructing Call Keys" heading in No live preview was available. ElliotFriend's July change request still stands, so he needs to re-review after this. A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 pushed new commits. Thanks for pulling my branch. The
If you prefer other words, tell me and I will use them. @ElliotFriend your July change request still stands. "disabled" vs "deprecated" on the Inflation Sequence line is your call. No live preview was available. A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
There was a problem hiding this comment.
🤖 Automated message from Doxie.
Back on this because @JFWooten4 pushed new commits. Two one-click suggestions below keep the #types-of-ledgerkeys anchor. A third one is optional.
| {/* /rpc-method */} | ||
|
|
||
| ## Building ledger keys | ||
| ## Constructing Call Keys |
There was a problem hiding this comment.
🤖 Automated message from Doxie.
Your heading text stays. The custom ID keeps the old anchor: stellar ledger entry fetch --help (stellar-cli 30.0.1) links getLedgerEntries#types-of-ledgerkeys.
| ## Constructing Call Keys | |
| ## Constructing Call Keys {#types-of-ledgerkeys} |
| ``` | ||
|
|
||
| The same data over RPC takes two keys. The first key is the account, the second is the USDC trustline. See [Building ledger keys](/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys) for how to build each one. | ||
| The same data over RPC takes two keys. The first key is the account, the second is the USDC trustline. See [Constructing Call Keys](/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#constructing-call-keys) for how to build each one. |
There was a problem hiding this comment.
🤖 Automated message from Doxie.
Apply this together with the heading suggestion. With the custom ID, #constructing-call-keys no longer exists.
| The same data over RPC takes two keys. The first key is the account, the second is the USDC trustline. See [Constructing Call Keys](/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#constructing-call-keys) for how to build each one. | |
| The same data over RPC takes two keys. The first key is the account, the second is the USDC trustline. See [Constructing Call Keys](/docs/data/apis/rpc/api-reference/methods/getLedgerEntries#types-of-ledgerkeys) for how to build each one. |
| The source of truth should always be the XDR defined in the protocol. `LedgerKey`s are a union type defined in [Stellar-ledger-entries.x](https://github.com/stellar/stellar-xdr/blob/v25.0/Stellar-ledger-entries.x#L588). | ||
|
|
||
| ## Types of `LedgerKey`s | ||
| An interesting product of the store's internal design is that the key is a _subset_ of the entry: we'll see more of this later. |
There was a problem hiding this comment.
🤖 Automated message from Doxie.
Optional: "the store" has no antecedent since the key-value store sentence went.
| An interesting product of the store's internal design is that the key is a _subset_ of the entry: we'll see more of this later. | |
| An interesting product of the ledger's key-value design is that the key is a _subset_ of the entry: we'll see more of this later. |
There was a problem hiding this comment.
Now that's some good grammar
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 pushed new commits. Removing A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
|
🤖 Automated message from Doxie. Back on this because @JFWooten4 replied. Thanks. You can apply all three suggestions in one commit:
The two anchor suggestions matter most. Without them, the link that No live preview was available. A maintainer can build the preview: open the Mintlify Preview (fork) check and click Approve preview. Needs the author. What I checked
|
The network uses ledger headers and ledger entries for very different things. One has deep involvement in consensus, can change based on validator consensus, and is broadly up for active discussion, including recently. The latter acts as the basis for permanent blockchain information.
The current ledgers page combines them into a single narrative that mashes all that nuance onto one page. References in the docs remedy this by referring to section headers for one or the other paths. But the conglomerate is simply doing too much right now, from explaining what ledgers are conceptually to listing out SCP values.
I first ran into this problem with #763 and am actively working on a related structural organization point in #944. In this work, I've greatly expanded on the existing ledger entry docs, which have downstream implications for how you write them into the API specifications.1 It gives more specific reference points for important network concepts while maintaining the blanket
/ledgerslanding page and widely used URL:Footnotes
getLedgersis just the first of many endpoints that repeat ledger specification data that can be boiled down to a single reference. ↩