A Docker-based server for rendering and serving markdown documentation files with a React and Tailwind CSS frontend.
- Responsive web interface for browsing markdown documentation
- Syntax highlighting for code blocks
- Support for Mermaid diagrams
- Dark mode toggle
- Navigation sidebar with folder structure
- Mobile-friendly design
- Docker
- Make (optional, for using the Makefile commands)
make buildThis will build the Docker image with all the necessary dependencies.
make startThis will start the Docker container and make the documentation available at http://10.1.1.144:80.
make stopThis will stop and remove the running Docker container.
make restartThis will stop the current container and start a new one.
make cleanThis will stop and remove the container, and also remove the Docker image.
If you don't have Make installed, you can use these Docker commands directly:
docker build -t markdown-docs .docker run -d --name markdown-docs-container -p 80:80 -e HOST_IP=10.1.1.144 markdown-docsdocker stop markdown-docs-container
docker rm markdown-docs-containerYou can modify the following variables in the Makefile:
IMAGE_NAME: The name of the Docker image (default: markdown-docs)CONTAINER_NAME: The name of the Docker container (default: markdown-docs-container)PORT: The port to expose on the host (default: 80)HOST_IP: The IP address where the server will be accessible (default: 10.1.1.144)
output/: Contains the markdown files to be servedsrc/: React application source codepublic/: Static assets
MIT