Skip to content

Commit 589d167

Browse files
committed
CI: Build docs with recent Python
DOC: Fix deprecated intersphinx mapping
1 parent eeb76e8 commit 589d167

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ docs_deploy: &docs
3232
name: Deploy docs to gh-pages branch
3333
command: gh-pages --no-history --dotfiles --message "doc(update) [skip ci]" --dist docs/_build/html
3434

35-
version: 2
35+
version: 2.1
3636
jobs:
3737

3838
build_docs:
3939
docker:
40-
- image: python:3.7.4
40+
- image: cimg/python:3.11
4141
working_directory: /tmp/gh-pages
4242
environment:
4343
- FSLOUTPUTTYPE: NIFTI

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
napoleon_custom_sections = [("Inputs", "Parameters"), ("Outputs", "Parameters")]
9090

9191
# Intersphinx
92-
intersphinx_mapping = {"https://docs.python.org/3/": None}
92+
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
9393

9494
# Linkcode
9595
# The following is used by sphinx.ext.linkcode to provide links to github

0 commit comments

Comments
 (0)