Skip to content

Commit

Permalink
Update conf.py with list of Rediraffe 301 redirects. (#6833)
Browse files Browse the repository at this point in the history
Added first batch of redirects. Please check if this is OK? Will a syntax error / typo  in the redirects will cause issues beyond Rediraffe?

'user_guide/APIs.html': 'explanation/api/index.html#apis',
    'user_guide/Pipelines.html': 'how_to/pipeline/index.html',
    'user_guide/Templates.html': 'how_to/templates/index.html',
    '_static/images/sazure_deployment.png': '_static/images/azure_deployment.png',
    'user_guide/Server_Configuration.html': 'how_to/server/index.html',
  • Loading branch information
Coderambling authored and philippjfr committed May 21, 2024
1 parent 4354c7c commit 24b07d3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,19 @@
jlite_url = 'https://holoviz-dev.github.io/panelite-dev' if is_dev else 'https://panelite.holoviz.org'
pyodide_url = 'https://holoviz-dev.github.io/panel/pyodide' if is_dev else 'https://panel.holoviz.org/pyodide'

rediraffe_redirects = {
# Removal of the developer testing page
'developer_guide/testing': 'developer_guide/index',
'user_guide/APIs.html': 'explanation/api/index.html#apis',
'user_guide/Pipelines.html': 'how_to/pipeline/index.html',
'user_guide/Templates.html': 'how_to/templates/index.html',
'_static/images/sazure_deployment.png': '_static/images/azure_deployment.png',
'user_guide/Server_Configuration.html': 'how_to/server/index.html',

# Todo
# https://panel.holoviz.org/user_guide/Customization.html : what page to redirect this to?
}

nbsite_analytics = {
'goatcounter_holoviz': True,
}
Expand Down

0 comments on commit 24b07d3

Please sign in to comment.