Skip to content

Commit

Permalink
github docs page build
Browse files Browse the repository at this point in the history
  • Loading branch information
gbisurgi committed Nov 13, 2024
1 parent a5c217c commit 54dd114
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.7/awesomplete.css"/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/quill.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/awesomplete/1.1.7/awesomplete.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/es2018/jodit.fat.min.js"></script> <script type="module" crossorigin src="/assets/index-C5peHify.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/es2018/jodit.fat.min.js"></script> <script type="module" crossorigin src="/jedi/assets/index-C5peHify.js"></script>
</head>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/build/raty.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"dev": "vite --config ./vite.config.dev.js",
"build": "vite build --config ./vite.config.prod.js",
"build:docs": "vite build --config ./vite.config.dev.js",
"postbuild": "vite build --config ./vite.config.github.js",
"serve": "vite preview --config ./vite.config.dev.js",
"unit": "jest --config=./tests/unit/jest.config.cjs",
"e2e": "codeceptjs run-workers 10 -c tests/e2e/codecept.conf.cjs",
Expand Down
11 changes: 11 additions & 0 deletions vite.config.github.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'

export default defineConfig({
plugins: [vue()],
base: '/jedi/',
build: {
outDir: resolve(__dirname, 'docs')
}
})

0 comments on commit 54dd114

Please sign in to comment.