This commit is contained in:
2024-03-22 06:57:57 +05:30
parent 0233bb9dfd
commit ebf9bf56f3
20 changed files with 135 additions and 33 deletions

View File

@@ -0,0 +1,12 @@
{
"title": "Introduction",
"description": "Let's get a short overview!",
"slug": "/category/introduction",
"permalink": "/category/introduction",
"navigation": {
"next": {
"title": "Introduction",
"permalink": "/"
}
}
}

View File

@@ -5,7 +5,7 @@
"permalink": "/category/tutorial---basics",
"navigation": {
"previous": {
"title": "Tutorial Intro",
"title": "Introduction",
"permalink": "/"
},
"next": {

View File

@@ -18,7 +18,7 @@
},
"sidebar": "tutorialSidebar",
"next": {
"title": "Tutorial - Basics",
"permalink": "/category/tutorial---basics"
"title": "Introduction",
"permalink": "/category/introduction"
}
}

View File

@@ -0,0 +1,28 @@
{
"id": "introduction/introduction",
"title": "Introduction",
"description": "Let's discover Docusaurus in less than 5 minutes.",
"source": "@site/docs/introduction/introduction.md",
"sourceDirName": "introduction",
"slug": "/",
"permalink": "/",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/introduction/introduction.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1,
"slug": "/"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Introduction",
"permalink": "/category/introduction"
},
"next": {
"title": "Tutorial - Basics",
"permalink": "/category/tutorial---basics"
}
}

View File

