From e4105a0366bf0d905c610a18ad6e343ae9965b2e Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 20 May 2021 16:42:29 -0600 Subject: [PATCH] docs: Fix CONTRIBUTING link This returns a 404 since the site is already generated from the docs directory. Furthermore, the `CONTRIBUTING.md` markdown file isn't in the generated site, just the HTML. Instead, use jekyll's `link` tag to create the link. Unfortunately, before jekyll 4.0 (github-pages uses 3.9), you have to prepend the base URL. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index d5235ed6..b6cdc663 100644 --- a/docs/index.md +++ b/docs/index.md @@ -143,7 +143,7 @@ make install DESTDIR=/path/to/dest ## Contributing -See [Contributing](docs/CONTRIBUTING.md). +See [Contributing]({{ site.baseurl }}{% link CONTRIBUTING.md %}). ## Licensing