Skip to content

refactor: rename tutorials/*/index.md to README.md for GitHub auto-rendering#152

Merged
johnxie merged 1 commit intomainfrom
refactor/index-to-readme
Mar 2, 2026
Merged

refactor: rename tutorials/*/index.md to README.md for GitHub auto-rendering#152
johnxie merged 1 commit intomainfrom
refactor/index-to-readme

Conversation

@johnxie
Copy link
Owner

@johnxie johnxie commented Mar 2, 2026

Summary

  • Rename 191 tutorials/*/index.mdREADME.md so GitHub auto-renders tutorial content when browsing directories (previously required clicking index.md manually)
  • Resolve 10 conflict tutorials that had both files (athens-research, logseq, nocodb, teable, dify, flowise, obsidian-outliner, codex-analysis, lobechat, n8n-mcp) — delete old stub README.md, keep canonical index.md content, then rename
  • Update 1,550 cross-references in chapter files: (index.md)(README.md)
  • Update 14 Python scripts to reference README.md instead of index.md
  • Regenerate all artifacts: manifest, snapshot, repo status docs, discoverability assets, llms.txt

Jekyll compatibility: GitHub Pages includes the jekyll-readme-index plugin by default, which converts README.md to index.html. The has_children: true frontmatter continues to work.

Validated locally

  • docs_health.py: 0 broken links, 0 missing indexes
  • check_index_format_v2.py: 130 compliant v2 indexes
  • All CI diff checks (manifest, snapshot, repo status, discoverability): clean

Test plan

  • CI "Docs Health" passes
  • Browse tutorials/langchain-tutorial/ on GitHub — README.md auto-renders
  • No index.md files remain in tutorial directories
  • All chapter cross-links resolve correctly

🤖 Generated with Claude Code

…ndering

GitHub only auto-renders README.md when browsing directories. Previously,
visiting tutorials/langchain-tutorial/ on GitHub showed a file listing —
users had to click index.md manually. Now the tutorial content renders
automatically.

Changes:
- rename 191 tutorials/*/index.md → README.md
- resolve 10 tutorials that had both files (delete old stub README.md,
  keep canonical index.md content, then rename)
- update 1,550 cross-references in chapter files: (index.md) → (README.md)
- update 14 Python scripts to reference README.md instead of index.md
- regenerate all discoverability assets, manifest, snapshots, status docs

Jekyll compatibility: GitHub Pages includes the jekyll-readme-index plugin
by default, which converts README.md to index.html. The has_children: true
frontmatter continues to work as before.

All CI checks validated locally:
- docs_health: 0 broken links, 0 missing indexes
- check_index_format_v2: 130 compliant indexes
- all diff checks (manifest, snapshot, repo status, discoverability): clean

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@johnxie johnxie merged commit f4b5643 into main Mar 2, 2026
1 check passed
@johnxie johnxie deleted the refactor/index-to-readme branch March 2, 2026 17:02
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.

1 participant