Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect /lang to /docs/lang rather than just /docs #665

Closed
16 tasks done
Tracked by #769
chalin opened this issue Aug 12, 2021 · 4 comments
Closed
16 tasks done
Tracked by #769

Redirect /lang to /docs/lang rather than just /docs #665

chalin opened this issue Aug 12, 2021 · 4 comments
Assignees

Comments

@chalin
Copy link
Contributor Author

chalin commented Oct 17, 2021

@austinlparker - any objections to redirecting, say, /js to /docs/js (and similarly for all languages)?

Here are the current redirects:

# Netlify redirects. See https://www.netlify.com/docs/redirects/
/csharp/                            /docs/
/csharp/metrics/                    /docs/
/csharp/tracing/                    /docs/
/golang/                            /docs/
/golang/metrics/                    /docs/
/golang/tracing/                    /docs/
/java/                              /docs/
/java/metrics/                      /docs/
/java/tracing/                      /docs/
/js/                                /docs/
/js/metrics/                        /docs/
/js/tracing/                        /docs/
/python/                            /docs/
/python/metrics/                    /docs/
/python/tracing/                    /docs/
/ruby/                              /docs/
/ruby/metrics/                      /docs/
/ruby/tracing/                      /docs/

If you agree, I'd redirect /<lang>/{,metrics,tracing}/ to /docs/<lang>/

@chalin chalin added e0-minutes Effort: < 60 min and removed e1-hours Effort: < 8 hrs labels Oct 17, 2021
@austinlparker
Copy link
Member

This is fine -- the current redirects are a placeholder, actually. I wasn't 100% sure on if the paths were gonna be consistent going forward (because the old way was, as you see there, /lang/{,metrics, tracing}/), or if every language was gonna have on-site docs, and decided to just dump anything to the new docs root.

@chalin
Copy link
Contributor Author

chalin commented Oct 18, 2021

This is fine -- the current redirects are a placeholder, actually.

Thanks for the context.

I wasn't 100% sure on if the paths were gonna be consistent going forward (because the old way was, as you see there, /lang/{,metrics, tracing}/), or if every language was gonna have on-site docs, and decided to just dump anything to the new docs root.

That makes sense.

@chalin
Copy link
Contributor Author

chalin commented Oct 22, 2021

All done!

@chalin chalin closed this as completed Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants