Doc site repository structure
This page describes the function of each file in your new doc site, based on this repository.
📁 .github
folder
.github
└── workflows
├── build.yml
├── case.yml
├── lint.yml
├── pages-deploy.yaml
└── release.yaml
1 directory, 5 files
📁 workflows
folder
Contains all the GitHub actions for the repository.
📄 build.yml
Action that builds the docs as they would be built in production, to check for any build errors.
📄 case.yml
Action that ensures that all Markdown files have file names which are only lower case letters, digits, dashes, or underscores.
📄 lint.yml
Action that runs npm run lint
from package.json
.
It includes spell checking, TypeScript linting, and CSS styling.
📄 pages-deploy.yaml
Action that builds and deploys the docs to GitHub Pages when any commit is made to the main
branch.
📄 release.yaml
Action that checks all recent commits made to main
branch and automatically cuts a release in line
with semantic versioning.
This action reads the configuration in .releaserc.js
in the root directory of this repository.
📁 blog
folder
Contains all the Markdown and related files for the blog functionality of Docusaurus.
📁 docs
folder
Contains all the Markdown and related files for the docs functionality of Docusaurus.
📁 src
folder
Contains all the JSX and CSS files for the pages functionality of Docusaurus.
src
├── components
│ └── HomepageFeatures