From b8251556c6decffe7a64433bbfa7a7dd2001db4c Mon Sep 17 00:00:00 2001 From: nyanotech Date: Thu, 18 Jun 2020 22:55:28 -0700 Subject: fix(docs): Fix a few links that break in sourcegraph. I found a few links that seem to be absolute-path links designed for cgit. Replace them with relative links instead, so that they work within both sourcegraph and cgit. This commit handles this fix for the top-level README.md, and the ones within docs/. Change-Id: I842ffaf8ee893d3ed8490fe07c621d791d77d0ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/496 Reviewed-by: tazjin --- README.md | 2 +- docs/CONTRIBUTING.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c406dc5e6e..0807fa2761 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ README. Check out my [list of the best tools][best-tools] for example. # Contributing If you'd like to contribute to any of the tools in here, please check out the -[contribution guidelines](/tree/docs/CONTRIBUTING.md). +[contribution guidelines](./docs/CONTRIBUTING.md). [monorepo]: https://en.wikipedia.org/wiki/Monorepo [tvl]: https://tvl.fyi diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 7f2c661a5b..80481d88d3 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -17,7 +17,7 @@ Contribution Guidelines This is a loose set of "guidelines" for contributing to the depot. Please note that we will not accept any patches that don't follow these guidelines. -Also consider the [code of conduct](/tree/docs/CODE_OF_CONDUCT.md). No really, +Also consider the [code of conduct](./CODE_OF_CONDUCT.md). No really, you should. ## Before making a change -- cgit 1.4.1