forked from aris-creator/jancok
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: API docs generation and refactor (#659)
* refactor: docs reorganization * feat(workflow): auto build public API to docs * feat: update generate docs script
- Loading branch information
Showing
65 changed files
with
1,324 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ | |
}, | ||
|
||
"ae-missing-release-tag": { | ||
"logLevel": "none" | ||
"logLevel": "warning" | ||
} | ||
}, | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,84 @@ | ||
const getConfig = require("vuepress-bar"); | ||
const barConfig = getConfig(`${__dirname}/..`); | ||
|
||
module.exports = { | ||
title: "Shopware-PWA", | ||
description: "Headless PWA for Shopware", | ||
themeConfig: { | ||
sidebar: barConfig.sidebar, | ||
repo: "DivanteLtd/shopware-pwa", | ||
docsDir: "docs", | ||
sidebarDepth: 2 | ||
} | ||
sidebarDepth: 2, | ||
smoothScroll: true, | ||
sidebar: { | ||
"/cli/": [""], | ||
"/api/": [ | ||
{ | ||
title: "API", | ||
path: "", | ||
collapsable: false, | ||
children: [ | ||
{ title: "Composables", path: "composables" }, | ||
{ title: "Helpers", path: "helpers" }, | ||
{ title: "Shopware 6 client", path: "shopware-6-client" }, | ||
], | ||
}, | ||
], | ||
"/": [""], | ||
}, | ||
nav: (module.exports = [ | ||
{ | ||
text: "Guide", | ||
items: [ | ||
{ | ||
text: "Setup", | ||
items: [ | ||
{ | ||
text: "Cheatsheet", | ||
link: "/guide/cheatsheet.html", | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "Help", | ||
items: [ | ||
{ | ||
text: "FAQ / Troubleshooting", | ||
link: "/guide/troubleshooting.html", | ||
}, | ||
{ | ||
text: "Roadmap", | ||
link: "/guide/roadmap.html", | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
text: "CLI", | ||
link: "/cli/", | ||
}, | ||
{ | ||
text: "API", | ||
link: "/API/index.md", | ||
}, | ||
{ | ||
text: "Contribution", | ||
items: [ | ||
{ | ||
text: "Contribution guide", | ||
link: "/contribution/contributing.html", | ||
}, | ||
{ | ||
text: "Project structure", | ||
link: "/contribution/structure.html", | ||
}, | ||
], | ||
}, | ||
// { | ||
// text: "Plugin", | ||
// link: "/plugin/", | ||
// }, | ||
// { | ||
// text: "Theme", | ||
// link: "/theme/", | ||
// }, | ||
]), | ||
}, | ||
}; |
Oops, something went wrong.