Skip to content

Frontmatter changes to support auto-generated index page tables#1689

Open
eshaben wants to merge 4 commits into
masterfrom
eshaben/index-table
Open

Frontmatter changes to support auto-generated index page tables#1689
eshaben wants to merge 4 commits into
masterfrom
eshaben/index-table

Conversation

@eshaben
Copy link
Copy Markdown
Collaborator

@eshaben eshaben commented May 27, 2026

📝 Description

This pull request introduces concise short_description fields to many of the documentation files in the Chain Interactions and Parachains sections. These short descriptions provide a quick summary of each page’s content, improving navigation and making it easier for users to understand the purpose of each guide at a glance. Additionally, the chain-interactions/index.md file is refactored to use auto-generated index tables for better maintainability and consistency.

The most important changes are:

Documentation Short Descriptions

Index Page Refactoring

  • Refactored chain-interactions/index.md to replace static lists with auto-generated index tables for each major section, improving consistency and ease of maintenance.
  • Updated the development tools section to use a markdown table for improved readability.

These changes make the documentation more user-friendly and easier to navigate, especially for new developers exploring different Polkadot features.


Goes with papermoonio/polkadot-mkdocs#272

Copilot AI review requested due to automatic review settings May 27, 2026 03:42
@eshaben eshaben requested a review from a team as a code owner May 27, 2026 03:42
@eshaben eshaben requested a review from 0xlukem May 27, 2026 03:42
@eshaben eshaben added B0 - Needs Review Pull request is ready for review A3 - Quick Fixes Pull request contains small fixes (i.e., fixing a typo, removing old images, etc.) A2 - Maintenance Minor Pull request contains minor updates to an existing page (i.e., modifying parameters, steps, etc.) and removed A3 - Quick Fixes Pull request contains small fixes (i.e., fixing a typo, removing old images, etc.) labels May 27, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds page-level metadata (notably short_description and some tools frontmatter) across the Chain Interactions, Parachains, and Smart Contracts docs to support auto-generated index tables, and refactors key index pages to use <!-- INDEX TABLE ... --> directives instead of hand-maintained lists/tables.

Changes:

  • Added short_description frontmatter to many docs pages to provide consistent summaries for navigation/index generation.
  • Introduced/expanded tools frontmatter on selected Smart Contracts tutorials and dev-environment guides.
  • Refactored chain-interactions/index.md, parachains/get-started.md, smart-contracts/get-started.md, and smart-contracts/cookbook/index.md to use auto-generated index table directives.

Reviewed changes

