Skip to content

Commit

Permalink
Latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mtelvers committed Apr 10, 2024
1 parent bb59352 commit ec9456b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/global/url.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let minor v =
let v2 = "https://v2.ocaml.org"
let manual_with_version v = "/manual/" ^ minor v ^ "/index.html"
let manual = "/manual"
let api_with_version v = "/manual/" ^ minor v ^ "/index.html"
let api_with_version v = "/manual/" ^ minor v ^ "/api/index.html"
let api = "/api"
let books = "/books"
let changelog = "/changelog"
Expand Down
2 changes: 0 additions & 2 deletions src/ocamlorg_web/lib/redirection.ml
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,6 @@ let fwd_v2 origin =

let manual =
[
redirect_p "/api/**";
fwd_v2 "/api";
redirect_p "/releases/3.12/htmlman/**";
fwd_v2 "/releases/3.12/htmlman";
redirect_p "/releases/4.00/htmlman/**";
Expand Down

0 comments on commit ec9456b

Please sign in to comment.