A standalone home for work on documentation for Magma, in order to make check-ins less work
This document provides pointers for those looking to make documentation changes for the Magma project
- Documentation Overview for general documentation information
make help
for specific commands
Docusaurus is an open-source static site generator built by Meta and powered using React. It’s optimized for creating technical documentation websites for open-source projects, with support for document versioning, ready for translations, content search, and a hot reload feature.
docusaurus/
├── Dockerfile
├── docker-compose.yml
├── docs/
├── docusaurus.config.js
├── sidebars.js
├── static/
├── src/
readmes/
-
Install Docker
Download and install Docker EngineFor Windows, you must instead install Docker Desktop
-
Clone the Repository
Open a terminal in any directory and run:git clone https://github.com/magma/magma-documentation.git
-
Start Docusaurus with Docker
Navigate to the project folder:cd magma-documentation/docusaurus
and set up Docusaurus by:
docker compose up dev
-
Access the Documentation
Once running, open your browser and visit: http://localhost:3000/ -
Proper Shutdown
You can stop this proccess without losing persistent data or associated configurations through:docker-compose stop
Or completely clean up your Docker environment with:
docker-compose down
For further assistance, join our Slack channel!