[docs] HTTP redirects
Hi, So I followed instructions [1] to implement redirects and it's not working. Please let me know where I went wrong: https://review.opendev.org/#/c/763067/ Shouldn't the first URL redirect to the second? https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates... https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates... Thanks, Peter [1]: https://docs.openstack.org/doc-contrib-guide/redirects.html
On Nov 17, 2020, at 2:45 PM, Peter Matulis <peter.matulis@canonical.com> wrote:
Hi,
So I followed instructions [1] to implement redirects and it's not working. Please let me know where I went wrong:
https://review.opendev.org/#/c/763067/ <https://review.opendev.org/#/c/763067/>
Shouldn't the first URL redirect to the second?
https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates... <https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/config-openstack.html> https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates... <https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/latest/configure-openstack.html>
Thanks, Peter
[1]: https://docs.openstack.org/doc-contrib-guide/redirects.html <https://docs.openstack.org/doc-contrib-guide/redirects.html> You’ve followed the steps to put the redirects in your repo, but not to enable redirects for the published project.
You need to edit https://opendev.org/openstack/openstack-manuals/src/branch/master/www/projec... <https://opendev.org/openstack/openstack-manuals/src/branch/master/www/project-data/latest.yaml#L859> as described in https://docs.openstack.org/doc-contrib-guide/redirects.html#enable-detailed-... <https://docs.openstack.org/doc-contrib-guide/redirects.html#enable-detailed-redirects-for-your-project> It is also possible that the redirect rules that have been added in the patch you linked to won’t do what you expect. All of the other example redirects use the full path from the root of docs.openstack.org <http://docs.openstack.org/>. Doug
On Tue, 17 Nov 2020 at 20:12, Doug Hellmann <doug@doughellmann.com> wrote:
On Nov 17, 2020, at 2:45 PM, Peter Matulis <peter.matulis@canonical.com> wrote:
Hi,
So I followed instructions [1] to implement redirects and it's not working. Please let me know where I went wrong:
https://review.opendev.org/#/c/763067/
Shouldn't the first URL redirect to the second?
https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates... https://docs.openstack.org/project-deploy-guide/charm-deployment-guide/lates...
FWIW, here's a patch that adds redirects for Kayobe: https://review.opendev.org/#/c/748523/ Mark
Thanks, Peter
[1]: https://docs.openstack.org/doc-contrib-guide/redirects.html
You’ve followed the steps to put the redirects in your repo, but not to enable redirects for the published project.
You need to edit https://opendev.org/openstack/openstack-manuals/src/branch/master/www/projec... as described in https://docs.openstack.org/doc-contrib-guide/redirects.html#enable-detailed-...
It is also possible that the redirect rules that have been added in the patch you linked to won’t do what you expect. All of the other example redirects use the full path from the root of docs.openstack.org.
Doug
participants (3)
-
Doug Hellmann
-
Mark Goddard
-
Peter Matulis