File tree Expand file tree Collapse file tree 4 files changed +1350
-7
lines changed
Expand file tree Collapse file tree 4 files changed +1350
-7
lines changed Original file line number Diff line number Diff line change 1+ import fs from "node:fs" ;
2+
3+ const changelog = fs . readFileSync ( "CHANGELOG.md" , "utf-8" ) ;
4+
5+ const changelogWithFrontmatter = [
6+ "---" ,
7+ "title: Changelog" ,
8+ "---" ,
9+ "" ,
10+ changelog ,
11+ ] . join ( "\n" ) ;
12+
13+ fs . writeFileSync ( "website/content/docs/changelog.md" , changelogWithFrontmatter ) ;
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ export const baseOptions: BaseLayoutProps = {
2222 } ,
2323 links : [
2424 {
25- text : "Documentation " ,
26- url : "/docs" ,
25+ text : "Getting Started " ,
26+ url : "/docs/getting-started " ,
2727 active : "nested-url" ,
2828 } ,
2929 {
@@ -36,14 +36,14 @@ export const baseOptions: BaseLayoutProps = {
3636 url : "/docs/presets" ,
3737 active : "nested-url" ,
3838 } ,
39+ {
40+ text : "Changelog" ,
41+ url : "https://github.com/Rel1cx/eslint-react/releases" ,
42+ } ,
3943 {
4044 text : "Roadmap" ,
4145 url : "/docs/roadmap" ,
4246 active : "nested-url" ,
4347 } ,
44- {
45- text : "GitHub" ,
46- url : "https://github.com/Rel1cx/eslint-react" ,
47- } ,
4848 ] ,
4949} ;
You can’t perform that action at this time.
0 commit comments