@dominikcz/greg 0.9.28 → 0.9.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/init.js
CHANGED
|
@@ -186,7 +186,7 @@ async function main() {
|
|
|
186
186
|
|
|
187
187
|
// ── Derive values ─────────────────────────────────────────────────────────
|
|
188
188
|
const docsDir = docsPath.replace(/^\.\//, '').replace(/\/$/, '');
|
|
189
|
-
const rootPath = '
|
|
189
|
+
const rootPath = '';
|
|
190
190
|
const ext = useTS ? 'ts' : 'js';
|
|
191
191
|
const vars = { TITLE: title, DESCRIPTION: desc, DOCS_DIR: docsDir, ROOT_PATH: rootPath, EXT: ext };
|
|
192
192
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from '@dominikcz/greg/plugins'
|
|
10
10
|
|
|
11
11
|
const docsDir = process.env.GREG_DOCS_DIR || '{{DOCS_DIR}}'
|
|
12
|
-
const docsBase = process.env.GREG_DOCS_BASE || '
|
|
12
|
+
const docsBase = process.env.GREG_DOCS_BASE || ''
|
|
13
13
|
|
|
14
14
|
export default defineConfig({
|
|
15
15
|
plugins: [
|