|
Download data/docs/README.md from introvoyz042/haddock3: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/introvoyz042/haddock3/resolve/main/data/docs/README.md
- Command line
-
hf download hf://datasets/introvoyz042/haddock3/data/docs/README.md
-
curl -L -o README.md https://huggingface.co/datasets/introvoyz042/haddock3/resolve/main/data/docs/README.md
1.06 kB
HADDOCK3 Documentation
Sphinx source for the docs published on GitHub Pages.
docs/pages/— hand-authored content, tracked in git.docs/src/— generated bysphinx-apidoc+build_defaults_rst.py. Not tracked, rebuilt every time.docs/titles.yaml— page titles fordocs/src/content.docs/figs/— images used bydocs/pages/.
Build
pip install -e '.[dev,docs]'
cd docs
make html
open ../haddock3-docs/pages/index.html
make html runs sphinx-apidoc + sphinx-build (see docs/Makefile), same as CI.
make linkcheck checks for broken links.
Docstrings
Napoleon (docs/conf.py) supports NumPy and Google style. NumPy style example:
def identify_unknown_hetatms(pdb_file: FilePath) -> list[str]:
"""Return residue names in a PDB that are not in the supported residues.
Parameters
----------
pdb_file : FilePath
Path to the PDB file to inspect.
Returns
-------
list[str]
Unique residue names not found in the supported residues set.
"""