How inkonchain/docs works
InkChain Documentation App is a Next.js Pages Router documentation site using Nextra. Readers enter through the home page or navigation, find documentation through search and section links, read topic pages, and can copy or view rendered content as Markdown. The repository also contains network and ecosystem content wrappers, interactive branding, and shared documentation chrome. The graph follows the documented app setup and sampled imports/calls; most content routes and several wrappers were not sampled, so their internal behavior and links are not inferred.
Main entry points: theme.config.tsx Nextra theme config · _app.tsx Pages app shell · HomeSections.tsx Home sections · pages Documentation pages
Components 23
Site runtime
- Pages app shell
src/pages/_app.tsx - Nextra theme config
theme.config.tsx
Documentation content
- Home sections
src/components/Home/HomeSections.tsx - Documentation pages
src/pages - Home card icons
src/components/Home/icons.tsx - Network information
src/utils/networks.ts - Ecosystem content wrappers
src/components
Reader features
- Documentation search
src/components/SearchBar.tsx - Page actions
src/components/PageActions.tsx - Rendered-page Markdown
src/utils/page-to-markdown.ts - Copy confirmation
src/components/CopyToast.tsx - Interactive Ink hero
src/components/InkHero - Interactive ASCII art
src/components/NotFound/interactive-ascii.ts
Shared presentation
- Page chrome
src/components - Site footer
src/components/Footer.tsx - Navbar actions
src/components/NavbarActions.tsx - Theme toggle
src/components/ThemeToggle.tsx - Table of contents
src/components/Toc.tsx - Page title and layout
src/components/PageMain.tsx - Typewriter display
src/components/Typewriter.tsx - Ink brand mark
src/icons/InkMark.tsx - Site link constants
src/utils/urls.ts
Other components
- Documentation reader
Connections 23
- Documentation reader → Pages app shell: opens site
README.md - Pages app shell → Documentation search: renders
src/pages/_app.tsx - Pages app shell → Copy confirmation: renders
src/pages/_app.tsx - Pages app shell → Nextra theme config: uses theme setup
README.md - Nextra theme config → Site footer: configures footer
theme.config.tsx - Nextra theme config → Navbar actions: configures navbar
theme.config.tsx - Nextra theme config → Table of contents: configures TOC
theme.config.tsx - Nextra theme config → Page title and layout: configures layout
theme.config.tsx - Nextra theme config → Typewriter display: renders banner text
theme.config.tsx - Nextra theme config → Site link constants: sets repository link
theme.config.tsx - Navbar actions → Theme toggle: renders toggle
src/components/NavbarActions.tsx - Site footer → Ink brand mark: renders mark
src/components/Footer.tsx - Site footer → Site link constants: uses links
src/components/Footer.tsx - Home sections → Home card icons: renders card icons
src/components/Home/HomeSections.tsx - Home sections → Typewriter display: renders heading
src/components/Home/HomeSections.tsx - Home sections → Interactive ASCII art: loads interactive art
src/components/Home/HomeSections.tsx - Home sections → Documentation pages: links to topics
src/components/Home/HomeSections.tsx - Documentation search → Documentation pages: searches documentation
src/pages/_app.tsx - Page actions → Rendered-page Markdown: converts page DOM
src/components/PageActions.tsx - Page actions → Copy confirmation: notifies on copy
src/components/PageActions.tsx - Pages app shell → Interactive Ink hero: applies stored tune
src/pages/_app.tsx - Ecosystem content wrappers → Documentation pages: supplies page content
src/pages/_app.tsx - Network information → Documentation pages: supports network topics