Skip to content

Commit

Permalink
feat: bump deps, copy pdfs, improve sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Sep 11, 2024
1 parent ea3d08a commit 23dd1dd
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 38 deletions.
19 changes: 18 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,14 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
'.zip'
],
},
// custom pdf
{
src: './docs/assets',
dst: 'assets',
ext: [
'.pdf'
],
},
]);

/**
Expand All @@ -621,7 +629,16 @@ export default withMermaid(defineConfigWithTheme<ThemeConfig>({
/**
* Create public sitemap.xml.
*/
await createSitemap(/*stoplightUrls*/[], 'developer.shopware.com');
await createSitemap(/*stoplightUrls*/[], 'developer.shopware.com', {
priority: {
'/docs/': 1,
'/frontends/': 1,
'/resources/admin-extension-sdk/': 1,
'/resources/meteor-icon-kit/': 1,
'/resources/meteor-component-library/': 1,
'/release-notes/': 1,
}
});

/**
* Transform Store API JSON reference to Markdown for Knowledge base.
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"jsdom": "^24.1.1",
"terser": "^5.31.0",
"vitepress": "^1.3.4",
"vitepress-shopware-docs": "^1.3.0-alpha.14",
"vitepress-shopware-docs": "^1.3.0-alpha.16",
"vue": "^3.4.27"
},
"devDependencies": {
Expand All @@ -40,11 +40,11 @@
"@mermaid-js/mermaid-mindmap": "^9.3.0",
"@originjs/vite-plugin-require-context": "^1.0.9",
"@playwright/test": "1.46.1",
"@shopware-docs/cli": "^1.3.0-alpha.14",
"@shopware-docs/storybook": "^1.3.0-alpha.14",
"@shopware-docs/typer": "^1.3.0-alpha.14",
"@shopware-docs/vitepress": "^1.3.0-alpha.14",
"@shopware-docs/vitest": "^1.3.0-alpha.14",
"@shopware-docs/cli": "^1.3.0-alpha.16",
"@shopware-docs/storybook": "^1.3.0-alpha.16",
"@shopware-docs/typer": "^1.3.0-alpha.16",
"@shopware-docs/vitepress": "^1.3.0-alpha.16",
"@shopware-docs/vitest": "^1.3.0-alpha.16",
"@storybook/addon-essentials": "^7.6.10",
"@storybook/addon-interactions": "^7.6.10",
"@storybook/addon-links": "^7.6.10",
Expand Down
67 changes: 36 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23dd1dd

Please # to comment.