Skip to content

Commit 0703042

Browse files
Fox doc builds (#335)
* checkout full for docs * add blank line * disable lastmod * update intersphinx for sklearn * update intersphinx for sklearn
1 parent 58bdbe7 commit 0703042

5 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/doc_checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
- name: Cancel Workflow Action
1313
uses: styfle/cancel-workflow-action@0.11.0
1414

15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
1617
- uses: sQUlearn/sphinx-action@master
1718
with:
1819
docs-folder: "docs/"

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install dependencies
1919
run: pip install black[jupyter]
2020

21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v4
2222

2323
- name: Run Black
2424
run: |

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: pip install flit
2323

24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
- name: Build
2727
run: flit build

.github/workflows/publish_docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
QISKIT_SETTINGS: ${{github.workspace}}/docs/qiskit_settings.conf
1313
steps:
1414
- name: Checkout Source Code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
- name: Checkout GH Pages
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
repository: sQUlearn/squlearn.github.io
2020
fetch-depth: 0

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,12 @@ def setup(app):
111111
"qiskit-aer": ("https://qiskit.github.io/qiskit-aer/", None),
112112
"qiskit-ibm-runtime": ("https://docs.quantum.ibm.com/api/qiskit-ibm-runtime/", None),
113113
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
114-
"sklearn": ("https://scikit-learn.org/1.4/", None),
114+
"sklearn": ("https://scikit-learn.org/stable/", None),
115115
}
116116

117117
suppress_warnings = ["myst.header", "config.cache"]
118118

119119
# base URL for sphinx_sitemap
120120
html_baseurl = "https://squlearn.github.io/"
121121
sitemap_url_scheme = "{link}"
122+
sitemap_show_lastmod = False

0 commit comments

Comments
 (0)