@saika/theme-docs
We provide this plugin to let saika become a documentation site.
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@saika/theme-docs/dist/index.css"
/>
<!-- Load this plugin after saika.js -->
<script src="https://cdn.jsdelivr.net/npm/@saika/theme-docs"></script>
This plugin exposed as window.saikaThemeDocs
:
new Saika({
plugins: [saikaThemeDocs]
})
Then your site will become like me.
Options
nav
- Type:
Array<NavItem>
interface NavItem {
title: string
link: string
position?: 'left' | 'right'
}
The header navigation item.
posts
The posts item is your sidebar item.
License
MIT © 2nthony