doc/packages/lhapdf: add documentation

This documents:
* The existence of the `lhapdf` package (not particularly important)
* The existence of the `lhapdf.pdf_sets` attrset (important)
* The setup hook used in all of the entries in `lhapdf.pdf_sets`
  (slightly important)

Part of #341479.
This commit is contained in:
Tomodachi94 2024-09-13 23:18:10 -07:00
parent 518750b2cb
commit 1e71925b95
No known key found for this signature in database
GPG Key ID: 2E275F21C4D554A3
2 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,7 @@ ibus.section.md
kakoune.section.md kakoune.section.md
krita.section.md krita.section.md
linux.section.md linux.section.md
lhapdf.section.md
locales.section.md locales.section.md
etc-files.section.md etc-files.section.md
nginx.section.md nginx.section.md

View File

@ -0,0 +1,11 @@
# LHAPDF {#lhapdf}
[LHAPDF](https://lhapdf.hepforge.org/) is a tool for evaluating parton distribution functions (PDFs) in high-energy physics. LHAPDF is available in the `lhapdf` package.
## PDF sets {#lhapdf-sets}
All of [the PDF sets made available by the LHAPDF project](https://lhapdf.hepforge.org/pdfsets.html) are available through the `lhapdf.pdf_sets` attrset.
### Setup hook {#lhapdf-sets-hook}
Each package provided in the `lhapdf.pdf_sets` attrset contains a setup hook which adds itself to [the `LHAPDF_DATA_PATH` environment variable](https://lhapdf.hepforge.org/#sets).