Project Structure

Default layout:

.
├── docia.config.ts
├── book/
│   ├── SUMMARY.md
│   ├── README.md
│   └── ...chapters...
├── public/
│   └── ...static assets copied as-is...
└── dist/
    └── ...generated output...

Key files

  • book/SUMMARY.md: chapter order + sidebar hierarchy
  • book/**/*.md: chapter source files
  • public/: images/fonts/files copied to output
  • dist/: generated site (gitignored in most repos)

Chapter routing

With pretty URLs enabled (default):

  • README.md -> /
  • guides/setup.md -> /guides/setup/

Use these route paths for reliable in-doc links.