Skip to content

Commit

Permalink
feat: integrate with mendable
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed Dec 19, 2024
1 parent 4e1d166 commit 4158d54
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 89 deletions.
178 changes: 91 additions & 87 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,51 @@

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Athenna Framework',
tagline: 'One foundation for multiple applications',
favicon: 'img/favicons/minerva.ico',
url: 'https://athenna.io',
title: "Athenna Framework",
tagline: "One foundation for multiple applications",
favicon: "img/favicons/minerva.ico",
url: "https://athenna.io",
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
baseUrl: "/",

organizationName: 'AthennaIO',
projectName: 'Docs',
deploymentBranch: 'main',
organizationName: "AthennaIO",
projectName: "Docs",
deploymentBranch: "main",
trailingSlash: false,

onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",

i18n: {
defaultLocale: 'en',
locales: ['en'],
defaultLocale: "en",
locales: ["en"],
},

customFields: {
mendableAnonKey: "2ffe6aa8-b8a6-4889-847f-53d5c7095403",
},

markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
themes: ["@docusaurus/theme-mermaid"],

presets: [
[
'classic',
"classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
breadcrumbs: false,
sidebarPath: require.resolve('./src/sidebars.js'),
editUrl: 'https://github.com/AthennaIO/Docs/tree/main/',
sidebarPath: require.resolve("./src/sidebars.js"),
editUrl: "https://github.com/AthennaIO/Docs/tree/main/",
},
theme: {
customCss: require.resolve('./static/css/root.css'),
customCss: require.resolve("./static/css/root.css"),
},
gtag: {
trackingID: 'G-TPPC0L9LCF',
trackingID: "G-TPPC0L9LCF",
anonymizeIP: false,
},
}),
Expand All @@ -53,133 +57,133 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
image: 'img/pre-visualization/home.png',
image: "img/pre-visualization/home.png",
metadata: [
{
name: 'og:description',
content: 'One foundation for multiple applications'
{
name: "og:description",
content: "One foundation for multiple applications",
},
{
name: 'theme-color',
content: '#9580ff'
}
name: "theme-color",
content: "#9580ff",
},
],
navbar: {
title: 'Athenna',
title: "Athenna",
logo: {
alt: 'Athenna Framework',
src: 'img/logos/logo.png',
alt: "Athenna Framework",
src: "img/logos/logo.png",
},
items: [
{
type: 'doc',
docId: 'getting-started/installation',
label: 'Docs',
position: 'right',
type: "doc",
docId: "getting-started/installation",
label: "Docs",
position: "right",
},
{
to: 'benchmarks',
label: 'Benchmarks',
position: 'right',
to: "benchmarks",
label: "Benchmarks",
position: "right",
},
{
href: 'https://github.com/AthennaIO',
'aria-label': 'GitHub',
className: 'navbar__icon navbar__github',
position: 'right',
href: "https://github.com/AthennaIO",
"aria-label": "GitHub",
className: "navbar__icon navbar__github",
position: "right",
html: '<i class="fa-brands fa-github"></i>',
},
{
href: 'https://discord.gg/JdEbBAKw6X',
'aria-label': 'Discord',
className: 'navbar__icon navbar__discord',
position: 'right',
href: "https://discord.gg/JdEbBAKw6X",
"aria-label": "Discord",
className: "navbar__icon navbar__discord",
position: "right",
html: '<i class="fa-brands fa-discord"></i>',
},
{
href: 'https://twitter.com/athennaio',
'aria-label': 'Twitter',
className: 'navbar__icon navbar__twitter',
position: 'right',
href: "https://twitter.com/athennaio",
"aria-label": "Twitter",
className: "navbar__icon navbar__twitter",
position: "right",
html: '<i class="fa-brands fa-x-twitter"></i>',
},
{
href: 'https://www.youtube.com/watch?v=wNMrx6OGKFk',
'aria-label': 'YouTube',
className: 'navbar__icon navbar__youtube',
position: 'right',
href: "https://www.youtube.com/watch?v=wNMrx6OGKFk",
"aria-label": "YouTube",
className: "navbar__icon navbar__youtube",
position: "right",
html: '<i class="fa-brands fa-youtube"></i>',
},
],
},
prism: {
additionalLanguages: ["json", "bash", "typescript", "sql"],
theme: require('./lib/prism/dracula'),
theme: require("./lib/prism/dracula"),
},
}),
plugins: [
[
'@docusaurus/plugin-pwa',
"@docusaurus/plugin-pwa",
{
debug: true,
offlineModeActivationStrategies: [
'appInstalled',
'standalone',
'queryString',
"appInstalled",
"standalone",
"queryString",
],
pwaHead: [
{
tagName: 'link',
rel: 'icon',
href: 'img/logos/minerva.png',
tagName: "link",
rel: "icon",
href: "img/logos/minerva.png",
},
{
tagName: 'link',
rel: 'manifest',
href: 'manifest.json',
tagName: "link",
rel: "manifest",
href: "manifest.json",
},
{
tagName: 'meta',
name: 'theme-color',
content: '#ffffff',
media: '(prefers-color-scheme: light)',
tagName: "meta",
name: "theme-color",
content: "#ffffff",
media: "(prefers-color-scheme: light)",
},
{
tagName: 'meta',
name: 'theme-color',
content: '#242526',
media: '(prefers-color-scheme: dark)',
tagName: "meta",
name: "theme-color",
content: "#242526",
media: "(prefers-color-scheme: dark)",
},
{
tagName: 'meta',
name: 'apple-mobile-web-app-capable',
content: 'yes',
tagName: "meta",
name: "apple-mobile-web-app-capable",
content: "yes",
},
{
tagName: 'meta',
name: 'apple-mobile-web-app-status-bar-style',
content: '#000',
tagName: "meta",
name: "apple-mobile-web-app-status-bar-style",
content: "#000",
},
{
tagName: 'link',
rel: 'apple-touch-icon',
href: 'img/logos/minerva.png',
tagName: "link",
rel: "apple-touch-icon",
href: "img/logos/minerva.png",
},
{
tagName: 'link',
rel: 'mask-icon',
href: 'img/logos/minerva.png',
color: 'rgb(80,27,134)',
tagName: "link",
rel: "mask-icon",
href: "img/logos/minerva.png",
color: "rgb(80,27,134)",
},
{
tagName: 'meta',
name: 'msapplication-TileColor',
content: '#000',
tagName: "meta",
name: "msapplication-TileColor",
content: "#000",
},
],
},
],
]
],
};

module.exports = config;
Loading

0 comments on commit 4158d54

Please sign in to comment.