Skip to content

Commit

Permalink
Remove duplicate notfound-context (#267)
Browse files Browse the repository at this point in the history
The `notfound-context` dict seems to be defined twice in `conf.py`, and the 2nd definition seems to override the first one. I see no reason for keeping the first definition around.
  • Loading branch information
niksirbi authored Dec 2, 2024
1 parent 7062240 commit 963a757
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@

html_show_sourcelink = False

notfound_context = {
"body": "<h1>This page has likely moved.</h1> <p>We have recently restructured the BrainGlobe website, and some links have broken. Try using the search box or go to the homepage. If you can'</p>",
}

notfound_context = {
"title": "Page Not Found",
"body": """
Expand Down

0 comments on commit 963a757

Please sign in to comment.