Skip to content

Commit

Permalink
Add Tutorials to Documentation Page (#1768)
Browse files Browse the repository at this point in the history
* Add tutorials

* Add pandoc installation

---------

Co-authored-by: Hiroshi Horii <[email protected]>
  • Loading branch information
hitomitak and hhorii authored Apr 5, 2023
1 parent 1b866c6 commit fd8ada5
Show file tree
Hide file tree
Showing 13 changed files with 3,935 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
pip install -U pip virtualenv wheel
pip install -U tox
sudo apt-get update
sudo apt-get install -y build-essential libopenblas-dev
sudo apt-get install -y build-essential libopenblas-dev pandoc
shell: bash
- name: Run Docs Build
run: tox -edocs
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ https://github.com/Qiskit/qiskit/blob/master/docs/release_notes.rst)

Building The release notes are part of the standard qiskit-aer documentation
builds. To check what the rendered HTML output of the release notes will look
like for the current state of the repo, you can run: `tox -edocs` which will
like for the current state of the repo, you need to install
[pandoc](https://pandoc.org/installing.html), then you can run: `tox -edocs` which will
build all the documentation into `docs/_build/html` and the release notes in
particular will be located at `docs/_build/html/release_notes.html`

Expand Down
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

templates_path = ['_templates']


# -- General configuration ---------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand All @@ -72,7 +73,8 @@
'jupyter_sphinx',
'reno.sphinxext',
'matplotlib.sphinxext.plot_directive',
'sphinx.ext.intersphinx'
'sphinx.ext.intersphinx',
'nbsphinx'
]

# -----------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ https://github.com/Qiskit/qiskit-aer
:hidden:

API Documentation <apidocs/aer>
Tutorials <tutorials/index>
Release Notes <release_notes>

.. Hiding - Indices and tables
Expand Down
856 changes: 856 additions & 0 deletions docs/tutorials/1_aer_provider.ipynb

Large diffs are not rendered by default.

305 changes: 305 additions & 0 deletions docs/tutorials/2_device_noise_simulation.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit fd8ada5

Please sign in to comment.