Scripts for reference documentation generation for Azure CLI Extensions using sphinx
- Ensure the CLI is installed in your Python virtual environment.
- Inside the Python virtual environment, run
pip install sphinx==1.7.0
- Run the generate script
python scripts/refdoc/generate.py -e PATH_TO_WHL.whl
- By default, the XML output is stored in
ref-doc-out-*/ind.xml
- Ensure the CLI is installed in your Python virtual environment.
- Inside the Python virtual environment, run
pip install sphinx==1.7.0
- Set the environment variable
AZ_EXT_REF_DOC_OUT_DIR
to an empty directory that exists. - Run the following script to generate sphinx output for the latest versions of all extensions in the index -
python ./scripts/ci/index_ref_doc.py -v
- The sphinx output will be in the directory pointed to by the
AZ_EXT_REF_DOC_OUT_DIR
environment variable.