Sphinx role for linking to PDG reviews and listing
Project description
PDG role for Sphinx
This package is a Sphinx extension that makes it easy to refer to PDF files of reviews and particle listings in the PDG.
Installation
Just install through PyPI with pip:
pip install sphinx-hep-pdgref
Next, in your
Sphinx configuration file
(conf.py), add "sphinx_hep_pdgref" to your extensions:
extensions = [
# ...
"sphinx_hep_pdgref",
# ...
]
Usage
There are two roles, one for the particle listings and one for the review. These roles can be used as follows:
:pdg-listing:`K-zero`
:pdg-review:`Kinematics`
:pdg-review:`2014; Resonances`
:pdg-review:`Resonances; 2018; pp. 2-4, 7`
:pdg-review:`QCD; p5`
:pdg-review:`PDG2015; Quark Model; p.2`
which will render in the HTML pages as:
Note that the resulting links lead to the correct page as well!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_hep_pdgref-0.2.2.tar.gz.
File metadata
- Download URL: sphinx_hep_pdgref-0.2.2.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1257b50628bca25219112fca2ec3a5ab881c82b0cdc50be73eb56b2400c5ec2e
|
|
| MD5 |
a2e35fa63ab01161f69e6b6907f3f0d4
|
|
| BLAKE2b-256 |
2e376a0e669bec2089db62e78c51900138fa1ea11cc51c8dc1ce433e1cb261af
|
Provenance
The following attestation bundles were made for sphinx_hep_pdgref-0.2.2.tar.gz:
Publisher:
cd.yml on ComPWA/sphinx-hep-pdgref
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_hep_pdgref-0.2.2.tar.gz -
Subject digest:
1257b50628bca25219112fca2ec3a5ab881c82b0cdc50be73eb56b2400c5ec2e - Sigstore transparency entry: 924088040
- Sigstore integration time:
-
Permalink:
ComPWA/sphinx-hep-pdgref@d5e6f86089a257b706b96c8f6fcfc996405f97dd -
Branch / Tag:
refs/tags/0.2.2 - Owner: https://github.com/ComPWA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@d5e6f86089a257b706b96c8f6fcfc996405f97dd -
Trigger Event:
release
-
Statement type:
File details
Details for the file sphinx_hep_pdgref-0.2.2-py3-none-any.whl.
File metadata
- Download URL: sphinx_hep_pdgref-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b990e16ac449f967c2e54cbbeffdc9fda380e4112e9de9aac0fdc0aea285915
|
|
| MD5 |
3d1fbbbc7cee735be8e878a0fa25a35d
|
|
| BLAKE2b-256 |
721efbdfe0b6131ac0d2b62052f2f44a48c8f02434ce16cef4383fcaad4fe5cf
|
Provenance
The following attestation bundles were made for sphinx_hep_pdgref-0.2.2-py3-none-any.whl:
Publisher:
cd.yml on ComPWA/sphinx-hep-pdgref
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_hep_pdgref-0.2.2-py3-none-any.whl -
Subject digest:
3b990e16ac449f967c2e54cbbeffdc9fda380e4112e9de9aac0fdc0aea285915 - Sigstore transparency entry: 924088051
- Sigstore integration time:
-
Permalink:
ComPWA/sphinx-hep-pdgref@d5e6f86089a257b706b96c8f6fcfc996405f97dd -
Branch / Tag:
refs/tags/0.2.2 - Owner: https://github.com/ComPWA
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@d5e6f86089a257b706b96c8f6fcfc996405f97dd -
Trigger Event:
release
-
Statement type: