Skip to content

Commit

Permalink
docs: add Hypothesis and utterances overlay (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Feb 3, 2022
1 parent 08c1f43 commit 795733e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repos:
- id: black

- repo: https://github.com/asottile/blacken-docs
rev: v1.12.0
rev: v1.12.1
hooks:
- id: blacken-docs

Expand Down
12 changes: 12 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
"sphinx.ext.napoleon",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx_comments",
"sphinx_copybutton",
"sphinx_math_dollar",
"sphinx_panels",
Expand Down Expand Up @@ -173,6 +174,7 @@
linkcheck_ignore = [
"http://127.0.0.1:8000",
"https://doi.org/10.1093/ptep/ptaa104",
"https://suchung.web.cern.ch",
]

# Settings for myst_nb
Expand Down Expand Up @@ -212,6 +214,16 @@
}
myst_update_mathjax = False

# Settings for sphinx_comments
comments_config = {
"hypothesis": True,
"utterances": {
"repo": f"ComPWA/{REPO_NAME}",
"issue-term": "pathname",
"label": "📝 Docs",
},
}

# Settings for Thebe cell output
thebe_config = {
"repository_url": html_theme_options["repository_url"],
Expand Down
2 changes: 1 addition & 1 deletion docs/formalisms/helicity.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ an example here. -->

Recommended literature:

<!-- cspell:ignore aaij marangotto -->
<!-- cspell:ignore aaij Dalitzplot jpaccollaboration marangotto Threebody -->
<!-- markdownlint-disable -->

- General introductions to helicity angles: <br>
Expand Down
2 changes: 2 additions & 0 deletions docs/formalisms/tensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

### Covariant Tensor formalisms

<!-- cspell:ignore anisovich Momentoperator Twomeson -->

{cite}`anisovichMomentoperatorExpansionTwomeson2002`

## Non-covariant tensor formalisms
Expand Down
2 changes: 1 addition & 1 deletion docs/glossary.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- cspell:ignore aitchison badalyan tanabashi -->
<!-- cspell:ignore aitchison badalyan particledatagroup tanabashi -->

# Glossary

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ doc =
myst-nb >=0.11 # myst_enable_extensions
Sphinx >=3
sphinx-book-theme
sphinx-comments
sphinx-copybutton
sphinx-math-dollar
sphinx-panels
Expand Down

0 comments on commit 795733e

Please sign in to comment.