Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
python -m pip install -U 'tox<4'
python -m pip install -r requirements-dev.txt
- name: Build Docs
run: tox -edocs -- -j auto
run: tox -edocs
- name: Compress Artifacts
run: |
mkdir artifacts
Expand Down
574 changes: 0 additions & 574 deletions docs/aer_sources.txt

This file was deleted.

9 changes: 2 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-

# This code is part of Qiskit.
#
# (C) Copyright IBM 2018.
Expand Down Expand Up @@ -27,7 +25,7 @@
sys.path.insert(0, os.path.abspath("."))

import custom_extensions
import url_redirects
import versionutils

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

Expand Down Expand Up @@ -57,14 +55,11 @@
"sphinx.ext.extlinks",
"nbsphinx",
"sphinx_design",
"sphinx_reredirects",
"matplotlib.sphinxext.plot_directive",
"qiskit_sphinx_theme",
"sphinx.ext.doctest",
]

redirects = url_redirects.determine_redirects()

nbsphinx_timeout = 300
nbsphinx_execute = os.getenv("QISKIT_DOCS_BUILD_TUTORIALS", "never")
nbsphinx_widgets_path = ""
Expand Down Expand Up @@ -217,6 +212,6 @@
def setup(app):
custom_extensions.load_api_sources(app)
custom_extensions.load_tutorials(app)
app.setup_extension("versionutils")
versionutils.setup(app)
app.connect("build-finished", custom_extensions.clean_api_source)
app.connect("build-finished", custom_extensions.clean_tutorials)
151 changes: 0 additions & 151 deletions docs/url_redirects.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ seaborn>=0.9.0
nbsphinx
cvxpy
networkx>=2.3
sphinx-reredirects
qiskit-qasm3-import; python_version>'3.7'

# Dev tooling
Expand Down
54 changes: 0 additions & 54 deletions test/test_url_redirects.py

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ deps =
# It does not hurt to also install the package in the `deps` stage.
.[all]
commands =
sphinx-build -b html {posargs} -d {toxinidir}/docs/.doctrees {toxinidir}/docs/ {toxinidir}/docs/_build/html
sphinx-build -j auto -b html {posargs} -d {toxinidir}/docs/.doctrees {toxinidir}/docs/ {toxinidir}/docs/_build/html

[testenv:docs-clean]
skip_install = true
Expand Down