diff --git a/.github/workflows/vuepress-deploy.yml b/.github/workflows/vuepress-deploy.yml index 65d9aa2..cdc4936 100644 --- a/.github/workflows/vuepress-deploy.yml +++ b/.github/workflows/vuepress-deploy.yml @@ -19,6 +19,8 @@ jobs: - name: Build Vuepress Pages run: npm install && npm run build + env: + VUEPRESS_BASE: '/ocelot.social/' - name: Deploy Vuepress to Github Pages uses: crazy-max/ghaction-github-pages@v4 diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 247a98f..066f3fe 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -7,19 +7,16 @@ export default defineUserConfig({ ...meta, theme, plugins, - base: '/ocelot.social/', - 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. - '/en/': { - lang: 'en-US', // this will be set as the lang attribute on - title: 'Ocelot.Social', - // description: '' - }, + base: process.env.VUEPRESS_BASE ?? '/', + locales: { '/': { lang: 'de-DE', - title: 'Ocelot.Social', - // description: '' - } + }, + '/en/': { + lang: 'en-EN', + }, + '/fr/': { + lang: 'fr-FR', + }, } }) \ No newline at end of file diff --git a/docs/.vuepress/config/theme.js b/docs/.vuepress/config/theme.js index 50763b7..1734a31 100644 --- a/docs/.vuepress/config/theme.js +++ b/docs/.vuepress/config/theme.js @@ -4,6 +4,7 @@ export default hopeTheme({ favicon: 'favicon.ico', logo: '/logo.svg', docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social', + repo: 'https://github.com/Ocelot-Social-Community/Ocelot-Social', docsBranch: 'master', docsDir: 'docs', editLink: true, @@ -11,24 +12,82 @@ export default hopeTheme({ contributors: false, displayFooter: true, print: false, - copyright: '© by busFaktor() e.V. & Authors | Impressum', - footer: 'Released under the MIT License.', - navbar: [ - { - text: 'Documentation', link: 'https://docs.ocelot.social/' + navbarLayout: { + start: ["Brand"], + center: ["Links"], + end: ["Language", "Repo", "Search"], + }, + 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. + '/': { + lang: 'de-DE', + title: 'Ocelot.Social', + copyright: '© von busFaktor() e.V. & Authoren | Impressum', + footer: 'Unter der MIT Lizenz ausgeliefert.', + navbar: [ + { + text: 'Documentation', + link: 'https://docs.ocelot.social/' , + target: '_self', + }, + { + text: 'Demo', + link: 'https://stage.ocelot.social/', + target: '_self', + }, + { + text: 'Impressum', + link: '/impressum/' + }, + ], }, - { - text: 'Demo', link: 'https://stage.ocelot.social/' + '/en/': { + lang: 'en-US', // this will be set as the lang attribute on + title: 'Ocelot.Social', + // description: '' + copyright: '© by busFaktor() e.V. & Authors | Impressum', + footer: 'Released under the MIT License.', + navbar: [ + { + text: 'Documentation', + link: 'https://docs.ocelot.social/', + target: '_self', + }, + { + text: 'Demo', + link: 'https://stage.ocelot.social/', + target: '_self', + }, + { + text: 'Imprint', + link: '/impressum/' + }, + ], }, - { - text: 'Github', - link: 'https://github.com/Ocelot-Social-Community' - }, - { - text: 'Impressum', - link: '/impressum/' - }, - ], + '/fr/': { + lang: 'fr-FR', + title: 'Ocelot.Social', + copyright: '© par busFaktor() e.V. & Auteurs | Mentions légales', + footer: 'Publié sous la licence MIT.', + navbar: [ + { + text: 'Documentation', + link: 'https://docs.ocelot.social/', + target: '_self', + }, + { + text: 'Demo', + link: 'https://stage.ocelot.social/', + target: '_self', + }, + { + text: 'Mentions légales', + link: '/impressum/' + }, + ], + } + }, plugins: { mdEnhance: { align: true, diff --git a/docs/en/impressum/README.md b/docs/en/impressum/README.md index 8d07deb..6edcf5a 100644 --- a/docs/en/impressum/README.md +++ b/docs/en/impressum/README.md @@ -3,9 +3,7 @@ home: false # layout: BlogHome icon: home title: Imprint | Ocelot.Social -heroFullScreen: false -heroImage: /logo.svg -heroText: Free and open-source social network for active citizenship. +sidebar: false tagLine: # actions: # - text: Demo diff --git a/docs/fr/README.md b/docs/fr/README.md index e3b35e3..075bd16 100644 --- a/docs/fr/README.md +++ b/docs/fr/README.md @@ -13,7 +13,7 @@ tagLine: --- ## En construction -Notre site web est en construction. Revenez bientôt! +Notre site web est en construction. Reviens bientôt! Entre-temps, tu peux nous trouver sur [GitHub](https://github.com/Ocelot-Social-Community/) ou [Discord](https://discord.gg/AGPJ7YgC). diff --git a/docs/fr/impressum/README.md b/docs/fr/impressum/README.md index 4fef1f9..d2e7306 100644 --- a/docs/fr/impressum/README.md +++ b/docs/fr/impressum/README.md @@ -1,13 +1,29 @@ --- -home: true +home: false # layout: BlogHome # icon: home -title: Impressum -heroFullScreen: false -# heroImage: /logo.svg -# heroText: Free and open-source social network for active citizenship. +sidebar: false +title: Mentions légales tagLine: # actions: # - text: Demo # link: https://stage.ocelot.social/ ---- \ No newline at end of file +--- +## Responsable de l’exploitation de ce site Web + +busFaktor() e.V. +Wolfgang Huß, 2nd Chairman + +Haferstr. 5c +86179 Augsburg +E-Mail: +Telefon: +49 173 622 60 91 + +## Éditeur responsable du contenu + +Wolfgang Huß + +Steinburger Straße 38 +22527 Hamburg +E-Mail: +Telefon: +49 173 622 60 91 diff --git a/docs/impressum/README.md b/docs/impressum/README.md index 3e6671e..63b7334 100644 --- a/docs/impressum/README.md +++ b/docs/impressum/README.md @@ -3,9 +3,7 @@ home: false # layout: BlogHome icon: home title: Impressum | Ocelot.Social -heroFullScreen: false -heroImage: /logo.svg -heroText: Free and open-source social network for active citizenship. +sidebar: false tagLine: # actions: # - text: Demo