@@ -9,12 +9,21 @@
"isLast": true,
"docsSidebars": {
"tutorialSidebar": [
{
"type": "category",
"label": "Introduction",
"collapsible": true,
"collapsed": true,
"items": [
{
"type": "link",
"label": "Tutorial Intro",
"label": "Introduction",
"href": "/",
"docId": "intro",
"docId": "introduction/introduction",
"unlisted": false
}
],
"href": "/category/introduction"
},
{
"type": "category",
@@ -93,9 +102,9 @@
]
},
"docs": {
"intro": {
"id": "intro",
"title": "Tutorial Intro",
"introduction/introduction": {
"id": "introduction/introduction",
"title": "Introduction",
"description": "Let's discover Docusaurus in less than 5 minutes.",
"sidebar": "tutorialSidebar"
},

View File

@@ -20,16 +20,16 @@
"contentPathLocalized": "/home/whoami/Documents/GitHub/documentation/i18n/en/docusaurus-plugin-content-docs/current",
"docs": [
{
"id": "intro",
"title": "Tutorial Intro",
"id": "introduction/introduction",
"title": "Introduction",
"description": "Let's discover Docusaurus in less than 5 minutes.",
"source": "@site/docs/intro.md",
"sourceDirName": ".",
"source": "@site/docs/introduction/introduction.md",
"sourceDirName": "introduction",
"slug": "/",
"permalink": "/",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md",
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/introduction/introduction.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
@@ -38,6 +38,10 @@
"slug": "/"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Introduction",
"permalink": "/category/introduction"
},
"next": {
"title": "Tutorial - Basics",
"permalink": "/category/tutorial---basics"
@@ -259,9 +263,23 @@
"drafts": [],
"sidebars": {
"tutorialSidebar": [
{
"type": "category",
"label": "Introduction",
"collapsible": true,
"collapsed": true,
"items": [
{
"type": "doc",
"id": "intro"
"id": "introduction/introduction"
}
],
"link": {
"type": "generated-index",
"description": "Let's get a short overview!",
"slug": "/category/introduction",
"permalink": "/category/introduction"
}
},
{
"type": "category",

View File

@@ -8,10 +8,10 @@
"label": "Next",
"isLast": true,
"path": "/",
"mainDocId": "intro",
"mainDocId": "introduction/introduction",
"docs": [
{
"id": "intro",
"id": "introduction/introduction",
"path": "/",
"sidebar": "tutorialSidebar"
},
@@ -55,6 +55,11 @@
"path": "/tutorial-extras/translate-your-site",
"sidebar": "tutorialSidebar"
},
{
"id": "/category/introduction",
"path": "/category/introduction",
"sidebar": "tutorialSidebar"
},
{
"id": "/category/tutorial---basics",
"path": "/category/tutorial---basics",
@@ -70,8 +75,8 @@
"sidebars": {
"tutorialSidebar": {
"link": {
"path": "/",
"label": "intro"
"path": "/category/introduction",
"label": "Introduction"
}
}
}

View File

@@ -18,9 +18,9 @@ export default {
"__comp---theme-mdx-page-1-f-3-b90": [() => import(/* webpackChunkName: "__comp---theme-mdx-page-1-f-3-b90" */ "@theme/MDXPage"), "@theme/MDXPage", require.resolveWeak("@theme/MDXPage")],
"allContent---docusaurus-debug-content-246-9aa": [() => import(/* webpackChunkName: "allContent---docusaurus-debug-content-246-9aa" */ "~debug/default/docusaurus-debug-all-content-673.json"), "~debug/default/docusaurus-debug-all-content-673.json", require.resolveWeak("~debug/default/docusaurus-debug-all-content-673.json")],
"archive---blog-archiveb-2-f-393": [() => import(/* webpackChunkName: "archive---blog-archiveb-2-f-393" */ "~blog/default/blog-archive-80c.json"), "~blog/default/blog-archive-80c.json", require.resolveWeak("~blog/default/blog-archive-80c.json")],
"categoryGeneratedIndex---category-introductiond-7-d-b4f": [() => import(/* webpackChunkName: "categoryGeneratedIndex---category-introductiond-7-d-b4f" */ "~docs/default/category-tutorialsidebar-category-introduction-237.json"), "~docs/default/category-tutorialsidebar-category-introduction-237.json", require.resolveWeak("~docs/default/category-tutorialsidebar-category-introduction-237.json")],
"categoryGeneratedIndex---category-tutorial-basicsb-38-d69": [() => import(/* webpackChunkName: "categoryGeneratedIndex---category-tutorial-basicsb-38-d69" */ "~docs/default/category-tutorialsidebar-category-tutorial-basics-acd.json"), "~docs/default/category-tutorialsidebar-category-tutorial-basics-acd.json", require.resolveWeak("~docs/default/category-tutorialsidebar-category-tutorial-basics-acd.json")],
"categoryGeneratedIndex---category-tutorial-extrasfef-d24": [() => import(/* webpackChunkName: "categoryGeneratedIndex---category-tutorial-extrasfef-d24" */ "~docs/default/category-tutorialsidebar-category-tutorial-extras-664.json"), "~docs/default/category-tutorialsidebar-category-tutorial-extras-664.json", require.resolveWeak("~docs/default/category-tutorialsidebar-category-tutorial-extras-664.json")],
"content---0-e-3-279": [() => import(/* webpackChunkName: "content---0-e-3-279" */ "@site/docs/intro.md"), "@site/docs/intro.md", require.resolveWeak("@site/docs/intro.md")],
"content---blog-766-e3c": [() => import(/* webpackChunkName: "content---blog-766-e3c" */ "@site/blog/2021-08-26-welcome/index.md?truncated=true"), "@site/blog/2021-08-26-welcome/index.md?truncated=true", require.resolveWeak("@site/blog/2021-08-26-welcome/index.md?truncated=true")],
"content---blog-871-381": [() => import(/* webpackChunkName: "content---blog-871-381" */ "@site/blog/2019-05-29-long-blog-post.md?truncated=true"), "@site/blog/2019-05-29-long-blog-post.md?truncated=true", require.resolveWeak("@site/blog/2019-05-29-long-blog-post.md?truncated=true")],
"content---blog-925-e00": [() => import(/* webpackChunkName: "content---blog-925-e00" */ "@site/blog/2019-05-28-first-blog-post.md?truncated=true"), "@site/blog/2019-05-28-first-blog-post.md?truncated=true", require.resolveWeak("@site/blog/2019-05-28-first-blog-post.md?truncated=true")],
@@ -29,6 +29,7 @@ export default {
"content---blog-mdx-blog-post-593-37b": [() => import(/* webpackChunkName: "content---blog-mdx-blog-post-593-37b" */ "@site/blog/2021-08-01-mdx-blog-post.mdx"), "@site/blog/2021-08-01-mdx-blog-post.mdx", require.resolveWeak("@site/blog/2021-08-01-mdx-blog-post.mdx")],
"content---blog-welcomed-9-f-ffb": [() => import(/* webpackChunkName: "content---blog-welcomed-9-f-ffb" */ "@site/blog/2021-08-26-welcome/index.md"), "@site/blog/2021-08-26-welcome/index.md", require.resolveWeak("@site/blog/2021-08-26-welcome/index.md")],
"content---blogf-4-f-cd7": [() => import(/* webpackChunkName: "content---blogf-4-f-cd7" */ "@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true"), "@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true", require.resolveWeak("@site/blog/2021-08-01-mdx-blog-post.mdx?truncated=true")],
"content---c-62-ead": [() => import(/* webpackChunkName: "content---c-62-ead" */ "@site/docs/introduction/introduction.md"), "@site/docs/introduction/introduction.md", require.resolveWeak("@site/docs/introduction/introduction.md")],
"content---markdown-page-393-028": [() => import(/* webpackChunkName: "content---markdown-page-393-028" */ "@site/src/pages/markdown-page.md"), "@site/src/pages/markdown-page.md", require.resolveWeak("@site/src/pages/markdown-page.md")],
"content---tutorial-basics-congratulations-822-79f": [() => import(/* webpackChunkName: "content---tutorial-basics-congratulations-822-79f" */ "@site/docs/tutorial-basics/congratulations.md"), "@site/docs/tutorial-basics/congratulations.md", require.resolveWeak("@site/docs/tutorial-basics/congratulations.md")],
"content---tutorial-basics-create-a-blog-post-533-8b3": [() => import(/* webpackChunkName: "content---tutorial-basics-create-a-blog-post-533-8b3" */ "@site/docs/tutorial-basics/create-a-blog-post.md"), "@site/docs/tutorial-basics/create-a-blog-post.md", require.resolveWeak("@site/docs/tutorial-basics/create-a-blog-post.md")],

View File

@@ -99,16 +99,22 @@ export default [
},
{
path: '/',
component: ComponentCreator('/', '6cb'),
component: ComponentCreator('/', '2dc'),
routes: [
{
path: '/',
component: ComponentCreator('/', '58f'),
component: ComponentCreator('/', '21a'),
routes: [
{
path: '/',
component: ComponentCreator('/', '0b6'),
component: ComponentCreator('/', '349'),
routes: [
{
path: '/category/introduction',
component: ComponentCreator('/category/introduction', '69c'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/category/tutorial---basics',
component: ComponentCreator('/category/tutorial---basics', '72e'),
@@ -171,7 +177,7 @@ export default [
},
{
path: '/',
component: ComponentCreator('/', '96c'),
component: ComponentCreator('/', 'e43'),
exact: true,
sidebar: "tutorialSidebar"
}

View File

@@ -186,19 +186,23 @@
},
"content": "content---markdown-page-393-028"
},
"/-6cb": {
"/-2dc": {
"__comp": "__comp---theme-docs-root-5-e-9-0b6",
"__context": {
"plugin": "plugin---99-b-f14"
}
},
"/-58f": {
"/-21a": {
"__comp": "__comp---theme-doc-version-roota-7-b-5de",
"version": "version---935-fcf"
},
"/-0b6": {
"/-349": {
"__comp": "__comp---theme-doc-roota-94-67a"
},
"/category/introduction-69c": {
"__comp": "__comp---theme-doc-category-generated-index-page-14-e-640",
"categoryGeneratedIndex": "categoryGeneratedIndex---category-introductiond-7-d-b4f"
},
"/category/tutorial---basics-72e": {
"__comp": "__comp---theme-doc-category-generated-index-page-14-e-640",
"categoryGeneratedIndex": "categoryGeneratedIndex---category-tutorial-basicsb-38-d69"
@@ -239,8 +243,8 @@
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---tutorial-extras-translate-your-sitee-44-f13"
},
"/-96c": {
"/-e43": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---0-e-3-279"
"content": "content---c-62-ead"
}
}

View File

@@ -0,0 +1,9 @@
{
"label": "Introduction",
"position": 1,
"link": {
"type": "generated-index",
"description": "Let's get a short overview!"
}
}

View File

@@ -3,7 +3,7 @@ sidebar_position: 1
slug: /
---
# Tutorial Intro
# Introduction
Let's discover **Docusaurus in less than 5 minutes**.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

10
src/theme/SearchBar.js Normal file
View File

@@ -0,0 +1,10 @@
import React from 'react';
import SearchBar from '@theme-original/SearchBar';
export default function SearchBarWrapper(props) {
return (
<>
<SearchBar {...props} />
</>
);
}