@saika/theme-docs

2.6.3 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @saika/theme-docs

Weekly Downloads

3

Version

2.6.3

License

MIT

Unpacked Size

41 kB

Total Files

20

Last publish

Collaborators

  • evila