Skip to content

Commit

Permalink
Add more redirects from previous urls (#3894)
Browse files Browse the repository at this point in the history
add more redirects from previous urls
  • Loading branch information
jkrumbiegel authored May 27, 2024
1 parent 521d630 commit f591e30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/makedocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,12 @@ Documenter.makedocs(;

generate_redirects([
r"/reference/blocks/(.*).html" => s"/examples/blocks/\1/index.html",
r"/reference/blocks/(.*).html" => s"/reference/blocks/\1/index.html",
r"/reference/plots/(.*).html" => s"/examples/plotting_functions/\1/index.html",
r"/reference/plots/(.*).html" => s"/reference/plots/\1/index.html",
r"/explanations/(.*).html" => s"/documentation/\1/index.html",
r"/tutorials/(.*).html" => s"/tutorials/\1/index.html",
r"/explanations/(.*).html" => s"/explanations/\1/index.html",
"/explanations/observables.html" => "/explanations/nodes/index.html",
], dry_run = false)

Expand Down

0 comments on commit f591e30

Please sign in to comment.