Skip to content

Conversation

@wanwiset25
Copy link
Collaborator

@wanwiset25 wanwiset25 commented Nov 23, 2025

  • Reorganize subnet docs to make it more intuitive to navigate
  • Add changelogs and repositories reference

Summary by CodeRabbit

  • Documentation
    • Reorganized Subnet documentation structure for improved navigation and accessibility.
    • Added changelog documenting v2.1.0 and v2.0.0 releases with feature highlights.
    • Enhanced resource section with repository links and component information.
    • Updated navigational structure to streamline access to deployment guides and component references.

✏️ Tip: You can customize this high-level summary in your review settings.

Add changelogs and repositories reference
@coderabbitai
Copy link

coderabbitai bot commented Nov 23, 2025

Walkthrough

Documentation reorganization: Deleted repository documentation from components, created new resource files for repositories and subnet generator placeholder, added navigation tiles to overview page, expanded changelog with new versions (v2.1.0, v2.0.0), and restructured mkdocs.yml navigation with new "Deployment and Usage" and "Resources" groupings.

Changes

Cohort / File(s) Summary
Repository Documentation Relocation
docs/subnet/components/repos.md, docs/subnet/resources/repos.md
Deleted repos documentation from components directory; added new repos documentation file under resources directory with Subnet Repositories section containing six repository links
New Documentation Files
docs/subnet/components/subnet_generator.md
Added new placeholder documentation file for subnet generator component
Overview and Navigation Updates
docs/subnet/overview.md
Added HTML content block with two navigational grid-item tiles linking to Subnet components and Launch Subnet guide
Changelog Entries
docs/subnet/resources/changelog.md
Added changelog sections for v2.1.0 (XDPoS generator, deployment wizard, Docker scripts, API expansion, execution library, versioning fixes) and v2.0.0 (Container Manager, Web UI, Generators, Faucet, State Management, Utility Scripts)
Navigation Structure Reorganization
mkdocs.yml
Restructured XDC Subnet section with new "Overview" grouping, introduced "Deployment and Usage" section containing expanded deployment guides and nested "Using the Subnet" subsection, relocated component references to new "Resources" subsection with GitHub Repositories and Changelog entries

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • mkdocs.yml navigation restructuring: Verify all path references are correct and internal links resolve properly after the file movements and organizational changes
  • Repository file relocation: Confirm no broken internal links remain after moving repos.md from components to resources
  • HTML structure in overview.md: Review the new navigational tiles for proper formatting and accessibility

Poem

🐰 Carrots reorganized in fresh new rows,
Docs grow gardens where knowledge flows,
From components moved to resources bright,
Navigation tiles shining with light! 🥕✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Reorganize subnet docs' accurately describes the main change in the changeset, which involves reorganizing the subnet documentation structure across multiple files (mkdocs.yml, docs/subnet/overview.md, and related documentation files).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch better-organize-subnet-docs

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
mkdocs.yml (1)

128-128: Critical: Changelog path mismatch in navigation.

Line 128 references the changelog at the outdated path ./subnet/install_guide/changelog.md, but line 138 correctly references the new location at ./subnet/resources/changelog.md. This path conflict will cause a 404 error for users accessing the Deployment Guide → Changelog link.

Apply this diff to correct the path on line 128:

      - Deployment Guide: 
        - Launch a Subnet: ./subnet/install_guide/launch_subnet.md
        - Multi-Machines Deployment: ./subnet/install_guide/multi_machines_deployment.md
        - Exposing Subnet Frontend: ./subnet/install_guide/exposing_services_frontend.md
        - Configs Explanation: ./subnet/install_guide/config_explanation.md
        - Common Issues and Troubleshooting: ./subnet/install_guide/common_issues.md
        - FAQ: ./subnet/install_guide/faq.md
-       - Subnet Deployment Generator Changelog: ./subnet/install_guide/changelog.md
+       - Subnet Deployment Generator Changelog: ./subnet/resources/changelog.md

Alternatively, if you intend to keep the changelog reference in both locations (Deployment Guide and Resources), you may remove it from line 128 to avoid duplication.

Also applies to: 138-138

🧹 Nitpick comments (1)
docs/subnet/components/subnet_generator.md (1)

