This is the source of the official Mage-OS DevDocs Website.
If you want to curate, edit, add or change content on the documentation, please go to the Mage-OS DevdDocs Repository.
The website is build with Laravel. A database is not required. You can run the website locally with the following commands:
composer install
npm install
npm run dev
php artisan serveNow add the documentation itself;
bash bin/checkout_latest_docs.sh
There is no container based setup. There are plenty of different setups out there, so we leave it up to you to choose your favorite one. If you want a docker-based setup, Laravel's Sail might be an option for you.
This project relies on Torchlight for syntax highlighting. You will need to create an account at torchlight.dev and generate a free personal token for use in this project. Once generated, add your token to your .env file:
TORCHLIGHT_TOKEN = your-torchlight-tokenThis GitHub article provides instructions on how to pull the latest changes from this repository into your fork.
If you pull down the upstream changes from this repository into your local repository, you'll want to update your
Composer and NPM dependencies, as well as update your documentation branches. For convenience, you may run
the bin/update.sh script to update these things:
./bin/update.sh