Merge branch 'master' of github.com:Ocelot-Social-Community/ocelot.social into development

This commit is contained in:
Wolfgang Huß 2024-02-05 14:33:31 +01:00
commit 9faad9c22a
5 changed files with 1131 additions and 5686 deletions

View File

@ -1,4 +1,6 @@
import { defineUserConfig } from 'vuepress'
import { viteBundler } from '@vuepress/bundler-vite'
import meta from './config/meta'
import theme from './config/theme'
import plugins from './config/plugins'
@ -7,8 +9,9 @@ export default defineUserConfig({
...meta,
theme,
plugins,
bundler: viteBundler(),
base: process.env.VUEPRESS_BASE ? `/${process.env.VUEPRESS_BASE}/` : '/',
locales:{
locales: {
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
'/de/': {
@ -21,4 +24,4 @@ export default defineUserConfig({
lang: 'fr-FR',
},
}
})
})

View File

@ -1,21 +1,6 @@
import { searchProPlugin } from 'vuepress-plugin-search-pro'
import { redirectPlugin } from 'vuepress-plugin-redirect'
export default [
searchProPlugin({
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
}),
redirectPlugin({
autoLocale: true,
})

View File

@ -125,6 +125,21 @@ export default hopeTheme({
sub: true,
sup: true,
vPre: true,
}
},
searchPro: {
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
},
seo: true,
}
})

6769
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -20,6 +20,7 @@
"homepage": "https://ocelot.social",
"devDependencies": {
"@textlint-rule/textlint-rule-no-unmatched-pair": "^2.0.2",
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"textlint": "^13.4.1",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-rule-apostrophe": "^2.0.0",
@ -34,9 +35,9 @@
"textlint-rule-no-zero-width-spaces": "^1.0.1",
"textlint-rule-period-in-list-item": "^1.0.1",
"textlint-rule-write-good": "^2.0.0",
"vuepress": "^2.0.0-rc.0",
"vuepress-plugin-redirect": "^2.0.0-rc.1",
"vuepress-plugin-search-pro": "^2.0.0-rc.5",
"vuepress-theme-hope": "^2.0.0-rc.5"
"vuepress": "^2.0.0-rc.2",
"vuepress-plugin-redirect": "^2.0.0-rc.15",
"vuepress-plugin-search-pro": "^2.0.0-rc.15",
"vuepress-theme-hope": "^2.0.0-rc.19"
}
}