-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
224 additions
and
198 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
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,5 +1,6 @@ | ||
--- | ||
sidebar_position: 3 | ||
sidebar_label: Essenty | ||
--- | ||
|
||
# Essenty Integration | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,43 +1,74 @@ | ||
import { themes as prismThemes } from 'prism-react-renderer'; | ||
import type { Config } from '@docusaurus/types'; | ||
import type * as Preset from '@docusaurus/preset-classic'; | ||
import { themes as prismThemes } from "prism-react-renderer"; | ||
import type { Config } from "@docusaurus/types"; | ||
import type * as Preset from "@docusaurus/preset-classic"; | ||
|
||
const description = "Architecture Framework for Kotlin. Reuse every line of code. Handle all errors automatically. No boilerplate. Analytics, metrics, debugging in 3 lines. 50+ features." | ||
const description = | ||
"Architecture Framework for Kotlin. Reuse every line of code. Handle all errors automatically. No boilerplate. Analytics, metrics, debugging in 3 lines. 50+ features."; | ||
|
||
const config: Config = { | ||
title: 'FlowMVI', | ||
tagline: 'Simplify Complexity.', | ||
favicon: '/favicon.ico', | ||
url: 'https://opensource.respawn.pro', | ||
baseUrl: '/FlowMVI/', | ||
organizationName: 'respawn-app', | ||
projectName: 'FlowMVI', | ||
onBrokenLinks: 'throw', | ||
onBrokenMarkdownLinks: 'throw', | ||
onDuplicateRoutes: 'throw', | ||
title: "FlowMVI", | ||
tagline: "Simplify Complexity.", | ||
favicon: "/favicon.ico", | ||
url: "https://opensource.respawn.pro", | ||
baseUrl: "/FlowMVI/", | ||
organizationName: "respawn-app", | ||
projectName: "FlowMVI", | ||
onBrokenLinks: "throw", | ||
onBrokenMarkdownLinks: "throw", | ||
onDuplicateRoutes: "throw", | ||
trailingSlash: false, | ||
markdown: { | ||
mermaid: true, | ||
}, | ||
i18n: { | ||
defaultLocale: 'en', | ||
locales: ['en'], | ||
defaultLocale: "en", | ||
locales: ["en"], | ||
}, | ||
stylesheets: [ | ||
"https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Montserrat+Alternates:wght@500;600;700&display=swap", | ||
], | ||
headTags: [ | ||
{ | ||
tagName: "link", | ||
attributes: { | ||
rel: "preconnect", | ||
href: "https://fonts.googleapis.com", | ||
}, | ||
}, | ||
{ | ||
tagName: "link", | ||
attributes: { | ||
rel: "preconnect", | ||
href: "https://fonts.gstatic.com", | ||
crossorigin: "anonymous", | ||
}, | ||
}, | ||
{ | ||
tagName: "link", | ||
attributes: { | ||
rel: "preload", | ||
href: "https://cdn.jsdelivr.net/gh/githubnext/[email protected]/fonts/webfonts/MonaspaceNeon-Regular.woff", | ||
as: "font", | ||
type: "font/woff", | ||
crossorigin: "anonymous", | ||
}, | ||
}, | ||
], | ||
presets: [ | ||
[ | ||
'classic', | ||
"classic", | ||
{ | ||
docs: { | ||
breadcrumbs: false, | ||
sidebarCollapsed: false, | ||
sidebarPath: './sidebars.ts', | ||
routeBasePath: '/', | ||
editUrl: 'https://github.com/respawn-app/flowmvi/tree/main/docs', | ||
sidebarPath: "./sidebars.ts", | ||
routeBasePath: "/", | ||
editUrl: "https://github.com/respawn-app/FlowMVI/blob/master/docs/", | ||
}, | ||
blog: false, | ||
pages: false, | ||
theme: { | ||
customCss: './src/css/custom.css', | ||
customCss: "./src/css/custom.css", | ||
}, | ||
gtag: { | ||
trackingID: "G-NRB9ZFKNGN", | ||
|
@@ -47,7 +78,7 @@ const config: Config = { | |
], | ||
themeConfig: { | ||
colorMode: { | ||
defaultMode: 'dark', | ||
defaultMode: "dark", | ||
respectPrefersColorScheme: true, | ||
}, | ||
metadata: [ | ||
|
@@ -60,7 +91,7 @@ const config: Config = { | |
{ name: "og:description", content: description }, | ||
{ name: "description", content: description }, | ||
], | ||
image: '/banner.png', | ||
image: "/banner.png", | ||
algolia: { | ||
contextualSearch: false, | ||
appId: "YFIMJHUME7", | ||
|
@@ -75,29 +106,29 @@ const config: Config = { | |
}, | ||
}, | ||
navbar: { | ||
title: 'FlowMVI', | ||
title: "FlowMVI", | ||
hideOnScroll: true, | ||
style: "dark", | ||
logo: { | ||
alt: 'Logo', | ||
src: '/icon.svg', | ||
alt: "Logo", | ||
src: "/icon.svg", | ||
}, | ||
items: [ | ||
{ | ||
href: "/", | ||
label: `© ${new Date().getFullYear()} Respawn OSS`, | ||
position: 'right', | ||
position: "right", | ||
}, | ||
{ | ||
href: 'https://opensource.respawn.pro/FlowMVI/javadocs/index.html', | ||
label: 'API Docs', | ||
position: 'right', | ||
href: "https://opensource.respawn.pro/FlowMVI/javadocs/index.html", | ||
label: "API Docs", | ||
position: "right", | ||
}, | ||
{ | ||
href: 'https://github.com/respawn-app/FlowMVI', | ||
href: "https://github.com/respawn-app/FlowMVI", | ||
label: undefined, | ||
className: 'header-github-link', | ||
position: 'right', | ||
className: "header-github-link", | ||
position: "right", | ||
}, | ||
], | ||
}, | ||
|
@@ -106,107 +137,60 @@ const config: Config = { | |
theme: prismThemes.oneLight, | ||
darkTheme: prismThemes.oneDark, | ||
additionalLanguages: [ | ||
'java', | ||
'kotlin', | ||
'bash', | ||
'diff', | ||
'json', | ||
'toml', | ||
'yaml', | ||
'gradle', | ||
'groovy', | ||
"java", | ||
"kotlin", | ||
"bash", | ||
"diff", | ||
"json", | ||
"toml", | ||
"yaml", | ||
"gradle", | ||
"groovy", | ||
`properties`, | ||
], | ||
magicComments: [ | ||
{ | ||
className: 'theme-code-block-highlighted-line', | ||
line: 'highlight-next-line', | ||
block: { start: 'highlight-start', end: 'highlight-end' }, | ||
className: "theme-code-block-highlighted-line", | ||
line: "highlight-next-line", | ||
block: { start: "highlight-start", end: "highlight-end" }, | ||
}, | ||
{ | ||
className: 'code-block-error-line', | ||
line: 'This will error', | ||
className: "code-block-error-line", | ||
line: "This will error", | ||
}, | ||
], | ||
}, | ||
headTags: [ | ||
{ | ||
tagName: 'link', | ||
attributes: { | ||
rel: 'preconnect', | ||
href: 'https://fonts.googleapis.com', | ||
}, | ||
}, | ||
{ | ||
tagName: 'link', | ||
attributes: { | ||
rel: 'preconnect', | ||
href: 'https://fonts.gstatic.com', | ||
crossorigin: 'anonymous', | ||
}, | ||
}, | ||
{ | ||
tagName: 'link', | ||
attributes: { | ||
rel: 'preload', | ||
href: 'https://cdn.jsdelivr.net/gh/githubnext/[email protected]/fonts/webfonts/MonaspaceNeon-Regular.woff2', | ||
as: 'font', | ||
type: 'font/woff2', | ||
crossorigin: 'anonymous', | ||
}, | ||
}, | ||
{ | ||
tagName: 'link', | ||
attributes: { | ||
rel: 'preload', | ||
href: 'https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@500;600;700&display=swap', | ||
as: 'style', | ||
}, | ||
}, | ||
{ | ||
tagName: 'link', | ||
attributes: { | ||
rel: 'stylesheet', | ||
href: 'https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&display=swap', | ||
}, | ||
} | ||
], | ||
} satisfies Preset.ThemeConfig, | ||
plugins: [ | ||
[ | ||
'@docusaurus/plugin-pwa', | ||
"@docusaurus/plugin-pwa", | ||
{ | ||
offlineModeActivationStrategies: [ | ||
'appInstalled', | ||
'standalone', | ||
'queryString', | ||
'saveData', | ||
], | ||
offlineModeActivationStrategies: ["appInstalled", "standalone", "queryString", "saveData"], | ||
pwaHead: [ | ||
{ | ||
tagName: 'link', | ||
rel: 'icon', | ||
href: 'icon.svg', | ||
tagName: "link", | ||
rel: "icon", | ||
href: "icon.svg", | ||
}, | ||
{ | ||
tagName: 'link', | ||
rel: 'manifest', | ||
href: 'manifest.json', | ||
tagName: "link", | ||
rel: "manifest", | ||
href: "manifest.json", | ||
}, | ||
{ | ||
tagName: 'meta', | ||
name: 'theme-color', | ||
content: '#00d46a', | ||
tagName: "meta", | ||
name: "theme-color", | ||
content: "#00d46a", | ||
}, | ||
{ | ||
tagName: 'link', | ||
rel: 'apple-touch-icon', | ||
href: 'apple-touch-icon.png', | ||
tagName: "link", | ||
rel: "apple-touch-icon", | ||
href: "apple-touch-icon.png", | ||
}, | ||
{ | ||
tagName: 'meta', | ||
name: 'apple-mobile-web-app-capable', | ||
content: 'yes', | ||
tagName: "meta", | ||
name: "apple-mobile-web-app-capable", | ||
content: "yes", | ||
}, | ||
], | ||
}, | ||
|
Oops, something went wrong.