- Install requirements
pip install -r requirements.txt
-
Install VS Code Extension:
reStructuredText by LeXtudio
-
Install esbonio server
pip install esbonio==0.15.0
- VS Code configuration file
{
// rst
"esbonio.sphinx.buildDir" : "${workspaceFolder}/_build/html",
"esbonio.sphinx.confDir" : "${workspaceFolder}/docs",
"esbonio.sphinx.srcDir" : "${workspaceFolder}/docs"
}
Make sure that your project settings doesn't overwrite the esbonio.sphinx.confDir
configuration.
sphinx-build -b html docs/ docs/build/