MinIO uses Sphinx to generate static HTML pages using ReSTructured Text (rST).
Python 3.10.X and pip
Sphinx 4.3.2
NodeJS 14.5.0 or later and npm
gulp.js
gitor a git-compatible clientAccess to https://github.com/minio/docs
Run
git clone https://github.com/minio/docsandcd docsto move into the working directory.Create a new virtual environment
python3 -m venv venv. Activate it usingsource venv/bin/activate.Run
pip install -r requirements.txtto setup the Python environment.Run
make stageOpen your browser to http://localhost:8000 to view the staged output.
Run
git clone https://github.com/minio/docsandcd docsto move into the working directory.Create a new virtual environment
python3 -m venv venv. Activate it usingsource venv/bin/activate.Run
pip install -r requirements.txtto setup the Python environment.Run
npm installRun
npm run buildRun
make stageOpen your browser to http://localhost:8000 to view the staged output.
Prereq:
Checkout the MinIO docs repository using your preferred
gitmethodgit clone https://github.com/minio/docs
All instructions use PowerShell running as an administrator.
Set policies
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserNavigate to the folder with the cloned docs
Start virtual environment
python -m venv venvActivate virtual environment
.\venv\Scripts\Activate.ps1Install docs requirements
pip install -r requirements.txt(optional) Delete the Build directory
Remove-Item build\Generate CSS from SCSS files
npm run buildBuild the docs
sphinx-build -M html source\ build\master -nStart the http server
python -m http.server --directory build\master\htmlView the staged output in a browser by going to
localhost:8000
This project is licensed under a Creative Commons Attribution 4.0 International License.
See CONTRIBUTIONS for more information on contributing content to the MinIO Documentation project.