Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Sphinx Theme. Switch to the latest stable version.
Use the command-line interface to run the following commands.
To run the following commands, you will need to have installed Python +3.7 and PIP on your local environment.
Tip
If you are on Windows, see How to use the toolchain in Windows.
The preview command builds a local instance of the docs site so you can view the rendering in a sandbox environment on your local browser.
To preview the docs:
Build the docs.
cd docs
make preview
Open http://127.0.0.1:5500/ with your preferred browser.
Tip
You can pass custom options to increase or decrease verbosity. For a list with all the available options, refer to the Sphinx documentation.
To increase verbosity, use the option -v
:
make preview SPHINXOPTS=-v
To decrease verbosity, use the option -Q
:
make preview SPHINXOPTS=-Q
The multiversionpreview command generates a local instance of the docs site with all specified versions available for navigation. You can view the rendering in a sandbox environment on your local browser. To preview multiple versions:
Build the docs.
cd docs
make multiversionpreview
Open http://0.0.0.0:5500/ with your preferred browser.
Note
The command make multiversion
is aimed to be used by GitHub Actions CI. While documenting new features, it is not advised to run make multiversion
, but make preview
instead.
To generate multiple versions of the documentation:
Build the docs.
cd docs
make multiversion
The previous command should generate HTML docs under the docs/_build/dirhtml
directory.
Tip
If the command raises an error, see Troubleshooting for help.
The make preview
operation creates content in the _build
directory. When making changes to the docs, it is helpful to delete the contents of this directory before running make preview
.
cd docs
make clean
Check for broken links on the documentation site.
cd docs
make dirhtml
make linkcheck
Was this page helpful?