This is the source code for the Dokument site. The currently deployed instance can be found at docs.chalmers.it.
It is written in Astro for its simplicity and speed, as well as the fact that it makes it easy to write components for the site.
To run the site locally, you need to have Node.js installed. You should also use pnpm as your package manager, as it is faster and more secure than npm. You can install it using the following command (assuming you have Node.js installed):
npm install -g pnpm
Run the following commands:
pnpm install
pnpm run dev
This will start a development server on port 3000. You can then access the site at localhost:3000.
The site is deployed automatically using GitHub Actions on the main
branch. However, it is deployed using the dokument repository, as the site should automatically update when the docs are updated. To deploy the site immediately, you can go to that repository and run the deploy
workflow manually (assuming you have the correct permissions).