File conventions
Our docs have a few conventions around files.
When creating new files, follow specific conventions for your naming.
Filenames should:
- Semantically communicate the purpose of the file
- Be lowercased
- Use dashes between words
These conventions are important for user readibility, SEO conventions, and making sure our GitHub actions do not break.
Each folder should have a file named index.mdx
.
The content at /src/content/docs/fundamentals/concepts/index.mdx
will be rendered at https://developers.cloudflare.com/fundamentals/concepts/
.
Add regular content files to the /src/content/docs/{product_folder}/
directory.
Add image files to the /src/assets/images/{product_folder}/
directory.