Skip to content

Commit d0a016b

Browse files
Fix docs release notes search (#96) (#97)
1 parent b62b073 commit d0a016b

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/deploy-docs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
QISKIT_PARALLEL: False
4343
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
4444
run: |
45+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
4546
make html SPHINXOPTS=-W
4647
tools/deploy_documentation.sh
4748
shell: bash
@@ -71,5 +72,6 @@ jobs:
7172
QISKIT_PARALLEL: False
7273
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
7374
run: |
75+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
7476
tools/deploy_translatable_strings.sh
7577
shell: bash

.github/workflows/main.yml

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
sudo apt-get -y install python3-enchant
6363
sudo apt-get -y install hunspell-en-us
6464
pip install pyenchant
65+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
6566
shell: bash
6667
- run: pip check
6768
if: ${{ !cancelled() }}
@@ -175,6 +176,7 @@ jobs:
175176
QISKIT_PARALLEL: False
176177
QISKIT_DOCS_BUILD_TUTORIALS: 'always'
177178
run: |
179+
echo "earliest_version: 0.1.0" >> releasenotes/config.yaml
178180
make html SPHINXOPTS=-W
179181
cd docs/_build/html
180182
mkdir artifacts

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ test_ci:
6161

6262
spell:
6363
pylint -rn --disable=all --enable=spelling --spelling-dict=en_US --spelling-private-dict-file=.pylintdict qiskit_finance test tools
64-
make -C docs spell SPHINXOPTS=$(SPHINXOPTS)
64+
sphinx-build -M spelling docs docs/_build -W $(SPHINXOPTS)
6565

6666
copyright:
6767
python tools/check_copyright.py
6868

6969
html:
70-
make -C docs html SPHINXOPTS=$(SPHINXOPTS)
70+
sphinx-build -M html docs docs/_build $(SPHINXOPTS)
7171

7272
doctest:
73-
make -C docs doctest SPHINXOPTS=$(SPHINXOPTS)
73+
sphinx-build -M doctest docs docs/_build $(SPHINXOPTS)
7474

7575
clean_sphinx:
7676
make -C docs clean

0 commit comments

Comments
 (0)