@chassis-ui/docs 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ const sidebar = getData('sidebar')
|
|
|
46
46
|
// This test should not be necessary, see comments for `getSlug()` in `src/libs/utils.ts`.
|
|
47
47
|
if (!generatedPage) {
|
|
48
48
|
throw new Error(
|
|
49
|
-
`The page '${page.title}' referenced in '
|
|
49
|
+
`The page '${page.title}' referenced in 'data/sidebar.yml' does not exist at '${url}'.`
|
|
50
50
|
)
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -42,7 +42,7 @@ const description = frontmatter?.description
|
|
|
42
42
|
: getConfig().description
|
|
43
43
|
const thumbnail = frontmatter?.thumbnail
|
|
44
44
|
? `img/${frontmatter.thumbnail}`
|
|
45
|
-
: 'logo/chassis-logo-
|
|
45
|
+
: 'images/logo/chassis-logo-brand.svg'
|
|
46
46
|
|
|
47
47
|
const bodyProps = overrides?.body ?? {}
|
|
48
48
|
const mainProps = overrides?.main ?? {}
|
|
@@ -80,7 +80,7 @@ if (frontmatter.toc) {
|
|
|
80
80
|
View on GitHub
|
|
81
81
|
</a>
|
|
82
82
|
</div>
|
|
83
|
-
<h1 class="cxd-title mb-
|
|
83
|
+
<h1 class="cxd-title mb-small" id="content">{frontmatter.title}</h1>
|
|
84
84
|
</div>
|
|
85
85
|
<div class="cxd-subtitle">
|
|
86
86
|
{
|
|
@@ -127,7 +127,7 @@ if (frontmatter.toc) {
|
|
|
127
127
|
<a
|
|
128
128
|
class="d-block text-decoration-none"
|
|
129
129
|
href={getChassisDocsPath(
|
|
130
|
-
`${parentDirectory ? parentDirectory + '/' : ''}${getSlug(section.title)}/`
|
|
130
|
+
`${parentDirectory ? parentDirectory + '/' : ''}${section.slug ? section.slug :getSlug(section.title)}/`
|
|
131
131
|
)}
|
|
132
132
|
>
|
|
133
133
|
<strong class="d-block h5 mb-2xsmall">{section.title}</strong>
|
|
@@ -38,7 +38,7 @@ const { pathname } = Astro.url
|
|
|
38
38
|
{layout !== 'docs' && <div class="d-large-none" style="width: 4.25rem;" />}
|
|
39
39
|
|
|
40
40
|
<a class="navbar-brand me-large-medium" href="/" aria-label="Chassis">
|
|
41
|
-
<img src="/static/logo/chassis-logo-brand.svg" alt="Chassis UI" width="123" height="32" />
|
|
41
|
+
<img src="/static/images/logo/chassis-logo-brand.svg" alt="Chassis UI" width="123" height="32" />
|
|
42
42
|
</a>
|
|
43
43
|
|
|
44
44
|
<div class="d-flex">
|