1-1: Verify the placeholder file intent.

This file contains only "placeholder" text and is not currently referenced in mkdocs.yml. Confirm whether this is intentional scaffolding for future content or if it needs completion before merge.

If content needs to be added, I can help generate documentation based on the subnet architecture described in overview.md.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between eca43bf and 2acb597.

📒 Files selected for processing (6)
  • docs/subnet/components/repos.md (0 hunks)
  • docs/subnet/components/subnet_generator.md (1 hunks)
  • docs/subnet/overview.md (1 hunks)
  • docs/subnet/resources/changelog.md (1 hunks)
  • docs/subnet/resources/repos.md (1 hunks)
  • mkdocs.yml (2 hunks)
💤 Files with no reviewable changes (1)
  • docs/subnet/components/repos.md
🧰 Additional context used
🪛 markdownlint-cli2 (0.18.1)
docs/subnet/resources/repos.md

7-7: Bare URL used

(MD034, no-bare-urls)


9-9: Bare URL used

(MD034, no-bare-urls)


11-11: Bare URL used

(MD034, no-bare-urls)


13-13: Bare URL used

(MD034, no-bare-urls)


15-15: Bare URL used

(MD034, no-bare-urls)


17-17: Bare URL used

(MD034, no-bare-urls)

🔇 Additional comments (2)
docs/subnet/resources/changelog.md (1)

7-23: Changelog entries look good.

The v2.1.0 and v2.0.0 entries are well-formatted and clearly document feature additions and improvements. Both entries use the same release date (2025/09/23)—confirm this is intentional and reflects actual release timing.

mkdocs.yml (1)

110-139: Navigation restructuring is well-organized.

The new structure clearly separates concerns: Overview (design context), Deployment and Usage (operational guides), and Resources (references). This improves information architecture and user navigation flow.



<div class="section-body">
<a href="../components/subnet_chain/" class="grid-item">
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify relative navigation paths resolve correctly.

The navigation tiles use relative paths (../components/subnet_chain/ and ../install_guide/launch_subnet/) to link to subnet documentation. Confirm these paths resolve correctly in the generated MkDocs site based on the restructured navigation hierarchy.

Run the following script to verify the markdown files exist and path references are valid:

Also applies to: 47-47


🏁 Script executed:

#!/bin/bash
# Description: Verify that referenced files exist and check mkdocs structure

# Check if referenced markdown files exist
echo "Checking referenced files..."
test -f docs/subnet/components/subnet_chain.md && echo "✓ Subnet Chain file exists" || echo "✗ Subnet Chain file NOT found"
test -f docs/subnet/install_guide/launch_subnet.md && echo "✓ Launch Subnet file exists" || echo "✗ Launch Subnet file NOT found"

# Check mkdocs.yml navigation structure for path consistency
echo -e "\nChecking mkdocs.yml references..."
grep -n "subnet_chain.md\|launch_subnet.md" mkdocs.yml

Length of output: 253


Fix relative navigation paths to use correct directory traversal.

The relative paths use ../ which incorrectly navigate to the root level instead of staying within the subnet directory. Update lines 43 and 47 to use ./ prefix:

  • Line 43: Change ../components/subnet_chain/ to ./components/subnet_chain/
  • Line 47: Change ../install_guide/launch_subnet/ to ./install_guide/launch_subnet/

From the generated MkDocs site at /subnet/overview/, the ../ prefix goes up to the root level, causing links to resolve to /components/subnet_chain/ and /install_guide/launch_subnet/ instead of /subnet/components/subnet_chain/ and /subnet/install_guide/launch_subnet/. The ./ prefix correctly keeps navigation within the subnet namespace.

🤖 Prompt for AI Agents
In docs/subnet/overview.md around lines 43 and 47, the relative links use "../"
which climbs to the site root and produces incorrect URLs; change line 43 from
"../components/subnet_chain/" to "./components/subnet_chain/" and line 47 from
"../install_guide/launch_subnet/" to "./install_guide/launch_subnet/" so the
links remain under the /subnet/ namespace and resolve to
/subnet/components/subnet_chain/ and /subnet/install_guide/launch_subnet/.

