From 8d19846ca0805bb41f2bb9c7c582cc39cc454c4c Mon Sep 17 00:00:00 2001 From: Manoel Marques Date: Mon, 23 Aug 2021 10:46:22 -0400 Subject: [PATCH] Fix docs releasenotes search --- .github/workflows/deploy-docs.yml | 2 ++ .github/workflows/main.yml | 3 +++ Makefile | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 70038f841b..dcf924e3b0 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -46,6 +46,7 @@ jobs: QISKIT_PARALLEL: False QISKIT_DOCS_BUILD_TUTORIALS: 'always' run: | + echo "earliest_version: 0.1.0" >> releasenotes/config.yaml make html SPHINXOPTS=-W tools/deploy_documentation.sh shell: bash @@ -75,5 +76,6 @@ jobs: QISKIT_PARALLEL: False QISKIT_DOCS_BUILD_TUTORIALS: 'always' run: | + echo "earliest_version: 0.1.0" >> releasenotes/config.yaml tools/deploy_translatable_strings.sh shell: bash diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 676f781418..e54104375c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,6 +64,8 @@ jobs: sudo apt-get -y install python3-enchant sudo apt-get -y install hunspell-en-us pip install pyenchant + # append to reno config + echo "earliest_version: 0.1.0" >> releasenotes/config.yaml shell: bash - name: PIP Check run: | @@ -225,6 +227,7 @@ jobs: conda activate pip install jupyter sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] sudo apt-get install -y pandoc graphviz + echo "earliest_version: 0.1.0" >> releasenotes/config.yaml shell: bash - name: Run Qiskit Nature Tutorials env: diff --git a/Makefile b/Makefile index 2ccff521d2..cb712a5e9b 100644 --- a/Makefile +++ b/Makefile @@ -61,16 +61,16 @@ test_ci: spell: python -m pylint -rn --disable=all --enable=spelling --spelling-dict=en_US --spelling-private-dict-file=.pylintdict --ignore=gauopen qiskit_nature test tools - make -C docs spell SPHINXOPTS=$(SPHINXOPTS) + sphinx-build -M spelling docs docs/_build -W $(SPHINXOPTS) copyright: python tools/check_copyright.py html: - make -C docs html SPHINXOPTS=$(SPHINXOPTS) + sphinx-build -M html docs docs/_build $(SPHINXOPTS) doctest: - make -C docs doctest SPHINXOPTS=$(SPHINXOPTS) + sphinx-build -M doctest docs docs/_build $(SPHINXOPTS) clean_sphinx: make -C docs clean