Copilot reviewed 73 out of 73 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
smart-contracts/precompiles/xcm.md Add short_description frontmatter for index/table summaries.
smart-contracts/precompiles/system.md Add short_description frontmatter for index/table summaries.
smart-contracts/precompiles/storage.md Add short_description frontmatter for index/table summaries.
smart-contracts/precompiles/eth-native.md Add short_description frontmatter for index/table summaries.
smart-contracts/precompiles/erc20.md Add short_description frontmatter for index/table summaries.
smart-contracts/libraries/web3-py.md Add short_description frontmatter for index/table summaries.
smart-contracts/libraries/web3-js.md Add short_description frontmatter for index/table summaries.
smart-contracts/libraries/wagmi.md Add short_description frontmatter for index/table summaries.
smart-contracts/libraries/viem.md Add short_description frontmatter for index/table summaries.
smart-contracts/libraries/ethers-js.md Add short_description frontmatter for index/table summaries.
smart-contracts/integrations/wallets.md Add short_description frontmatter for index/table summaries.
smart-contracts/get-started.md Replace static lists with INDEX TABLE directives (plus minor table formatting tweaks).
smart-contracts/for-eth-devs/json-rpc-apis.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/gas-model.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/evm-vs-pvm.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/dual-vm-stack.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/contract-deployment.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/blocks-transactions-fees.md Add short_description frontmatter for index/table summaries.
smart-contracts/for-eth-devs/accounts.md Add short_description frontmatter for index/table summaries.
smart-contracts/dev-environments/remix.md Add short_description and tools frontmatter metadata.
smart-contracts/dev-environments/local-dev-node.md Add short_description and tools frontmatter metadata.
smart-contracts/dev-environments/hardhat.md Add short_description/tools and adjust page_tests indentation.
smart-contracts/dev-environments/hardhat-polkadot.md Add short_description and adjust page_tests indentation.
smart-contracts/dev-environments/foundry.md Add short_description and tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-nft/nft-remix.md Add tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-nft/nft-hardhat.md Add tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-erc20/erc20-remix.md Add tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-erc20/erc20-hardhat.md Add tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-basic/basic-remix.md Add tools frontmatter metadata.
smart-contracts/cookbook/smart-contracts/deploy-basic/basic-hardhat.md Add tools frontmatter metadata.
smart-contracts/cookbook/index.md Replace generated static content block with INDEX TABLE directive configuration.
smart-contracts/cookbook/eth-dapps/uniswap-v2/periphery-v2.md Add tools frontmatter metadata.
smart-contracts/cookbook/eth-dapps/uniswap-v2/core-v2.md Add tools frontmatter metadata.
smart-contracts/cookbook/eth-dapps/uniswap-v2/core-v2-pvm.md Add tools frontmatter metadata.
smart-contracts/cookbook/dapps/zero-to-hero.md Add tools frontmatter and normalize “viem” casing in text.
parachains/testing/run-a-parachain-network.md Add short_description frontmatter for index/table summaries.
parachains/testing/fork-a-parachain.md Add short_description frontmatter for index/table summaries.
parachains/runtime-maintenance/unlock-parachains.md Add short_description frontmatter for index/table summaries.
parachains/runtime-maintenance/storage-migrations.md Add short_description frontmatter for index/table summaries.
parachains/runtime-maintenance/runtime-upgrades.md Add short_description frontmatter for index/table summaries.
parachains/runtime-maintenance/coretime-renewal.md Add short_description frontmatter for index/table summaries.
parachains/launch-a-parachain/set-up-the-parachain-template.md Add short_description frontmatter for index/table summaries.
parachains/launch-a-parachain/obtain-coretime.md Add short_description frontmatter for index/table summaries.
parachains/launch-a-parachain/deploy-to-polkadot.md Add short_description frontmatter for index/table summaries.
parachains/interoperability/channels-with-system-parachains.md Add short_description frontmatter for index/table summaries.
parachains/interoperability/channels-between-parachains.md Add short_description frontmatter for index/table summaries.
parachains/integrations/wallets.md Add short_description frontmatter for index/table summaries.
parachains/integrations/oracles.md Add short_description frontmatter for index/table summaries.
parachains/integrations/indexers.md Add short_description frontmatter for index/table summaries.
parachains/get-started.md Replace multiple static tables with INDEX TABLE directives.
parachains/customize-runtime/pallet-development/pallet-testing.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/pallet-development/mock-runtime.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/pallet-development/create-a-pallet.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/pallet-development/benchmark-pallet.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/add-smart-contract-functionality.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/add-pallet-instances.md Add short_description frontmatter for index/table summaries.
parachains/customize-runtime/add-existing-pallets.md Add short_description frontmatter for index/table summaries.
chain-interactions/token-operations/register-local-asset.md Add short_description frontmatter for index/table summaries.
chain-interactions/token-operations/register-foreign-asset.md Add short_description frontmatter for index/table summaries.
chain-interactions/token-operations/convert-assets.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/with-sdks.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/pay-fees-with-different-tokens.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/interoperability/transfer-assets-parachains.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/interoperability/transfer-assets-into-polkadot.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/interoperability/estimate-xcm-fees.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/interoperability/debug-and-preview-xcms.md Add short_description frontmatter for index/table summaries.
chain-interactions/send-transactions/calculate-transaction-fees.md Add short_description frontmatter for index/table summaries.
chain-interactions/query-data/runtime-api-calls.md Add short_description frontmatter for index/table summaries.
chain-interactions/query-data/query-sdks.md Add short_description frontmatter for index/table summaries.
chain-interactions/query-data/query-rest.md Add short_description frontmatter for index/table summaries.
chain-interactions/index.md Replace narrative link lists with INDEX TABLE directives and switch tools list to a markdown table.
chain-interactions/accounts/query-accounts.md Add short_description frontmatter for index/table summaries.
chain-interactions/accounts/create-account.md Add short_description frontmatter for index/table summaries.

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

Comment thread parachains/launch-a-parachain/obtain-coretime.md Outdated
Comment thread smart-contracts/precompiles/erc20.md Outdated
Copy link
Copy Markdown
Contributor

@0xlukem 0xlukem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@0xlukem 0xlukem self-assigned this Jun 1, 2026
@0xlukem 0xlukem requested a review from nhussein11 June 1, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A2 - Maintenance Minor Pull request contains minor updates to an existing page (i.e., modifying parameters, steps, etc.) B0 - Needs Review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants