-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Ocelot-Social-Community/new-website
refactor(other): new vuepress2-based website
- Loading branch information
Showing
57 changed files
with
7,617 additions
and
17,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
rebase-strategy: "disabled" | ||
schedule: | ||
interval: weekly | ||
day: "saturday" | ||
timezone: "Europe/Berlin" | ||
time: "03:00" | ||
|
||
- package-ecosystem: npm | ||
directory: "/" | ||
rebase-strategy: "disabled" | ||
schedule: | ||
interval: weekly | ||
day: "saturday" | ||
timezone: "Europe/Berlin" | ||
time: "03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
.DS_Store | ||
/node_modules/ | ||
/docs/.vuepress/dist/ | ||
/docs/.vuepress/.cache/ | ||
/docs/.vuepress/.temp/ | ||
/.github/webhooks/hooks.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v20.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { defineUserConfig } from 'vuepress' | ||
import meta from './config/meta' | ||
import theme from './config/theme' | ||
import plugins from './config/plugins' | ||
|
||
export default defineUserConfig({ | ||
base: "/ocelot.social/", | ||
...meta, | ||
theme, | ||
plugins, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,24 @@ | ||
const path = require('path') | ||
module.exports = { | ||
title: 'Ocelot Social', | ||
description: 'ocelot.social is free and open source software program code to run social networks. Its development is supported by a community of programmers and interested network operators.', | ||
head: [ | ||
['meta', {name: 'viewport', content: 'width=device-width,initial-scale=1'}] | ||
], | ||
theme: 'vuepress-theme-book', | ||
themeConfig: { | ||
logo: "/logo.svg", | ||
searchPlaceholder: "Search...", | ||
lastUpdated: "Last Updated", | ||
docsRepo: "https://github.com/Ocelot-Social-Community/ocelot.social/", | ||
docsDir: "docs", | ||
editLinks: true, | ||
editLinkText: 'Edit this page on Github', | ||
nav: [ | ||
{ text: 'Ocelot.Social', link: '/' }, | ||
{ | ||
text: 'Github', | ||
link: | ||
'https://github.com/Ocelot-Social-Community' | ||
}, | ||
], | ||
sidebar: { | ||
'/': [ | ||
{ | ||
title: '', | ||
collapsable: false, | ||
sidebarDepth: 0, | ||
children: [ | ||
['/', 'Ocelot.Social'], | ||
['/code-of-conduct', 'Code of Conduct'], | ||
['/contributing', 'Contributing'], | ||
['/feature-specification', 'Feature Specification'], | ||
['/license', 'License'] | ||
] | ||
}, | ||
{ | ||
title: 'Tech', | ||
collapsable: true, | ||
sidebarDepth: 0, | ||
children: [ | ||
['/tech/neo4j', 'Neo4J'], | ||
['/tech/backend', 'Backend'], | ||
['/tech/webapp', 'WebApp'] | ||
] | ||
}, | ||
{ | ||
title: 'Testing', | ||
collapsable: true, | ||
sidebarDepth: 0, | ||
children: [ | ||
['test/', 'Testing'], | ||
['/test/cypress', 'End-To-End Tests'], | ||
['/test/webapp', 'Frontend Tests'], | ||
['/test/backend', 'Backend Tests'] | ||
] | ||
} | ||
] | ||
import { defineUserConfig } from 'vuepress' | ||
import meta from './config/meta' | ||
import theme from './config/theme' | ||
import plugins from './config/plugins' | ||
|
||
export default defineUserConfig({ | ||
...meta, | ||
theme, | ||
plugins, | ||
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 <html> | ||
title: 'Ocelot.Social', | ||
// description: '' | ||
}, | ||
}, | ||
configureWebpack: { | ||
resolve: { | ||
alias: { | ||
'@images': path.resolve(__dirname, '../images') | ||
} | ||
'/de/': { | ||
lang: 'de-DE', | ||
title: 'Ocelot.Social', | ||
// description: '' | ||
} | ||
}, | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
title: 'Ocelot.Social', | ||
// description: 'Free and open-source social network for active citizenship.', | ||
head: [ | ||
['meta', {name: 'viewport', content: 'width=device-width,initial-scale=1'}] | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
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, | ||
}) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { hopeTheme } from 'vuepress-theme-hope' | ||
|
||
export default hopeTheme({ | ||
favicon: 'favicon.ico', | ||
logo: '/logo.svg', | ||
docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social', | ||
docsBranch: 'master', | ||
docsDir: 'docs', | ||
editLink: true, | ||
lastUpdated: false, | ||
contributors: false, | ||
displayFooter: true, | ||
print: false, | ||
copyright: '© by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/impressum/">Impressum</a>', | ||
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.', | ||
navbar: [ | ||
{ | ||
text: 'Documentation', link: 'https://docs.ocelot.social/' | ||
}, | ||
{ | ||
text: 'Demo', link: 'https://stage.ocelot.social/' | ||
}, | ||
{ | ||
text: 'Github', | ||
link: 'https://github.com/Ocelot-Social-Community' | ||
}, | ||
{ | ||
text: 'Impressum', | ||
link: '/impressum/' | ||
}, | ||
], | ||
plugins: { | ||
mdEnhance: { | ||
align: true, | ||
demo: true, | ||
imgLazyload: true, | ||
imgMark: true, | ||
imgSize: true, | ||
sub: true, | ||
sup: true, | ||
vPre: true, | ||
} | ||
} | ||
}) |
Binary file not shown.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$theme-color: #17b53f; |
Oops, something went wrong.