about summary refs log tree commit diff
diff options
context:
space:
mode:
authornyanotech <nyanotechnology@gmail.com>2020-06-19T05·55-0700
committernyanotech <nyanotechnology@gmail.com>2020-06-19T19·00+0000
commitb8251556c6decffe7a64433bbfa7a7dd2001db4c (patch)
treee775535514632f2ef4fb81bd45485611a8ac9abf
parentff77481367dddc5852191e3a4614250cca4f6f2c (diff)
fix(docs): Fix a few links that break in sourcegraph. r/1043
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 <mail@tazj.in>
-rw-r--r--README.md2
-rw-r--r--docs/CONTRIBUTING.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c406dc5e6ea4..0807fa276136 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 7f2c661a5bb1..80481d88d3eb 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