Moved public to docs for github publishing

This commit is contained in:
Knut Sveidqvist
2019-11-23 16:45:00 +01:00
parent c9de389acb
commit 5e0637af0d
9 changed files with 33 additions and 3 deletions
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

+1 -1
View File
@@ -16,7 +16,7 @@
},
"scripts": {
"build": "cross-env NODE_ENV=production webpack",
"dev": "webpack-dev-server --content-base public"
"dev": "webpack-dev-server --content-base docs"
},
"dependencies": {
"js-base64": "^2.5.1",
+30
View File
@@ -63,6 +63,36 @@ onMount(async () => {
<div id="col1">
<Card title="Code" noPadding="true"><Editor data={params.data}/></Card>
<Card title="Mermaid Configuration" ><Config /></Card>
<Card title='Links'>
<ul className='marketing-links'>
<li>
<a href='https://mermaid-js.github.io/mermaid' target='_blank'>
Mermaid Documentation
</a>
</li>
<li>
<a href='https://github.com/mermaid-js/mermaid' target='_blank'>
Mermaid on GitHub
</a>
</li>
<li>
<a
href='https://github.com/mermaid-js/mermaid-live-editor'
target='_blank'
>
Live Editor on GitHub
</a>
</li>
<li>
<a
href='https://github.com/mermaid-js/mermaid.cli'
target='_blank'
>
Mermaid CLI
</a>
</li>
</ul>
</Card>
</div>
<div id="col2">
<Card title="Preview"><View /></Card>
+1 -1
View File
@@ -16,7 +16,7 @@ module.exports = {
mainFields: ['svelte', 'browser', 'module', 'main']
},
output: {
path: __dirname + '/public',
path: __dirname + '/docs',
filename: '[name].js',
chunkFilename: '[name].[id].js'
},