docs: Fix CONTRIBUTING link
authorDan Nicholson <dbn@endlessos.org>
Thu, 20 May 2021 22:42:29 +0000 (16:42 -0600)
committerDan Nicholson <dbn@endlessos.org>
Thu, 20 May 2021 22:45:12 +0000 (16:45 -0600)
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

index d5235ed607798b62ed737d1c821a77a308aa33de..b6cdc663fe50a7960cf4309bdafaa80da90b9ba5 100644 (file)
@@ -143,7 +143,7 @@ make install DESTDIR=/path/to/dest
 
 ## Contributing
 
-See [Contributing](docs/CONTRIBUTING.md).
+See [Contributing]({{ site.baseurl }}{% link CONTRIBUTING.md %}).
 
 ## Licensing