Envoy: Broken documentation links

Created on 5 May 2020  路  8Comments  路  Source: envoyproxy/envoy

I've observed a number of broken links in Envoy documentation that previously worked (now showing a 404). Examples:

It appears we're knowingly breaking these links without any sort of redirect to the new location. What's the policy for the Envoy site in this regard? Breaking existing links has an unfortunate chain-reaction effect on any product that relies on Envoy, and all Envoy users.

aredocs help wanted priorithigh

Most helpful comment

We don't have any policy on this currently, and no good way to enforce/check changes/add redirects given how docs get built with sphinx. Would appreciate help on this if there is interest. Will mark help wanted.

All 8 comments

We don't have any policy on this currently, and no good way to enforce/check changes/add redirects given how docs get built with sphinx. Would appreciate help on this if there is interest. Will mark help wanted.

Hi @mattklein123, Actual redirection for both links should be

In readthedocs UI, there is an option for "redirect" in the admin section.

Tooling PRs appreciated to help us do better here. Thank you!

@mattklein123 i can take a look at this

i dont think we host the docs on readthedocs - afaict the docs are hosted in github pages from a repo here https://github.com/envoyproxy/envoyproxy.github.io - and there doesnt seem to be a way to add stubs/redirects in sphinx.

im wondering if we can do it with jekyll, somehow

i take that back - you can add redirects in sphinx i think https://github.com/sphinx-contrib/redirects

if we are going to move things around in the main doc tree, i think we will need to have this working first (#13386)

this might be a better option https://github.com/wpilibsuite/sphinxext-rediraffe - its supported on pypi, dev seems more active, and has a diffchecker tool to ensure re/moved pages have redirects

Was this page helpful?
0 / 5 - 0 ratings