Skip to content
Draft
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
91 changes: 91 additions & 0 deletions config/docusaurus/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"label": "Settings",
"navbar": [
{
"label": "Docs",
"link": "doc",
"docLink": "docs/intro.mdx",
"position": "left"
},
{
"label": "Blog",
"link": "blog",
"position": "left"
},
{
"label": "MDX Page",
"link": "page",
"docLink": "src/pages/Test-MDX-Page.mdx",
"pageLink": "src/pages/Test-MDX-Page.mdx",
"position": "left"
},
{
"label": "Docusaurus GitHub",
"link": "external",
"externalLink": "https://github.com/facebook/docusaurus",
"position": "right"
},
{
"label": "Tina",
"link": "external",
"externalLink": "https://tina.io/",
"position": "right"
}
],
"logo": {
"alt": "Tina",
"src": "/img/tina-icon.svg"
},
"title": "Tinasaurus",
"footer": {
"style": "dark",
"links": [
{
"title": "Docs",
"items": [
{
"label": "Introduction",
"to": "docs/intro.mdx",
"_template": "internal"
}
]
},
{
"title": "Community",
"items": [
{
"label": "Stack Overflow",
"href": "https://stackoverflow.com/questions/tagged/docusaurus",
"_template": "external"
},
{
"label": "Discord",
"href": "https://discordapp.com/invite/docusaurus",
"_template": "external"
},
{
"label": "Twitter",
"href": "https://twitter.com/docusaurus",
"_template": "external"
}
]
},
{
"title": "More",
"items": [
{
"label": "Blog",
"_template": "blog"
},
{
"label": "GitHub",
"href": "https://github.com/facebook/docusaurus",
"_template": "external"
}
]
}
],
"copyright": "My Project, Inc. Built with Docusaurus."
},
"url": "https://tinasaurus.vercel.app/"
}
91 changes: 91 additions & 0 deletions config/homepage/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"navbar": [
{
"label": "Docs",
"link": "doc",
"docLink": "docs/intro.mdx",
"position": "left"
},
{
"label": "Blog",
"link": "blog",
"position": "left"
},
{
"label": "MDX Page",
"link": "page",
"docLink": "src/pages/Test-MDX-Page.mdx",
"pageLink": "src/pages/Test-MDX-Page.mdx",
"position": "left"
},
{
"label": "Docusaurus GitHub",
"link": "external",
"externalLink": "https://github.com/facebook/docusaurus",
"position": "right"
},
{
"label": "Tina",
"link": "external",
"externalLink": "https://tina.io/",
"position": "right"
}
],
"logo": {
"alt": "Tina",
"src": "/img/tina-icon.svg"
},
"footer": {
"style": "dark",
"links": [
{
"title": "Docs",
"items": [
{
"label": "Introduction",
"to": "docs/intro.mdx",
"_template": "internal"
}
]
},
{
"title": "Community",
"items": [
{
"label": "Stack Overflow",
"href": "https://stackoverflow.com/questions/tagged/docusaurus",
"_template": "external"
},
{
"label": "Discord",
"href": "https://discordapp.com/invite/docusaurus",
"_template": "external"
},
{
"label": "Twitter",
"href": "https://twitter.com/docusaurus",
"_template": "external"
}
]
},
{
"title": "More",
"items": [
{
"label": "Blog",
"_template": "blog"
},
{
"label": "GitHub",
"href": "https://github.com/facebook/docusaurus",
"_template": "external"
}
]
}
],
"copyright": "My Project, Inc. Built with Docusaurus."
},
"url": "https://tinasaurus.vercel.app/",
"label": "Settings",
"title": "Sleakops"
}
82 changes: 82 additions & 0 deletions config/sidebar/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"label": "Docs Sidebar",
"items": [
{
"document": "docs/intro.mdx",
"_template": "doc"
},
{
"title": "Tutorial - Basics",
"link": "generated",
"items": [
{
"document": "docs/tutorial-basics/create-a-page.mdx",
"_template": "doc"
},
{
"document": "docs/tutorial-basics/create-a-document.mdx",
"_template": "doc"
},
{
"document": "docs/tutorial-basics/create-a-blog-post.mdx",
"_template": "doc"
},
{
"document": "docs/tutorial-basics/deploy-your-site.mdx",
"_template": "doc"
},
{
"document": "docs/tutorial-basics/congratulations.mdx",
"_template": "doc"
}
],
"_template": "category"
},
{
"title": "Tutorial - Extras",
"link": "generated",
"items": [
{
"document": "docs/tutorial-extras/manage-docs-versions.mdx",
"_template": "doc"
},
{
"document": "docs/tutorial-extras/translate-your-site.mdx",
"_template": "doc"
}
],
"_template": "category"
},
{
"title": "Nested Link",
"link": "none",
"items": [
{
"title": "Level 2",
"link": "none",
"items": [
{
"title": "Level 3",
"link": "none",
"items": [
{
"document": "docs/test-page.mdx",
"label": "",
"_template": "doc"
}
],
"_template": "category"
}
],
"_template": "category"
}
],
"_template": "category"
},
{
"title": "Tina.io",
"href": "https://tina.io/",
"_template": "link"
}
]
}
22 changes: 22 additions & 0 deletions content/pages/home.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
header: Get Started by editing app/page/tsx
logo:
url: /next.svg
alt: NextJS
links:
- {}
- {}
- header: Docs
description: Find in-depth information about Next.js features and API.
url: 'https://nextjs.org/docs?utm_source=create-next-app'
- header: Learn
description: Learn about Next.js in an interactive course with quizzes!
url: 'https://nextjs.org/learn?utm_source=create-next-app'
- header: Templates
description: Explore the Next.js 13 playground.
url: 'https://vercel.com/templates?framework=next.js'
- header: Deploy
description: Instantly deploy your Next.js site to a shareable URL with Vercel.
url: 'https://vercel.com/new?utm_source=create-next-app'
---

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ services:
- SYS_PTRACE
environment:
- NPM_CONFIG_LOGLEVEL=warn
- NPM_CONFIG_COLOR=false
- NPM_CONFIG_COLOR=false
51 changes: 51 additions & 0 deletions docs/intro.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
title: Tutorial Intro
description: Discover Docusaurus
tags:
- Demo
- Getting started
---

