This repository includes documentation that is common for conda and conda-build, as well as landing pages for those projects (located at https://docs.conda.io/).
The conda documentation is built using ReadTheDocs. The conda-docs repo is the primary project, while conda and conda-build are created as subprojects. This enables each project's respective documentation to remain in its repo, but for all of the documentation to exist together on the same domain. The landing pages built from the conda-docs repo link to the documentation built from the conda and conda-build repos.
The documentation for each of those individual repositories can be found in their respective repos:
Please file issues, comments, and pull requests at the appropriate repo.
The word "conda" should be lowercase, except when starting a sentence or header. Use code formatting when talking about the conda command.
For more detailed information on conda capitalization standards, see the conda contributing guide.
If you create any new documentation files in this repo, please update the table of contents with the name of your new file. Otherwise, your page will not appear in the table of contents tree on the left-hand side of the documentation. The toctree directive for the conda-docs repo exists in the index.rst file. If you are in the conda or conda-build repos, there are many toctree directives on many index files, so make sure you edit the correct one.
You can build this docs repo on your local machine to preview changes in your browser.
NOTE: These steps have only been tested on MacOS.
- Create a conda environment using the supplied requirements file in the
conda-docsrepo.conda create -n conda-docs pip -y conda activate conda-docs pip install -r requirements.txt
-
Go to the
docsdirectory.cd docs -
Build the HTML docs using the
makecommand. The commands used for this are defined in thedocs/Makefilefile.make html -
Open the
conda-docs/_build/htmldirectory in your file manager, locate the desired.htmlfile you want to preview, and double-click it to open it in your browser. (You can also drag and drop the file into an open browser.)