This repository contains the official documentation for the 1Panel project. The documentation is built using the MkDocs framework with the Material for MkDocs theme.
git clone https://github.com/1Panel-dev/docs.git
cd docs
pip install -r requirements.txt
The structure of the documentation is defined in the mkdocs.yml
file, and the actual content is located in the docs directory.
The documentation content is written in Markdown syntax. To add new documentation, you need to update the nav section in the mkdocs.yml
file to include the corresponding navigation for the new section.
mkdocs serve
After running the above command, you can view the generated documentation at http://127.0.0.1:8000
. The page content will automatically update when changes are made to the documentation.
mkdocs build
After running the above command, static files for the documentation site will be generated in the site directory. You can deploy the documentation by copying the contents of this directory to any HTTP server.
If you find any errors in the documentation or have questions about the content, please submit a GitHub Issue to the 1Panel project’s main repository .