Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
editorial: fix broken links to .md files
There are several places in the generated site where links are broken because they still include the .md file extension. It's unclear why jekyll-relative-links is broken _only_ in these instances, but this surgical change resolves broken links on the site until the wider issue can be addressed. Before this patch: ``` % git grep --color --no-index 'href="[^h][^"]*\.md' _site _site/blog.html:the valuable feedback we received on the <a href="2023-02-24-sls a-v1-rc.md">first release candidate</a>. This is _site/blog.html: <p>Interested in getting involved? Now’s the chance to <a href="2023-02-24-slsa-v1-rc.md">provide your feedback on the foundational v1 release of the SLSA framework.</a></p> _site/example.html:<p>SLSA 4 <a href="requirements.md">requires</a> two-party source control and hermetic builds. _site/how-to-orgs.html:<a href="/provenance/v1.md">https://slsa.dev/provenance/</a>.</p> _site/spec/v1.0-rc2/onepage.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="#future-directions.md">future _site/spec/v1.0-rc2/onepage.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="#future-directions.md">future _site/spec/v1.0-rc2/threats.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="future-directions.md">future _site/spec/v1.0-rc2/threats.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="future-directions.md">future _site/spec/v1.0/onepage.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="#future-directions.md">future _site/spec/v1.0/onepage.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="#future-directions.md">future _site/spec/v1.0/threats.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="future-directions.md">future _site/spec/v1.0/threats.html:<p>SLSA v1.0 does not address this threat, but it may be addressed in a <a href="future-directions.md">future ``` - the two blog.html instances are resolved by editing the individual blog posts to remove the .md file extension - the example.html instance will be resolved by slsa-framework#945 - how-to-orgs.html is fixed by removing the .md extension line 20 of how-to-orgs.md - the v1.0-rc2 threats and onepage are fixed by removing the .md extension in lines 40 and 49 of spec/v1.0-rc2/threats.md - the v1.0 threats and onepage are fixed by removing the .md extension in lines 40 and 49 spec/v1.0/threats.md Following these changes: ``` % git grep --color --no-index 'href="[^h][^"]*\.md' _site _site/example.html:<p>SLSA 4 <a href="requirements.md">requires</a> two-party source control and hermetic builds. ``` which is resolved by the removal of example.md in PR#945 Signed-off-by: Joshua Lock <joshuagloe@gmail.com>
- Loading branch information