The source code for our documentation website.
- Deploys to Cloudflare Workers
- Uses Markdown for the pages
- Uses Astro
- Uses the Starlight template
To run the website in development mode, type in the following command below!
npm run devTo build the website data, type in the following command below!
npm run buildThis website is deployed to GitHub Pages, a helpful system that allows us to host the website in it's static form and is the most trusted system on the internet that most people are relying on! If you are going to deploy your own version of this website, please follow the steps that are stated below!
- Create your own fork of this repository or download it as a archive file and add it's contents to your new repository
- Configure your domain that you will be using to host it on the internet. Since this repository contains a
CNAMEfile in thepublic/directory, this step will be split into two parts.- Delete the
CNAMEfile from thepublic/directory and then change the domain configuration in the configuration file. See more in this section to learn more about it! - Change the contents of the
CNAMEfile in thepublic/directory to your own custom domain then change the domain configuration in the configuration file. See more in this section to learn more about it!
- Delete the
- Commit your changes and you're done! Your site should be deployed to GitHub Pages in no time!
Note
This section is incomplete! Please refer to the documentation for it here on the AstroJS website!
Note
The page for editing our documentation is not finished yet! If you want to suggest edit to a page, please contact us via email or by submitting an issue to this repository!
If you want to help out in improving our documentation, please see the page for it here
The website can be found here: docs.ttnrtsite.me