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: creation of addons section #102

Open
wants to merge 3 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
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions docs/addons/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Addons
---

```mdx-code-block
import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

<DocCardList items={useCurrentSidebarCategory().items}/>
```
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/development/custom-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: 🔧 Creating Custom Apps.

## How to start

- Make a new folder for your custom app in your [CustomApps folder](../advanced-usage/custom-apps). You'll install it like any other custom app.
- Make a new folder for your custom app in your [CustomApps folder](../addons/custom-apps). You'll install it like any other custom app.
- Create an `index.js` and a `manifest.json` inside that folder.
- The `index.js` file is the main file for the custom app.
- The manifest includes some important information to make the custom app work.
Expand Down
4 changes: 4 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ const config = {
label: 'Advanced Usage',
to: '/docs/advanced-usage',
},
{
label: 'Addons',
to: '/docs/addons',
},
{
label: 'Development',
to: '/docs/development',
Expand Down
19 changes: 15 additions & 4 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,21 @@ const sidebars = {
items: [
'advanced-usage/installation',
'advanced-usage/uninstallation',
'advanced-usage/command-line-interface',
'advanced-usage/themes',
'advanced-usage/extensions',
'advanced-usage/custom-apps',
'advanced-usage/command-line-interface'
],
},
{
type: 'category',
label: 'Addons',
link: {
type: 'generated-index',
description: "Here is a collection of official and popular addons, and what they do.",
slug: '/addons',
},
items: [
'addons/themes',
'addons/extensions',
'addons/custom-apps',
],
},
{
Expand Down