0.2.0 • Published 9 months ago
docusaurus-sylk-plugin v0.2.0
Docusaurus Sylk Plugin
This is the main plugin interfaced for sylk autogenerated documentation based on sylk.json
file.
It is meant to use with running instance of Docusaurus
Installation
Install via npm
npm install @sylk/docusaurus-sylk
Setup
First you'll need to configure the presets of docusaurus-sylk
plugin.
Navigate to docusaurus.config.js
and place the Sylk's plugin presets:
const config = {
presets: [
[
'docusaurus-sylk',
{
sylk: {
sylkJsonPaths: [
'./sylk/Todo-App/sylk.json',
'./sylk/sylk-core/sylk.json'
],
sylkDocsPath: './sylk',
},
docs: {
routeBasePath: 'sylk',
sidebarPath: './sidebarsSylk.js',
}
}
],
// ... More Presets ...
]
// ... More Configurations ...
}
- Create a root directory for your Sylk's documentation projects inside of docusaurus root directory.
- To keep things clear keep for any project a unique directory hierarchy inside the
sylk
root directory created in step 1. - Place the
sylk.json
file of your project atsylk/<project-nane>/sylk.json
- Next
Usage
The plugin extending the core docusaurus CLI and by invoking the command you can generate the docs based on your sylk.json
files.
npx docusaurus generate-sylk-docs
This plugin created with ❤️ by Sylk Team
0.2.0
9 months ago
0.1.8
9 months ago
0.1.7
9 months ago
0.1.9
9 months ago
0.1.4
9 months ago
0.1.6
9 months ago
0.1.5
9 months ago
0.1.2
12 months ago
0.1.1
12 months ago
0.1.0
12 months ago
0.0.9
12 months ago
0.0.8
12 months ago
0.0.7
12 months ago
0.0.6
12 months ago
0.0.5
12 months ago
0.0.4
12 months ago
0.0.3
12 months ago
0.0.2
12 months ago