# Tutorial Intro

Let's discover **Docusaurus in less than 5 minutes**.

## Getting Started

Get started by **creating a new site**.

Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.

### What you'll need

- [Node.js](https://nodejs.org/en/download/) version 16.14 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.

## Generate a new site

Generate a new Docusaurus site using the **classic template**.

The classic template will automatically be added to your project after you run the command:

```bash
npm init docusaurus@latest my-website classic
```

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

The command also installs all necessary dependencies you need to run Docusaurus.

## Start your site

Run the development server:

```bash
cd my-website
npm run start
```

The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.

Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
17 changes: 17 additions & 0 deletions docs/test-page.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: Test Page
description: >-
Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec
ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna,
vel scelerisque nisl consectetur et.
tags:
- Demo
---

# This is a test page

Aenean lacinia bibendum nulla sed consectetur. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

## Sub heading

Etiam porta sem malesuada magna mollis euismod. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Nulla vitae elit libero, a pharetra augue. Donec id elit non mi porta gravida at eget metus.
23 changes: 23 additions & 0 deletions docs/tutorial-basics/congratulations.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Congratulations
---

# Congratulations!

You have just learned the **basics of Docusaurus** and made some changes to the **initial template**.

Docusaurus has **much more to offer**!

Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.mdx)** and **[i18n](../tutorial-extras/translate-your-site.mdx)**.

Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)

## What's next?

- Read the [official documentation](https://docusaurus.io/)
- Modify your site configuration with [`docusaurus.config.js`](https://docusaurus.io/docs/api/docusaurus-config)
- Add navbar and footer items with [`themeConfig`](https://docusaurus.io/docs/api/themes/configuration)
- Add a custom [Design and Layout](https://docusaurus.io/docs/styling-layout)
- Add a [search bar](https://docusaurus.io/docs/search)
- Find inspirations in the [Docusaurus showcase](https://docusaurus.io/showcase)
- Get involved in the [Docusaurus Community](https://docusaurus.io/community/support)
Loading