Skip to content

Commit

Permalink
docs: add IPython.display import to notebooks (#226)
Browse files Browse the repository at this point in the history
* ci: update pip constraints and pre-commit config
* docs: add IPython API to intersphinx inventory
* docs: add IPython.display as global autolink-preface
* fix: import qrules fully (not as q)

Co-authored-by: GitHub <noreply@github.com>
  • Loading branch information
redeboer and web-flow committed Feb 22, 2022
1 parent 5a134c3 commit bb8fe42
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 67 deletions.
29 changes: 15 additions & 14 deletions .constraints/py3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ charset-normalizer==2.0.11
click==8.0.3
colorama==0.4.4
commonmark==0.9.1
coverage==6.2
coverage==6.3.1
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
deprecated==1.2.13
distlib==0.3.4
docutils==0.16
entrypoints==0.3
entrypoints==0.4
execnet==1.9.0
executing==0.8.2
filelock==3.4.2
Expand All @@ -55,12 +55,12 @@ gprof2dot==2021.2.21
graphviz==0.19.1
greenlet==1.1.2
hepunits==2.2.0
identify==2.4.7
identify==2.4.8
idna==3.3
imagesize==1.3.0
importlib-metadata==4.10.1
iniconfig==1.1.1
ipykernel==6.7.0
ipykernel==6.8.0
ipympl==0.8.7
ipython==8.0.1
ipython-genutils==0.2.0
Expand All @@ -73,10 +73,10 @@ jsonschema==4.4.0
jupyter-cache==0.4.3
jupyter-client==7.1.2
jupyter-core==4.9.1
jupyter-server==1.13.4
jupyter-server==1.13.5
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.2.8
jupyterlab==3.2.9
jupyterlab-code-formatter==1.4.10
jupyterlab-markup==1.0.1
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
Expand Down Expand Up @@ -110,7 +110,7 @@ nbmake==1.2
nest-asyncio==1.5.4
nodeenv==1.6.0
notebook==6.4.8
numpy==1.22.1
numpy==1.22.2
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
Expand All @@ -120,8 +120,8 @@ pep517==0.12.0
pep8-naming==0.12.1
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.0.0
pip-tools==6.4.0
pillow==9.0.1
pip-tools==6.5.0
platformdirs==2.4.1
pluggy==1.0.0
pre-commit==2.17.0
Expand Down Expand Up @@ -167,9 +167,10 @@ sphinx==4.4.0
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.2.0
sphinx-codeautolink==0.10.0
sphinx-copybutton==0.4.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-panels==0.6.0
sphinx-thebe==0.0.10
sphinx-thebe==0.1.0
sphinx-togglebutton==0.2.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-bibtex==2.4.1
Expand All @@ -190,14 +191,14 @@ tornado==6.1
tox==3.24.5
tqdm==4.62.3
traitlets==5.1.1
types-docutils==0.17.4
types-docutils==0.17.5
types-pkg-resources==0.1.3
types-requests==2.27.8
types-setuptools==57.4.8
types-urllib3==1.26.8
types-urllib3==1.26.9
typing-extensions==4.0.1
urllib3==1.26.8
virtualenv==20.13.0
virtualenv==20.13.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.3
Expand Down
15 changes: 8 additions & 7 deletions .constraints/py3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defusedxml==0.7.1
deprecated==1.2.13
distlib==0.3.4
docutils==0.16
entrypoints==0.3
entrypoints==0.4
execnet==1.9.0
filelock==3.4.1
flake8==4.0.1
Expand Down Expand Up @@ -76,7 +76,7 @@ jupyter-core==4.9.1
jupyter-server==1.13.1
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.2.8
jupyterlab==3.2.9
jupyterlab-code-formatter==1.4.10
jupyterlab-pygments==0.1.2
jupyterlab-server==2.10.3
Expand Down Expand Up @@ -163,9 +163,10 @@ sphinx==4.3.2 ; python_version < "3.8.0"
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.2.0
sphinx-codeautolink==0.10.0
sphinx-copybutton==0.4.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-panels==0.6.0
sphinx-thebe==0.0.10
sphinx-thebe==0.1.0
sphinx-togglebutton==0.2.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-bibtex==2.4.1
Expand All @@ -186,14 +187,14 @@ tox==3.24.5
tqdm==4.62.3
traitlets==4.3.3
typed-ast==1.5.2
types-docutils==0.17.4
types-docutils==0.17.5
types-pkg-resources==0.1.3
types-requests==2.27.8
types-setuptools==57.4.8
types-urllib3==1.26.8
types-urllib3==1.26.9
typing-extensions==4.0.1 ; python_version < "3.8.0"
urllib3==1.26.8
virtualenv==20.13.0
virtualenv==20.13.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.3
Expand Down
27 changes: 14 additions & 13 deletions .constraints/py3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ charset-normalizer==2.0.11
click==8.0.3
colorama==0.4.4
commonmark==0.9.1
coverage==6.2
coverage==6.3.1
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
deprecated==1.2.13
distlib==0.3.4
docutils==0.16
entrypoints==0.3
entrypoints==0.4
execnet==1.9.0
filelock==3.4.2
flake8==4.0.1
Expand All @@ -52,13 +52,13 @@ gprof2dot==2021.2.21
graphviz==0.19.1
greenlet==1.1.2
hepunits==2.2.0
identify==2.4.7
identify==2.4.8
idna==3.3
imagesize==1.3.0
importlib-metadata==4.2.0
importlib-resources==5.4.0
iniconfig==1.1.1
ipykernel==6.7.0
ipykernel==6.8.0
ipympl==0.8.7
ipython==7.31.1
ipython-genutils==0.2.0
Expand All @@ -71,10 +71,10 @@ jsonschema==4.4.0
jupyter-cache==0.4.3
jupyter-client==7.1.2
jupyter-core==4.9.1
jupyter-server==1.13.4
jupyter-server==1.13.5
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.2.8
jupyterlab==3.2.9
jupyterlab-code-formatter==1.4.10
jupyterlab-markup==1.0.1
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
Expand Down Expand Up @@ -118,8 +118,8 @@ pep517==0.12.0
pep8-naming==0.12.1
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.0.0
pip-tools==6.4.0
pillow==9.0.1
pip-tools==6.5.0
platformdirs==2.4.1
pluggy==1.0.0
pre-commit==2.17.0
Expand Down Expand Up @@ -164,9 +164,10 @@ sphinx==4.3.2 ; python_version < "3.8.0"
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.2.0
sphinx-codeautolink==0.10.0
sphinx-copybutton==0.4.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-panels==0.6.0
sphinx-thebe==0.0.10
sphinx-thebe==0.1.0
sphinx-togglebutton==0.2.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-bibtex==2.4.1
Expand All @@ -187,14 +188,14 @@ tox==3.24.5
tqdm==4.62.3
traitlets==5.1.1
typed-ast==1.5.2
types-docutils==0.17.4
types-docutils==0.17.5
types-pkg-resources==0.1.3
types-requests==2.27.8
types-setuptools==57.4.8
types-urllib3==1.26.8
types-urllib3==1.26.9
typing-extensions==4.0.1 ; python_version < "3.8.0"
urllib3==1.26.8
virtualenv==20.13.0
virtualenv==20.13.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.3
Expand Down
29 changes: 15 additions & 14 deletions .constraints/py3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ charset-normalizer==2.0.11
click==8.0.3
colorama==0.4.4
commonmark==0.9.1
coverage==6.2
coverage==6.3.1
cycler==0.11.0
debugpy==1.5.1
decorator==5.1.1
defusedxml==0.7.1
deprecated==1.2.13
distlib==0.3.4
docutils==0.16
entrypoints==0.3
entrypoints==0.4
execnet==1.9.0
executing==0.8.2
filelock==3.4.2
Expand All @@ -55,13 +55,13 @@ gprof2dot==2021.2.21
graphviz==0.19.1
greenlet==1.1.2
hepunits==2.2.0
identify==2.4.7
identify==2.4.8
idna==3.3
imagesize==1.3.0
importlib-metadata==4.10.1
importlib-resources==5.4.0
iniconfig==1.1.1
ipykernel==6.7.0
ipykernel==6.8.0
ipympl==0.8.7
ipython==8.0.1
ipython-genutils==0.2.0
Expand All @@ -74,10 +74,10 @@ jsonschema==4.4.0
jupyter-cache==0.4.3
jupyter-client==7.1.2
jupyter-core==4.9.1
jupyter-server==1.13.4
jupyter-server==1.13.5
jupyter-server-mathjax==0.2.3
jupyter-sphinx==0.3.2
jupyterlab==3.2.8
jupyterlab==3.2.9
jupyterlab-code-formatter==1.4.10
jupyterlab-markup==1.0.1
jupyterlab-myst==0.1.6 ; python_version >= "3.7.0"
Expand Down Expand Up @@ -111,7 +111,7 @@ nbmake==1.2
nest-asyncio==1.5.4
nodeenv==1.6.0
notebook==6.4.8
numpy==1.22.1
numpy==1.22.2
packaging==21.3
pandocfilters==1.5.0
parso==0.8.3
Expand All @@ -121,8 +121,8 @@ pep517==0.12.0
pep8-naming==0.12.1
pexpect==4.8.0
pickleshare==0.7.5
pillow==9.0.0
pip-tools==6.4.0
pillow==9.0.1
pip-tools==6.5.0
platformdirs==2.4.1
pluggy==1.0.0
pre-commit==2.17.0
Expand Down Expand Up @@ -168,9 +168,10 @@ sphinx==4.4.0
sphinx-autobuild==2021.3.14
sphinx-book-theme==0.2.0
sphinx-codeautolink==0.10.0
sphinx-copybutton==0.4.0
sphinx-comments==0.0.3
sphinx-copybutton==0.5.0
sphinx-panels==0.6.0
sphinx-thebe==0.0.10
sphinx-thebe==0.1.0
sphinx-togglebutton==0.2.3
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-bibtex==2.4.1
Expand All @@ -191,14 +192,14 @@ tornado==6.1
tox==3.24.5
tqdm==4.62.3
traitlets==5.1.1
types-docutils==0.17.4
types-docutils==0.17.5
types-pkg-resources==0.1.3
types-requests==2.27.8
types-setuptools==57.4.8
types-urllib3==1.26.8
types-urllib3==1.26.9
typing-extensions==4.0.1
urllib3==1.26.8
virtualenv==20.13.0
virtualenv==20.13.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.2.3
Expand Down
Loading

0 comments on commit bb8fe42

Please sign in to comment.