These instructions are for the core developers of the LinkML framework.
Documentation source:
- docs/ folder
- deployed to: https://linkml.io/linkml/
We use the sphinx framework.
To build the docs locally, first make sure you have the development dependencies installed which may not be the case if you pip-installed linkML. In the root folder of the linkML code, run
uv sync --group dev --group docsThen use the make to build the documentation:
make docsThis will build docs in _build/html/. You can check these with your browser.
If you don't have make (on Windows) you can build the docs by:
cd docs
uv run make htmlNew versions of the documentation are published to GitHub pages by a workflow job for every merge to main.
never run make html directly
If you do this then docstrings from linkml will not be included. Always check the generator docs to ensure command line options are present.