Skip to content

Commit 3a4794b

Browse files
committed
fix api trailing slash and installation table
1 parent 06e3824 commit 3a4794b

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

markdown-pages/docs/manual/installation.mdx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ order: 2
1111
## Prerequisites
1212

1313
<div class="install-list">
14-
- [Node.js](https://nodejs.org/) version >= 20 - One of the following package
15-
managers: - [npm](https://docs.npmjs.com/cli/) (comes with Node.js) -
16-
[yarn](https://yarnpkg.com/) - yarn versions >1 need to set `nodeLinker:
17-
node-modules` in `.yarnrc.yml` - [pnpm](https://pnpm.io/) -
18-
[bun](https://bun.sh/) - [deno](http://deno.com/) - Configure
19-
`"nodeModulesDir": "auto"` in `deno.json`
14+
- [Node.js](https://nodejs.org/) version >= 20
15+
- One of the following package managers:
16+
- [npm](https://docs.npmjs.com/cli/) (comes with Node.js)
17+
- [yarn](https://yarnpkg.com/)
18+
- yarn versions >1 need to set `nodeLinker: node-modules` in `.yarnrc.yml`
19+
- [pnpm](https://pnpm.io/)
20+
- [bun](https://bun.sh/)
21+
- [deno](http://deno.com/)
22+
- Configure `"nodeModulesDir": "auto"` in `deno.json`
2023
</div>
2124

2225
## New Project

src/layouts/SidebarLayout.res

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,11 @@ module BreadCrumbs = {
214214
(pathname :> string)
215215
->String.split("/")
216216
->Array.filter(segment =>
217-
segment !== "docs" && segment !== "manual" && segment !== "react" && segment !== "api"
217+
segment !== "docs" &&
218+
segment !== "manual" &&
219+
segment !== "react" &&
220+
segment !== "api" &&
221+
segment !== ""
218222
)
219223
->Array.last
220224

styles/_markdown.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,9 @@
6565

6666
.install-list {
6767
li {
68+
@apply !mb-0;
6869
ul {
69-
@apply !mb-0;
70+
@apply !mb-0 !ml-0;
7071
}
7172
}
7273
}

0 commit comments

Comments
 (0)