File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed
content/docs/style-guide/components Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import UsageList from "./UsageList.astro";
77const partials = await getPartialsUsage ();
88---
99
10- <Details header =" Partials " id =" partials-container" >
10+ <Details header =" Usage " id =" partials-container" >
1111 {
1212 [... Object .entries (partials )]
1313 .sort ((a , b ) => a [0 ].localeCompare (b [0 ]))
Original file line number Diff line number Diff line change @@ -31,7 +31,12 @@ const { usage } = props.parse(Astro.props);
3131 .replace (" src/content/docs/" , " " )
3232 .replace (" .mdx" , " " )
3333 .split (" /" )
34- .map ((segment ) => slug (segment ))
34+ .map ((segment ) => {
35+ if (segment === " 1.1.1.1" ) {
36+ return segment ;
37+ }
38+ return slug (segment );
39+ })
3540 .join (" /" ) +
3641 " /" ;
3742
Original file line number Diff line number Diff line change @@ -193,6 +193,6 @@ import { Render } from "~/components";
193193<Render file = " optional-props" params = { { product: " Thing Three" }} />
194194```
195195
196- ## Usage
196+ ## Partials
197197
198198<PartialsUsage />
You can’t perform that action at this time.
0 commit comments