Skip to content

File Structure

F4K edited this page Dec 10, 2024 · 2 revisions

Understanding our file structure helps maintain organization and consistency.

Directory Overview

  • /: Contains all content files in english.
  • /i18n/: Contains all translated content files replicating the english folder structure.
    • fr/: French language content.
    • [language-code]/: Other language folders.

Naming Conventions

  • Folders: Use lowercase letters and hyphens (e.g., crypto-wallet).
  • Files: Descriptive names in lowercase with hyphens (e.g., wallet.mdx).
  • Extension: Use only .md and mdx file extensions.
  • Language Codes: Use ISO 639-1 codes for language folders (e.g., es for Spanish).