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 Cloudflare Workers, 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 deploying your own version of this site to a worker, you can deploy it easily using the quick start method, or you can use the Wrangler CLI method!
If you want to get started on deploying the source code without having to do anything that requires the Wrangler CLI, click on the image button below to deploy the source code directly to the Cloudflare Workers platform!
Warning
Please make sure that you have changed the wrangler.toml file that is located in the root folder of the repository! Ensure that you have a domain that is on the Cloudflare network and is able to be accessed by the workflow system! The file should look like this.
name = "documentation-site"
compatibility_date = "2025-05-25"
preview_urls = true
routes = [
{pattern = "yourdomain.com", custom_domain = true }
]
[assets]
directory = "./dist"First of all, you need to install the package for the Wrangler CLI. To do that, type in the following command below!
npm install -g @cloudflare/wranglerThe next step is to authorize Wrangler with your existing Cloudflare account. To do that, type in the following command below!
wrangler loginWhen you do this, it will open your default browser and will ask you to authorize it with your existing Cloudflare account. If you are not already logged in with it, make sure that you do that before running the command!
The last step is deploying your website to the workers system. To do that, type in the following command below!
wrangler deployIf you want to preview your changes before you deploy them, type in the following command below!
wrangler devNote
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