Skip to content

Latest commit

Β 

History

History
27 lines (27 loc) Β· 2.45 KB

DIRECTORY_STRUCTURE.md

File metadata and controls

27 lines (27 loc) Β· 2.45 KB
.
└── src
    β”œβ”€β”€ content                # Directory for blog content
    β”‚   β”œβ”€β”€ blog               # Directory for blog content
    β”‚   └── framework          # Directory for docs content
    β”œβ”€β”€ dynamic-content-generator  # Contains scripts to dynamically generate content
    β”‚   β”œβ”€β”€ page                   # Contains scripts to dynamically generate docs, blogs, blog category and author pages
    β”‚   └── node.js          	   # Contains scripts to update the blogs and docs data in graphql store
    β”œβ”€β”€ scripts                    # Contains scripts for automation
    β”‚   β”œβ”€β”€ blog                   # Contains scripts for automating the normalization of markdown content of blogs
    β”‚   β”œβ”€β”€ docs                   # Contains scripts for automating the normalization of markdown content of docs
    β”‚   β”œβ”€β”€ utils                  # Contains utility scripts
    β”‚   β”œβ”€β”€ build-config.js        # Script for generating `.env.development` and `.env.production` files
    β”‚   └── redirects.js           # Script for copying `_redirects` file to public folder from the project root directory
    β”œβ”€β”€ serverless-design-system   # Design system for serverless
    β”œβ”€β”€ src                        # Source code for serverless website
    β”‚   β”œβ”€β”€ assets                 # Stores all the fonts and images needed by the website
    β”‚   β”œβ”€β”€ components             # Defines all the re-usable and page components needed by serverless website
    β”‚   β”œβ”€β”€ constants              # Defines all the constants
    β”‚   β”œβ”€β”€ fragments              # Defines all the re-usable fragment(or UI widget) components.
    β”‚   β”œβ”€β”€ layouts                # Contains layouts for different pages. Example: Blog layout, Doc layout
    β”‚   β”œβ”€β”€ pages                  # Contains components for every static page in the website
    β”‚   β”œβ”€β”€ templates              # Contains templates for generating docs, blogs, categories and authors pages dynamically
    β”‚   β”œβ”€β”€ utils                  # Defines utility functions
    β”‚   β”œβ”€β”€ _config                # Contains site-wide config, API keys and tokens
    β”‚   └── _redirects             # Contains redirect rules for netlify
    └── netlify.toml               # Contains netlify config