#How to create more folders like `src/content/docs` in astro-docs theme

3 messages · Page 1 of 1 (latest)

vague tulip
#

Hey I am a newbie, just need a little help. I had cloned the astro-docs theme from https://github.com/withastro/astro/tree/main/examples/docs .

Under /src/contents there is a directory called docs which handles all the markdown files that start at localhost:3000.

  1. How can I move these to localhost:3000/python
  2. How can I create more folders like this docs (ex: localhost:3000/ruby, localhost:3000/c++) to organise my content
GitHub

The all-in-one web framework designed for speed. ⭐️ Star to support our work! - astro/examples/docs at main · withastro/astro

tame mist
#

then you can consume them via sub-directories within the pages directory