Open AakashGfude opened 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 73.07%. Comparing base (
e65778b
) to head (56fc4d2
). Report is 7 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
thanks @AakashGfude I will take a closer look at this soon.
So this detects incoming redirect and would display the admonition for any traffic coming from the old location?
So this detects incoming redirect and would display the admonition for any traffic coming from the old location?
Yes, that's right @mmcky.
Added a config variable to specify redirects.
An Example:-
If in lecture-python, _config.yml file
Then, the page at heavy_tails in lecture-python will be redirected to the target URL, with information about where it is redirected from and the content in the URL. Like:-
?redirected_from=/Users/u6533564/Documents/Office/Quantecon/lecture-python.myst/lectures/_build/html/heavy_tails.html&content=This page has been redirected from intro/heavy_tails.html
The target page, on detecting the variables in the URL, displays the following admonition: