documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Add option to redirect

Open wolbernd opened this issue 3 years ago • 5 comments

Fixes #1149

wolbernd avatar May 04 '22 10:05 wolbernd

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar May 04 '22 10:05 netlify[bot]

@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...

wolbernd avatar May 04 '22 10:05 wolbernd

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 avatar May 04 '22 11:05 stevepiercy

@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.

wolbernd avatar May 04 '22 13:05 wolbernd

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

wolbernd avatar May 04 '22 14:05 wolbernd