Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/cleanupsidebar - #ZCG26 #89

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/mar
Use the power of React to create interactive blog posts.

```js
<button onClick={() => alert('button clicked!')}>Click me!</button>
<button onClick={() => alert("button clicked!")}>Click me!</button>
```

<button onClick={() => alert('button clicked!')}>Click me!</button>
<button onClick={() => alert("button clicked!")}>Click me!</button>

:::
Empty file removed docs/add_remove
Empty file.
2 changes: 1 addition & 1 deletion docs/add_remove.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Add/Remove Endpoints For All Plugins
# Add/Remove Endpoints For All Plugins

## Brief
Contains all the add/remove endpoints/instructions for all teams
Expand Down
2 changes: 1 addition & 1 deletion docs/create-workspace.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Create-Workspace Workflow
# Create Workspace Workflow
This workflow enables a user of the zurichat app to create a workspace on the app

**Name of Endpoint Consumed**
Expand Down
Empty file removed docs/eunice.md
Empty file.
2 changes: 1 addition & 1 deletion docs/zuri_main.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# zuri-main-documentation
# Zuri Main Documentation

## Create User Account
To use zuri chat you need to sign up or sign in if you already have an account.
Expand Down
207 changes: 99 additions & 108 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,114 +4,105 @@ const darkCodeTheme = require("prism-react-renderer/themes/palenight");
// With JSDoc @type annotations, IDEs can provide config autocompletion
/** @type {import('@docusaurus/types').DocusaurusConfig} */
(
module.exports = {
title: "Zuri Chat",
tagline: "Developer docs and guides",
url: "https://docs.zuri.chat",
baseUrl: "/",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",
favicon: "img/zurichatlogo.svg",
organizationName: "zurichat/", // Usually your GitHub org/user name.
projectName: "documention", // Usually your repo name.
module.exports = {
title: "Zuri Chat",
tagline: "Developer docs and guides",
url: "https://docs.zuri.chat",
baseUrl: "/",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "warn",
favicon: "img/zurichatlogo.svg",
organizationName: "zurichat/", // Usually your GitHub org/user name.
projectName: "documention", // Usually your repo name.

presets: [
[
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/zurichat/documention/",
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
"https://github.com/zurichat/documention/tree/main/blog/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
}),
],
],
presets: [
[
"@docusaurus/preset-classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/zurichat/documention/",
},
blog: false,
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: "Zuri Chat",
logo: {
alt: "Zuri Chat Logo",
src: "img/zurichatlogo.svg",
},
items: [
{
type: "doc",
docId: "intro",
position: "left",
label: "Docs",
},
{ to: "/blog", label: "Help", position: "left" },
{
href: "https://github.com/zurichat/documention",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Documentation",
to: "/docs/intro",
},
],
},
{
title: "Community",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/docusaurus",
},
{
label: "Discord",
href: "https://discordapp.com/invite/docusaurus",
},
{
label: "Twitter",
href: "https://twitter.com/hngi",
},
],
},
{
title: "More",
items: [
{
label: "Blog",
to: "/blog",
},
{
label: "GitHub",
href: "https://github.com/facebook/docusaurus",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Zuri Chat, Inc. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
}
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
navbar: {
title: "Zuri Chat",
logo: {
alt: "Zuri Chat Logo",
src: "img/zurichatlogo.svg",
},
items: [
{
type: "doc",
docId: "intro",
position: "left",
label: "Docs",
},

{
href: "https://github.com/zurichat/documention",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Documentation",
to: "/docs/intro",
},
],
},
{
title: "Community",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/docusaurus",
},
{
label: "Discord",
href: "https://discordapp.com/invite/docusaurus",
},
{
label: "Twitter",
href: "https://twitter.com/hngi",
},
],
},
{
title: "More",
items: [
{
label: "GitHub",
href: "https://github.com/facebook/docusaurus",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Zuri Chat, Inc. Built with Docusaurus.`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
}),
}
);