Comment on lines +7 to +17
Subnet Generator/Deployment Wizard: https://github.com/XinFinOrg/Subnet-Deployment

Subnet Blockchain Node: https://github.com/XinFinOrg/XDC-Subnet

Relayer: https://github.com/XinFinOrg/XDC-Relayer

Checkpoint Smart Contract (CSC): https://github.com/XinFinOrg/XDC-CSC

XDC-Zero Cross-chain Framework: https://github.com/XinFinOrg/XDC-Zero

Subnet UI: https://github.com/XinFinOrg/subnet-stats-service
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Wrap bare URLs with markdown link syntax.

All repository URLs are flagged by markdownlint (MD034) as bare URLs. Wrap them in markdown link syntax to comply with linting standards.

Apply this diff to wrap URLs as proper markdown links:

## Subnet Repositories

-Subnet Generator/Deployment Wizard: https://github.com/XinFinOrg/Subnet-Deployment
+[Subnet Generator/Deployment Wizard](https://github.com/XinFinOrg/Subnet-Deployment)

-Subnet Blockchain Node: https://github.com/XinFinOrg/XDC-Subnet
+[Subnet Blockchain Node](https://github.com/XinFinOrg/XDC-Subnet)

-Relayer: https://github.com/XinFinOrg/XDC-Relayer
+[Relayer](https://github.com/XinFinOrg/XDC-Relayer)

-Checkpoint Smart Contract (CSC): https://github.com/XinFinOrg/XDC-CSC
+[Checkpoint Smart Contract (CSC)](https://github.com/XinFinOrg/XDC-CSC)

-XDC-Zero Cross-chain Framework: https://github.com/XinFinOrg/XDC-Zero
+[XDC-Zero Cross-chain Framework](https://github.com/XinFinOrg/XDC-Zero)

-Subnet UI: https://github.com/XinFinOrg/subnet-stats-service
+[Subnet UI](https://github.com/XinFinOrg/subnet-stats-service)
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
Subnet Generator/Deployment Wizard: https://github.com/XinFinOrg/Subnet-Deployment
Subnet Blockchain Node: https://github.com/XinFinOrg/XDC-Subnet
Relayer: https://github.com/XinFinOrg/XDC-Relayer
Checkpoint Smart Contract (CSC): https://github.com/XinFinOrg/XDC-CSC
XDC-Zero Cross-chain Framework: https://github.com/XinFinOrg/XDC-Zero
Subnet UI: https://github.com/XinFinOrg/subnet-stats-service
[Subnet Generator/Deployment Wizard](https://github.com/XinFinOrg/Subnet-Deployment)
[Subnet Blockchain Node](https://github.com/XinFinOrg/XDC-Subnet)
[Relayer](https://github.com/XinFinOrg/XDC-Relayer)
[Checkpoint Smart Contract (CSC)](https://github.com/XinFinOrg/XDC-CSC)
[XDC-Zero Cross-chain Framework](https://github.com/XinFinOrg/XDC-Zero)
[Subnet UI](https://github.com/XinFinOrg/subnet-stats-service)
🧰 Tools
🪛 markdownlint-cli2 (0.18.1)

7-7: Bare URL used

(MD034, no-bare-urls)


9-9: Bare URL used

(MD034, no-bare-urls)


11-11: Bare URL used

(MD034, no-bare-urls)


13-13: Bare URL used

(MD034, no-bare-urls)


15-15: Bare URL used

(MD034, no-bare-urls)


17-17: Bare URL used

(MD034, no-bare-urls)

🤖 Prompt for AI Agents
In docs/subnet/resources/repos.md around lines 7 to 17, the listed repository
URLs are bare and trigger markdownlint MD034; wrap each URL in markdown link
syntax by replacing plain URLs with the format [Repository Name](https://...)
for each entry (e.g., Subnet Generator/Deployment Wizard -> [Subnet
Generator/Deployment Wizard](https://github.com/XinFinOrg/Subnet-Deployment)),
doing the same for Subnet Blockchain Node, Relayer, Checkpoint Smart Contract
(CSC), XDC-Zero Cross-chain Framework, and Subnet UI so all links comply with
linting.

@AnilChinchawale AnilChinchawale merged commit 8e0e9bb into main Nov 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants