2025-05-04 22:35:05 +02:00

44 lines
1.3 KiB
TypeScript

import { viteBundler } from '@vuepress/bundler-vite'
import { defineUserConfig } from 'vuepress'
import { hopeTheme } from 'vuepress-theme-hope'
export default defineUserConfig({
// meta
title: 'E2E Cypress Cucumber Boilerplate Documentation',
description: 'IT4C - E2E Cypress Cucumber Boilerplate Documentation',
dest: 'build/docs',
base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
pagePatterns: ['**/*.md', '**/LICENSE', '!.vuepress', '!node_modules'],
// bundler
bundler: viteBundler({}),
// theme
theme: hopeTheme({
favicon: 'favicon.ico',
logo: '/it4c-logo2-clean-bg_alpha-128x128.png',
contributors: false,
docsBranch: 'master',
docsDir: '.',
docsRepo: 'https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber',
editLink: true,
lastUpdated: false,
print: false,
repo: 'IT4Change/boilerplate-e2e-cypress-cucumber',
repoLabel: 'GitHub',
repoDisplay: true,
displayFooter: true,
footer: 'CC BY IT4C.dev & Authors - <a href="https://it4c.dev/imprint.html">Imprint</a>',
markdown: {
imgSize: true
},
navbarLayout: {
start: ['Brand'],
end: ['Repo', 'Outlook', 'Search'],
},
plugins: {
slimsearch: {
indexContent: true
}
}
}),
})