[x] New functions marked with `r since("VERSION")`
[x] Declare copyright holder and open-source license: see below
Summary
This is one of the recommended methods by Google to improve search indexing when you have a lot of similar pages, like what our versioned docs result in.
Updated link_to_latest.py to add this when it adds the re-directs
Go back through our previous versions and add this based on the link it is currently using as a redirect (after fixing them, #709).
This was done in an automated way, so I don't think every single change needs to be verified, because this also:
Updated old_link_check.py to ensure these also stay up to date.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:
Submission Checklist
`r since("VERSION")`
Summary
This is one of the recommended methods by Google to improve search indexing when you have a lot of similar pages, like what our versioned docs result in.
I think I meant to do this as part of https://github.com/stan-dev/docs/issues/532 but forgot.
The actual changes in this PR:
link_to_latest.py
to add this when it adds the re-directsold_link_check.py
to ensure these also stay up to date.Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses: