Skip to content

Commit

Permalink
test redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 27, 2024
1 parent afa0d28 commit e409310
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
python-version: '3.12'
- name: Install dependencies
run: pip install jupyter-book
run: pip install jupyter-book sphinxext-rediraffe

# Build the book
- name: Build the book
Expand Down
27 changes: 27 additions & 0 deletions src/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,42 @@ repository:
#######################################################################################
# Advanced and power-user settings
sphinx:

extra_extensions:
- sphinxcontrib.bibtex
- IPython.sphinxext.ipython_console_highlighting
- sphinxext.rediraffe

config:
bibtex_bibfiles:
- references.bib

linkcheck_ignore:
- .*/10.1186/s13742-016-0121-x # for some reason, it returns forbidden
- .*/10.1093/gigascience/giy082 # for some reason, it returns forbidden
- https?://brainhack.org/LA # need to fix to "LA2016" in OSF

suppress_warnings:
- myst.domains # domain method not implemented for `cite`

rediraffe_redirects:
contact.md: https://bids-website.readthedocs.io/en/latest/contact/
dataset_examples.md: https://bids-website.readthedocs.io/en/latest/datasets/
folders_and_files/folders.md: https://bids-website.readthedocs.io/en/latest/getting_started/folders_and_files/folders.html
folders_and_files/files.md: https://bids-website.readthedocs.io/en/latest/getting_started/folders_and_files/files.html
folders_and_files/metadata.md: https://bids-website.readthedocs.io/en/latest/getting_started/folders_and_files/metadata.html
folders_and_files/derivatives.md: https://bids-website.readthedocs.io/en/latest/getting_started/folders_and_files/derivatives.html
tutorials/annotations.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/annotation.html
tutorials/ieeg.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/conversion/ieeg.html
tutorials/asl.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/conversion/asl.html
tutorials/pet.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/conversion/pet.html
tutorials/mri.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/conversion/mri.html
tutorials/tutorials.md: https://bids-website.readthedocs.io/en/latest/getting_started/tutorials/index.html
datasets.md: https://bids-website.readthedocs.io/en/latest/datasets/
talks.md: https://bids-website.readthedocs.io/en/latest/getting_started/resources/talks.html
publications.md: https://bids-website.readthedocs.io/en/latest/getting_started/resources/publications.html
dependencies.md: https://bids-website.readthedocs.io/en/latest/getting_started/resources/dependencies.html
links: https://bids-website.readthedocs.io/en/latest/getting_started/resources/links.html
FAQ.md: https://bids-website.readthedocs.io/en/latest/faq/
validator.md: https://bids-website.readthedocs.io/en/latest/tools/validator.html
glossary.md: https://bids-website.readthedocs.io/en/latest/getting_started/resources/glossary.html
2 changes: 1 addition & 1 deletion src/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ parts:
- title: BIDS files templates
url: https://github.com/bids-standard/bids-starter-kit/tree/main/templates
- title: Derivatives
url: https://bids-website.readthedocs.io/en/latest/getting_startedfolders_and_files/derivatives.html
url: https://bids-website.readthedocs.io/en/latest/getting_started/folders_and_files/derivatives.html
- caption: Tutorials
chapters:
- title: Annotating a BIDS dataset
Expand Down

0 comments on commit e409310

Please sign in to comment.