Reputation: 21
I want to manage my documentation with versions and Release Notes. So I followed steps here.
The default code for the link of Release Note was "" as below.
<a href="">Release Note</a>
I changed the codes as below:
<a href="/docs/ReleaseNote">Release Note</a>
I added header in ReleaseNote.md
like below.
---
id: ReleaseNote
title: Release Note
---
and this is not working. I got "Cannot GET /docs/ReleaseNote" error.
How can I customize Release Note link in versions.js
?
Thank you in advance.
I've changed the header of ReleaseNote.md as below, but it didn't work.
---
id: version-1.0.0-ReleaseNote
title: Release Note
original_id: ReleaseNote
---
Upvotes: 2
Views: 998
Reputation: 53169
Any code within versions.js
is typical React code and you can just modify it. It seems that you're having trouble finding the path to the new page which you've just created, and that is a separate issue from customizing versions.js
.
Upvotes: 1