This is the respository backing the official modding documentation for Voxel Tycoon — a tycoon strategy game about transportation, factories, and mining infinite voxel landscapes.
You can use Docker to quickly set up a local development environment for this project. This is especially helpful to ensure consistency across different environments and avoid installing dependencies directly on your machine.
- Docker installed on your system
-
Build the Docker image:
docker build -t mkdocs-dev .
-
Run the Docker container:
docker run -p 8000:8000 -v "$(pwd)":/app mkdocs-dev
This command mounts your current directory to
/app
inside the container, so any changes you make locally will be reflected in the running MkDocs instance. -
Access the site:
Open your browser and go to http://localhost:8000. The site will automatically refresh as you make changes to the source files.
- The
Dockerfile
sets up MkDocs along with the required plugins. If additional dependencies are added to the project, update theDockerfile
as necessary. - For troubleshooting or debugging, check Docker’s logs or refer to the MkDocs documentation.
- Install Material for MkDocs.
- Instal plugins:
pip install mkdocs-minify-plugin
pip install mkdocs-git-revision-date-localized-plugin
pip install mkdocs-awesome-pages-plugin
- Run
mkdocs serve
. - Go to http://localhost:8000.
- Pages will automatically refresh as you apply changes to sources.