Add option to redirect
Fixes #1149
Deploy Preview for 6-dev-docs-plone-org ready!
| Name | Link |
|---|---|
| Latest commit | 4b1a68ef27e352704f0f467743731df6860361d4 |
| Latest deploy log | https://app.netlify.com/sites/6-dev-docs-plone-org/deploys/62725a091d76d80009a1280c |
| Deploy Preview | https://deploy-preview-1244--6-dev-docs-plone-org.netlify.app/contributing/writing-docs-guide.html |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
@stevepiercy At the moment there is no check if the target of a redirect actually exists, so typos can lead to dead links. It should be possible to create a small script to check this but I'm not sure if this is worth the effort...
How would you implement that small script? Ideally this extension already checks for the existence of the target file before writing the source page. If it does not, then I would consider this a feature request for the extension.
@stevepiercy The extension does no consistency check for the target documents. An upstream implementation would make sense because every check-script we would write for this project would probably also work for upstream.
I'll open an issue in their gitlab.
Feature request for sphinx-reredirects: https://github.com/documatt/sphinx-reredirects/issues/3 and open PR https://github.com/documatt/sphinx-reredirects/pull/6.
I'll work on implementing this after the sprint since I think it's a bit out of scope