feat: init

This commit is contained in:
montaghanmy
2023-03-23 11:03:16 +01:00
commit 10fe6f78d1
11518 changed files with 509786 additions and 0 deletions
+176
View File
@@ -0,0 +1,176 @@
export default {
base: "/Twake/",
title: "Documentation",
description: "Public API documentation",
themeConfig: {
logo: "https://twake.app/images/logo-twake.svg",
sidebar: [
{
text: "Getting started",
items: [
{
text: "☀️ Welcome to Twake",
link: "index",
},
{
text: "⬇️ Desktop and mobile apps",
link: "download",
},
],
},
{
text: "On-premise",
items: [
{
text: "🏗 Run On-Premise",
link: "/onprem/installation",
},
{
text: "⚙️ Server configuration",
link: "/onprem/configuration/README.md",
},
],
},
{
text: "How to use Twake",
items: [
{
text: "👋 Welcome to Twake !",
link: "/how-to-use-it/welcome",
},
{
text: "🖥 Desktop and mobile app",
link: "/how-to-use-it/desktop-and-mobile-app",
},
{
text: "🔒 Privacy and security",
link: "/how-to-use-it/privacy-security",
},
{
text: "Console",
link: "/how-to-use-it/console/README.md",
items: [
{
text: "Users",
link: "/how-to-use-it/console/users",
},
],
},
{
text: "Company & workspace",
link: "/how-to-use-it/company-and-workspace/README.md",
items: [
{
text: "Invite user",
link: "/how-to-use-it/company-and-workspace/invite-user-from-chat",
},
{
text: "Rights",
link: "/how-to-use-it/company-and-workspace/rights",
},
],
},
{
text: "Chat",
link: "/how-to-use-it/applications/how-to-use-chat/README.md",
items: [
{
text: "Channels",
link: "/how-to-use-it/applications/how-to-use-chat/channels",
},
{
text: "Message",
link: "/how-to-use-it/applications/how-to-use-chat/message",
},
],
},
{
text: "Drive",
link: "/how-to-use-it/applications/drive/README.md",
items: [
{
text: "File and folder",
link: "/how-to-use-it/applications/drive/file-and-folder",
},
{
text: "Share file with public link",
link: "/how-to-use-it/applications/drive/share-file-with-public-link",
},
],
},
{
text: "Connectors",
link: "/how-to-use-it/applications/connectors/README.md",
items: [
{
text: "n8n",
link: "/how-to-use-it/applications/connectors/n8n",
},
],
},
],
},
{
text: "Internal documentation",
items: [
{
text: "Our stack",
link: "/internal-documentation/our-stack",
},
{
text: "Translation",
link: "/internal-documentation/translation",
},
{
text: "Backend services",
items: [
{
text: "Get started",
link: "/internal-documentation/backend-services/intro/README.md",
},
{
text: "Applications",
link: "/internal-documentation/backend-services/applications/README.md",
},
{
text: "Channels",
link: "/internal-documentation/backend-services/channels/README.md",
},
{
text: "Documents",
link: "/internal-documentation/backend-services/documents/README.md",
},
{
text: "Files",
link: "/internal-documentation/backend-services/files/README.md",
},
{
text: "Tags",
link: "/internal-documentation/backend-services/tags/README.md",
},
{
text: "Knowledge graph",
link: "/internal-documentation/backend-services/knowledge-graph/README.md",
},
{
text: "Notifications",
link: "/internal-documentation/backend-services/notifications/README.md",
},
],
},
{
text: "Frontend components",
items: [
{
text: "Get started",
link: "/internal-documentation/frontend-components/intro/README.md",
},
],
},
],
},
],
},
head: [],
};
@@ -0,0 +1,93 @@
#docsearch {
margin-right: 16px;
}
#docsearch .DocSearch-Button {
justify-content: flex-start;
border: 1px solid transparent;
border-radius: 8px;
padding: 0 10px 0 12px;
width: 100%;
height: 40px;
background-color: var(--vp-c-bg-alt);
}
#docsearch .DocSearch-Button:hover {
border-color: var(--vp-c-brand);
background: var(--vp-c-bg-alt);
}
#docsearch .DocSearch-Button-Placeholder {
transition: color 0.2s;
}
#docsearch .DocSearch-Button-Keys {
display: flex;
align-items: center;
min-width: auto;
pointer-events: auto;
}
#docsearch .DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key {
border-right: 1px solid var(--vp-c-divider);
border-left: none;
border-radius: 0 4px 4px 0;
padding-left: 2px;
padding-right: 6px;
}
#docsearch .DocSearch-Button .DocSearch-Button-Key {
display: block;
margin: 2px 0 0;
border: 1px solid var(--vp-c-divider);
border-right: none;
border-radius: 4px 0 0 4px;
padding-left: 6px;
min-width: 0;
width: auto;
height: 22px;
line-height: 22px;
font-family: var(--vp-font-family-base);
font-size: 12px;
font-weight: 500;
transition: color .5s,border-color .5s;
}
/* Modal */
.DocSearch-Modal, .modal {
border-radius: 6px;
flex-direction: column;
margin: 60px auto auto;
max-width: 600px;
position: relative;
}
.modal .flex-logo {
width: 56px;
margin-left: calc(100% - 74px);
}
.DocSearch-Input {
margin-left: 0px;
margin-right: 14px;
font-size: 16px;
padding: 12px;
}
.modal .search-item {
border-radius: 4px;
display: flex;
padding-bottom: 4px;
position: relative;
align-items: center;
display: flex;
flex-direction: row;
height: 56px;
padding: 0 16px 0 16px;
}
.modal .search-item-icon {
display: none;
}
@@ -0,0 +1,4 @@
import DefaultTheme from "vitepress/theme";
import "./custom.css";
export default DefaultTheme;