Skip to content

Commit

Permalink
fix(docs): added missing dependency & unix paths fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Leandro Cruz Ferrer committed Sep 16, 2022
1 parent ddfd364 commit abe7f0c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const config: Config = {
component[key] &&
(key.includes('Path') || key.includes('Dir'))
) {
component[key] = `./${path.relative('.', component[key])}`;
component[key] = `./${path.relative('.', component[key]).replace(/\\/g, '/')}`;
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
|applicationName| Should only be set if you use ix-menu standalone | `application-name` | `string` | `undefined` |
|enableMapExpand| Internal | `enable-map-expand` | `boolean` | `false` |
|enableSettings| Is settings tab is visible | `enable-settings` | `boolean` | `true` |
|enableToggleTheme| | `enable-toggle-theme` | `boolean` | `false` |
|enableToggleTheme| Show toggle between light and dark variant. Only if the provided theme have implemented both! | `enable-toggle-theme` | `boolean` | `false` |
|expand| Expand menu | `expand` | `boolean` | `false` |
|i18nCollapse| | `i-1-8n-collapse` | `string` | `'Collapse'` |
|i18nExpand| | `i-1-8n-expand` | `string` | `' Expand'` |
Expand Down
1 change: 1 addition & 0 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@siemens/ix-icons": "1.0.0-beta.1",
"@siemens/ix": "~1.0.0-beta.0",
"@siemens/ix-react": "~1.0.0-beta.0",
"@siemens/ix-echarts": "~1.0.0-beta.1",
"@stencil/postcss": "^2.1.0",
"clsx": "^1.2.1",
"execa": "^5.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/scripts/copy-webcomponents.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const { resolve } = createRequire(import.meta.url);

async function loadLib(libName) {
const distName = '/dist';
const libPath = resolve(libName);
const libPath = resolve(libName).replace(/\\/g, '/');
const distPath = libPath.substring(
0,
libPath.indexOf(distName) + distName.length
Expand Down

0 comments on commit abe7f0c

Please sign in to comment.