Skip to content

Commit eec3827

Browse files
committed
fix(docs): correct formatting in changelog and update sidebar position
1 parent 8f1683a commit eec3827

File tree

2 files changed

+22
-21
lines changed

2 files changed

+22
-21
lines changed

docs/changelog/v0.1.x/996_v0_1_3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: v0.1.3
33
---
44

5-
### Added
5+
### Added
66

77
- Added `APIVersion` field to the `Client` struct.
88
- Added `RippledAPIV1` and `RippledAPIV2` constants.

docs/docusaurus.config.ts

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -93,28 +93,25 @@ const config: Config = {
9393
},
9494
{
9595
label: "Changelog",
96-
position: "right",
97-
type: "docSidebar", // Remove this line when multiple changelog versions are needed
98-
sidebarId: "changelogSidebar1", // Remove this line when multiple changelog versions are needed
99-
docsPluginId: "changelogPlugin", // Remove this line when multiple changelog versions are needed
96+
position: "left",
10097

10198
// Uncomment the following lines to enable dropdown multiple changelog versions
102-
// items: [
103-
// {
104-
// type: "docSidebar",
105-
// sidebarId: "changelogSidebar1",
106-
// docsPluginId: "changelogPlugin",
107-
// label: "v0.1.x",
108-
// },
109-
// Uncomment in sidebarsChangelog.ts changelog2 line to enable the second changelog version
110-
// add the next major version files in ./changelog/v0.2.x
111-
// {
112-
// type: "docSidebar",
113-
// sidebarId: "changelogSidebar2",
114-
// docsPluginId: "changelogPlugin",
115-
// label: "v0.2.x",
116-
// },
117-
// ],
99+
items: [
100+
{
101+
type: "docSidebar",
102+
sidebarId: "changelogSidebar1",
103+
docsPluginId: "changelogPlugin",
104+
label: "v0.1.x",
105+
},
106+
// Uncomment in sidebarsChangelog.ts changelog2 line to enable the second changelog version
107+
// add the next major version files in ./changelog/v0.2.x
108+
// {
109+
// type: "docSidebar",
110+
// sidebarId: "changelogSidebar2",
111+
// docsPluginId: "changelogPlugin",
112+
// label: "v0.2.x",
113+
// },
114+
],
118115
},
119116
{
120117
href: "https://github.com/Peersyst/xrpl-go",
@@ -145,6 +142,10 @@ const config: Config = {
145142
label: "xrpl",
146143
to: "/docs/xrpl/currency",
147144
},
145+
{
146+
label: "Changelog",
147+
to: "changelog/v0.1.x/changelog",
148+
},
148149
],
149150
},
150151
{

0 commit comments

Comments
 (0)