replace mkdocs with docusaurus
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2024-01-23 23:46:17 +01:00
parent e22dd7e567
commit 8e23bd78df
Signed by: deblan
GPG key ID: 579388D585F70417
68 changed files with 18680 additions and 1083 deletions

View file

@ -0,0 +1,5 @@
This folder stores temp files that Docusaurus' client bundler accesses.
DO NOT hand-modify files in this folder because they will be overwritten in the
next build. You can clear all build artifacts (including this folder) with the
`docusaurus clear` command.

View file

@ -0,0 +1,369 @@
{
"entrypoints": [
"main"
],
"origins": {
"572": [
532,
572
],
"611": [
684,
611
],
"684": [
611,
684
],
"692": [
85,
532,
918,
692
],
"772": [
772
],
"17896441": [
532,
692,
918
],
"main": [
303,
532,
179
],
"runtime~main": [
179,
532,
303
],
"05cb0ad5": [
362
],
"0e384e19": [
671
],
"128808b4": [
88
],
"1f391b9e": [
532,
692,
85
],
"3847b3ea": [
581
],
"393be207": [
414
],
"485c0c9e": [
673
],
"5d8ba668": [
968
],
"5e5e257a": [
638
],
"5e95c892": [
661
],
"935f2afb": [
53
],
"9781f37d": [
747
],
"9beb87c2": [
80
],
"a7bd4aaa": [
518
],
"a94703ab": [
532,
368
],
"c4f5d8e4": [
532,
195
],
"d41ee077": [
686
],
"d9e16301": [
217
],
"f0ba2e1c": [
370
],
"styles": [
85,
179,
195,
303,
368,
572,
692,
918,
532
]
},
"assets": {
"53": {
"js": [
{
"file": "assets/js/935f2afb.26584a9b.js",
"hash": "b0fe4360e79de57f",
"publicPath": "/side_menu_doc/assets/js/935f2afb.26584a9b.js"
}
]
},
"80": {
"js": [
{
"file": "assets/js/9beb87c2.af84f215.js",
"hash": "cda223e9cad84859",
"publicPath": "/side_menu_doc/assets/js/9beb87c2.af84f215.js"
}
]
},
"85": {
"js": [
{
"file": "assets/js/1f391b9e.de7afd2e.js",
"hash": "f5d2425c107339c0",
"publicPath": "/side_menu_doc/assets/js/1f391b9e.de7afd2e.js"
}
]
},
"88": {
"js": [
{
"file": "assets/js/128808b4.efb1d547.js",
"hash": "5cb86fc2e6bf9e55",
"publicPath": "/side_menu_doc/assets/js/128808b4.efb1d547.js"
}
]
},
"179": {
"js": [
{
"file": "assets/js/main.8e5a47a2.js",
"hash": "aa97bd01e8609d9b",
"publicPath": "/side_menu_doc/assets/js/main.8e5a47a2.js"
}
]
},
"195": {
"js": [
{
"file": "assets/js/c4f5d8e4.b4536933.js",
"hash": "72cd490319259af3",
"publicPath": "/side_menu_doc/assets/js/c4f5d8e4.b4536933.js"
}
]
},
"217": {
"js": [
{
"file": "assets/js/d9e16301.36d2b998.js",
"hash": "076d0c6238f1769e",
"publicPath": "/side_menu_doc/assets/js/d9e16301.36d2b998.js"
}
]
},
"303": {
"js": [
{
"file": "assets/js/runtime~main.d631aedf.js",
"hash": "2d29db74fdeeb37b",
"publicPath": "/side_menu_doc/assets/js/runtime~main.d631aedf.js"
}
]
},
"362": {
"js": [
{
"file": "assets/js/05cb0ad5.f3638d5b.js",
"hash": "aab1c35d79d507cd",
"publicPath": "/side_menu_doc/assets/js/05cb0ad5.f3638d5b.js"
}
]
},
"368": {
"js": [
{
"file": "assets/js/a94703ab.26b08df6.js",
"hash": "447afc7166a3aa55",
"publicPath": "/side_menu_doc/assets/js/a94703ab.26b08df6.js"
}
]
},
"370": {
"js": [
{
"file": "assets/js/f0ba2e1c.ceec2773.js",
"hash": "f8ce90350facfdd2",
"publicPath": "/side_menu_doc/assets/js/f0ba2e1c.ceec2773.js"
}
]
},
"414": {
"js": [
{
"file": "assets/js/393be207.6f459861.js",
"hash": "c49bfd8c727c64cb",
"publicPath": "/side_menu_doc/assets/js/393be207.6f459861.js"
}
]
},
"518": {
"js": [
{
"file": "assets/js/a7bd4aaa.901c43f4.js",
"hash": "221e72cee91f5f79",
"publicPath": "/side_menu_doc/assets/js/a7bd4aaa.901c43f4.js"
}
]
},
"532": {
"css": [
{
"file": "assets/css/styles.7a6c5961.css",
"hash": "f566ba3f1e19b188",
"publicPath": "/side_menu_doc/assets/css/styles.7a6c5961.css"
}
]
},
"572": {
"js": [
{
"file": "assets/js/572.f487f1f5.js",
"hash": "706fb81bbe0a78a8",
"publicPath": "/side_menu_doc/assets/js/572.f487f1f5.js"
}
]
},
"581": {
"js": [
{
"file": "assets/js/3847b3ea.26fe7f06.js",
"hash": "afeefcfeb0e9c2e1",
"publicPath": "/side_menu_doc/assets/js/3847b3ea.26fe7f06.js"
}
]
},
"611": {
"js": [
{
"file": "assets/js/611.a56d145c.js",
"hash": "632034e0a2b22b04",
"publicPath": "/side_menu_doc/assets/js/611.a56d145c.js"
}
]
},
"638": {
"js": [
{
"file": "assets/js/5e5e257a.62d24834.js",
"hash": "f73f98d02d03a9b0",
"publicPath": "/side_menu_doc/assets/js/5e5e257a.62d24834.js"
}
]
},
"661": {
"js": [
{
"file": "assets/js/5e95c892.beec6667.js",
"hash": "6140282b93ebbab5",
"publicPath": "/side_menu_doc/assets/js/5e95c892.beec6667.js"
}
]
},
"671": {
"js": [
{
"file": "assets/js/0e384e19.81026ed2.js",
"hash": "0b5bb75baf126653",
"publicPath": "/side_menu_doc/assets/js/0e384e19.81026ed2.js"
}
]
},
"673": {
"js": [
{
"file": "assets/js/485c0c9e.0fe03050.js",
"hash": "a48805f79f8d3f17",
"publicPath": "/side_menu_doc/assets/js/485c0c9e.0fe03050.js"
}
]
},
"684": {
"js": [
{
"file": "assets/js/684.877b3365.js",
"hash": "e2eb3a741460137a",
"publicPath": "/side_menu_doc/assets/js/684.877b3365.js"
}
]
},
"686": {
"js": [
{
"file": "assets/js/d41ee077.c05c286e.js",
"hash": "2b543632f2e9bb62",
"publicPath": "/side_menu_doc/assets/js/d41ee077.c05c286e.js"
}
]
},
"692": {
"js": [
{
"file": "assets/js/692.c2d9aa68.js",
"hash": "28ce6ea41f7fe958",
"publicPath": "/side_menu_doc/assets/js/692.c2d9aa68.js"
}
]
},
"747": {
"js": [
{
"file": "assets/js/9781f37d.2a2d2386.js",
"hash": "eac92219084c6d30",
"publicPath": "/side_menu_doc/assets/js/9781f37d.2a2d2386.js"
}
]
},
"772": {
"js": [
{
"file": "assets/js/772.98c649d3.js",
"hash": "3f7d3f5c523681ae",
"publicPath": "/side_menu_doc/assets/js/772.98c649d3.js"
}
]
},
"918": {
"js": [
{
"file": "assets/js/17896441.9d543ffc.js",
"hash": "4e0d8c4b0990aa27",
"publicPath": "/side_menu_doc/assets/js/17896441.9d543ffc.js"
}
]
},
"968": {
"js": [
{
"file": "assets/js/5d8ba668.64efafe1.js",
"hash": "18d1eb666ed0805d",
"publicPath": "/side_menu_doc/assets/js/5d8ba668.64efafe1.js"
}
]
}
}
}

View file

@ -0,0 +1,6 @@
export default [
require("/home/simon/public_html/www/repo/side_menu_doc/node_modules/infima/dist/css/default/default.css"),
require("/home/simon/public_html/www/repo/side_menu_doc/node_modules/@docusaurus/theme-classic/lib/prism-include-languages"),
require("/home/simon/public_html/www/repo/side_menu_doc/node_modules/@docusaurus/theme-classic/lib/nprogress"),
require("/home/simon/public_html/www/repo/side_menu_doc/src/css/custom.css"),
];

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1,4 @@
{
"name": "docusaurus-lunr-search",
"id": "default"
}

View file

@ -0,0 +1,4 @@
{
"title": "Recent posts",
"items": []
}

View file

@ -0,0 +1,4 @@
{
"name": "docusaurus-plugin-content-blog",
"id": "default"
}

View file

@ -0,0 +1,4 @@
{
"name": "docusaurus-plugin-content-docs",
"id": "default"
}

View file

@ -0,0 +1,23 @@
{
"id": "changelog",
"title": "Changelog",
"description": "3.11.3",
"source": "@site/docs/changelog.md",
"sourceDirName": ".",
"slug": "/changelog",
"permalink": "/side_menu_doc/docs/changelog",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/changelog.md",
"tags": [],
"version": "current",
"sidebarPosition": 7,
"frontMatter": {
"sidebar_position": 7
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to contribute?",
"permalink": "/side_menu_doc/docs/contrib"
}
}

View file

@ -0,0 +1,29 @@
{
"id": "contrib",
"title": "How to contribute?",
"description": "You can report a bug or request a feature by opening an issue//gitnet.fr/deblan/side_menu/issues",
"source": "@site/docs/contrib.md",
"sourceDirName": ".",
"slug": "/contrib",
"permalink": "/side_menu_doc/docs/contrib",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/contrib.md",
"tags": [],
"version": "current",
"frontMatter": {
"hide": [
"navigation",
"toc"
]
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Support",
"permalink": "/side_menu_doc/docs/support"
},
"next": {
"title": "Changelog",
"permalink": "/side_menu_doc/docs/changelog"
}
}

View file

@ -0,0 +1,27 @@
{
"id": "FAQ/apporder",
"title": "How to replace Apporder?",
"description": "Custom Menu could replace Apporder.",
"source": "@site/docs/FAQ/apporder.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/apporder",
"permalink": "/side_menu_doc/docs/FAQ/apporder",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/apporder.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Installation and upgrade",
"permalink": "/side_menu_doc/docs/setup"
},
"next": {
"title": "Use first top menu app as default app",
"permalink": "/side_menu_doc/docs/FAQ/default-app"
}
}

View file

@ -0,0 +1,27 @@
{
"id": "FAQ/default-app",
"title": "Use first top menu app as default app",
"description": "You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:",
"source": "@site/docs/FAQ/default-app.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/default-app",
"permalink": "/side_menu_doc/docs/FAQ/default-app",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/default-app.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to replace Apporder?",
"permalink": "/side_menu_doc/docs/FAQ/apporder"
},
"next": {
"title": "How to export the configuration?",
"permalink": "/side_menu_doc/docs/FAQ/export-config"
}
}

View file

@ -0,0 +1,27 @@
{
"id": "FAQ/export-config",
"title": "How to export the configuration?",
"description": "1. Go global settings",
"source": "@site/docs/FAQ/export-config.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/export-config",
"permalink": "/side_menu_doc/docs/FAQ/export-config",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/export-config.md",
"tags": [],
"version": "current",
"sidebarPosition": 3,
"frontMatter": {
"sidebar_position": 3
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Use first top menu app as default app",
"permalink": "/side_menu_doc/docs/FAQ/default-app"
},
"next": {
"title": "Custom Menu doesn't work for guest users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users"
}
}

View file

@ -0,0 +1,27 @@
{
"id": "FAQ/guest-users",
"title": "Custom Menu doesn't work for guest users",
"description": "Custom menu must be added in app's allowlist.",
"source": "@site/docs/FAQ/guest-users.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/guest-users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/guest-users.md",
"tags": [],
"version": "current",
"sidebarPosition": 4,
"frontMatter": {
"sidebar_position": 4
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to export the configuration?",
"permalink": "/side_menu_doc/docs/FAQ/export-config"
},
"next": {
"title": "Support",
"permalink": "/side_menu_doc/docs/support"
}
}

View file

@ -0,0 +1,24 @@
{
"id": "intro",
"title": "Overview",
"description": "Build Status",
"source": "@site/docs/intro.md",
"sourceDirName": ".",
"slug": "/intro",
"permalink": "/side_menu_doc/docs/intro",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1,
"title": "Overview"
},
"sidebar": "tutorialSidebar",
"next": {
"title": "Screenshots",
"permalink": "/side_menu_doc/docs/screenshots"
}
}

View file

@ -0,0 +1,28 @@
{
"id": "screenshots",
"title": "Screenshots",
"description": "",
"source": "@site/docs/screenshots.md",
"sourceDirName": ".",
"slug": "/screenshots",
"permalink": "/side_menu_doc/docs/screenshots",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/screenshots.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2,
"title": "Screenshots"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Overview",
"permalink": "/side_menu_doc/docs/intro"
},
"next": {
"title": "Installation and upgrade",
"permalink": "/side_menu_doc/docs/setup"
}
}

View file

@ -0,0 +1,28 @@
{
"id": "setup",
"title": "Installation and upgrade",
"description": "Custom menu is available from the app store.",
"source": "@site/docs/setup.md",
"sourceDirName": ".",
"slug": "/setup",
"permalink": "/side_menu_doc/docs/setup",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/setup.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2,
"title": "Installation and upgrade"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Screenshots",
"permalink": "/side_menu_doc/docs/screenshots"
},
"next": {
"title": "How to replace Apporder?",
"permalink": "/side_menu_doc/docs/FAQ/apporder"
}
}

View file

@ -0,0 +1,28 @@
{
"id": "support",
"title": "Support",
"description": "Bugs and feature requests should be reported with an issue on https://gitnet.fr/deblan/side_menu/issues.",
"source": "@site/docs/support.md",
"sourceDirName": ".",
"slug": "/support",
"permalink": "/side_menu_doc/docs/support",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/support.md",
"tags": [],
"version": "current",
"sidebarPosition": 5,
"frontMatter": {
"sidebar_position": 5,
"title": "Support"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Custom Menu doesn't work for guest users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users"
},
"next": {
"title": "How to contribute?",
"permalink": "/side_menu_doc/docs/contrib"
}
}

View file

@ -0,0 +1,154 @@
{
"pluginId": "default",
"version": "current",
"label": "Next",
"banner": null,
"badge": false,
"noIndex": false,
"className": "docs-version-current",
"isLast": true,
"docsSidebars": {
"tutorialSidebar": [
{
"type": "link",
"label": "Overview",
"href": "/side_menu_doc/docs/intro",
"docId": "intro",
"unlisted": false
},
{
"type": "link",
"label": "Screenshots",
"href": "/side_menu_doc/docs/screenshots",
"docId": "screenshots",
"unlisted": false
},
{
"type": "link",
"label": "Installation and upgrade",
"href": "/side_menu_doc/docs/setup",
"docId": "setup",
"unlisted": false
},
{
"type": "category",
"label": "FAQ",
"items": [
{
"type": "link",
"label": "How to replace Apporder?",
"href": "/side_menu_doc/docs/FAQ/apporder",
"docId": "FAQ/apporder",
"unlisted": false
},
{
"type": "link",
"label": "Use first top menu app as default app",
"href": "/side_menu_doc/docs/FAQ/default-app",
"docId": "FAQ/default-app",
"unlisted": false
},
{
"type": "link",
"label": "How to export the configuration?",
"href": "/side_menu_doc/docs/FAQ/export-config",
"docId": "FAQ/export-config",
"unlisted": false
},
{
"type": "link",
"label": "Custom Menu doesn't work for guest users",
"href": "/side_menu_doc/docs/FAQ/guest-users",
"docId": "FAQ/guest-users",
"unlisted": false
}
],
"collapsed": true,
"collapsible": true
},
{
"type": "link",
"label": "Support",
"href": "/side_menu_doc/docs/support",
"docId": "support",
"unlisted": false
},
{
"type": "link",
"label": "How to contribute?",
"href": "/side_menu_doc/docs/contrib",
"docId": "contrib",
"unlisted": false
},
{
"type": "link",
"label": "Changelog",
"href": "/side_menu_doc/docs/changelog",
"docId": "changelog",
"unlisted": false
}
]
},
"docs": {
"changelog": {
"id": "changelog",
"title": "Changelog",
"description": "3.11.3",
"sidebar": "tutorialSidebar"
},
"contrib": {
"id": "contrib",
"title": "How to contribute?",
"description": "You can report a bug or request a feature by opening an issue//gitnet.fr/deblan/side_menu/issues",
"sidebar": "tutorialSidebar"
},
"FAQ/apporder": {
"id": "FAQ/apporder",
"title": "How to replace Apporder?",
"description": "Custom Menu could replace Apporder.",
"sidebar": "tutorialSidebar"
},
"FAQ/default-app": {
"id": "FAQ/default-app",
"title": "Use first top menu app as default app",
"description": "You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:",
"sidebar": "tutorialSidebar"
},
"FAQ/export-config": {
"id": "FAQ/export-config",
"title": "How to export the configuration?",
"description": "1. Go global settings",
"sidebar": "tutorialSidebar"
},
"FAQ/guest-users": {
"id": "FAQ/guest-users",
"title": "Custom Menu doesn't work for guest users",
"description": "Custom menu must be added in app's allowlist.",
"sidebar": "tutorialSidebar"
},
"intro": {
"id": "intro",
"title": "Overview",
"description": "Build Status",
"sidebar": "tutorialSidebar"
},
"screenshots": {
"id": "screenshots",
"title": "Screenshots",
"description": "",
"sidebar": "tutorialSidebar"
},
"setup": {
"id": "setup",
"title": "Installation and upgrade",
"description": "Custom menu is available from the app store.",
"sidebar": "tutorialSidebar"
},
"support": {
"id": "support",
"title": "Support",
"description": "Bugs and feature requests should be reported with an issue on https://gitnet.fr/deblan/side_menu/issues.",
"sidebar": "tutorialSidebar"
}
}
}

View file

@ -0,0 +1,4 @@
{
"name": "docusaurus-plugin-content-pages",
"id": "default"
}

View file

@ -0,0 +1,11 @@
{
"type": "mdx",
"permalink": "/side_menu_doc/markdown-page",
"source": "@site/src/pages/markdown-page.md",
"title": "Markdown page example",
"description": "You don't need React to write simple standalone pages.",
"frontMatter": {
"title": "Markdown page example"
},
"unlisted": false
}

View file

@ -0,0 +1,383 @@
{
"docusaurus-plugin-content-docs": {
"default": {
"loadedVersions": [
{
"versionName": "current",
"label": "Next",
"banner": null,
"badge": false,
"noIndex": false,
"className": "docs-version-current",
"path": "/side_menu_doc/docs",
"tagsPath": "/side_menu_doc/docs/tags",
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs",
"editUrlLocalized": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/i18n/en/docusaurus-plugin-content-docs/current",
"isLast": true,
"routePriority": -1,
"sidebarFilePath": "/home/simon/public_html/www/repo/side_menu_doc/sidebars.js",
"contentPath": "/home/simon/public_html/www/repo/side_menu_doc/docs",
"contentPathLocalized": "/home/simon/public_html/www/repo/side_menu_doc/i18n/en/docusaurus-plugin-content-docs/current",
"docs": [
{
"id": "changelog",
"title": "Changelog",
"description": "3.11.3",
"source": "@site/docs/changelog.md",
"sourceDirName": ".",
"slug": "/changelog",
"permalink": "/side_menu_doc/docs/changelog",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/changelog.md",
"tags": [],
"version": "current",
"sidebarPosition": 7,
"frontMatter": {
"sidebar_position": 7
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to contribute?",
"permalink": "/side_menu_doc/docs/contrib"
}
},
{
"id": "contrib",
"title": "How to contribute?",
"description": "You can report a bug or request a feature by opening an issue//gitnet.fr/deblan/side_menu/issues",
"source": "@site/docs/contrib.md",
"sourceDirName": ".",
"slug": "/contrib",
"permalink": "/side_menu_doc/docs/contrib",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/contrib.md",
"tags": [],
"version": "current",
"frontMatter": {
"hide": [
"navigation",
"toc"
]
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Support",
"permalink": "/side_menu_doc/docs/support"
},
"next": {
"title": "Changelog",
"permalink": "/side_menu_doc/docs/changelog"
}
},
{
"id": "FAQ/apporder",
"title": "How to replace Apporder?",
"description": "Custom Menu could replace Apporder.",
"source": "@site/docs/FAQ/apporder.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/apporder",
"permalink": "/side_menu_doc/docs/FAQ/apporder",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/apporder.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Installation and upgrade",
"permalink": "/side_menu_doc/docs/setup"
},
"next": {
"title": "Use first top menu app as default app",
"permalink": "/side_menu_doc/docs/FAQ/default-app"
}
},
{
"id": "FAQ/default-app",
"title": "Use first top menu app as default app",
"description": "You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:",
"source": "@site/docs/FAQ/default-app.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/default-app",
"permalink": "/side_menu_doc/docs/FAQ/default-app",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/default-app.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to replace Apporder?",
"permalink": "/side_menu_doc/docs/FAQ/apporder"
},
"next": {
"title": "How to export the configuration?",
"permalink": "/side_menu_doc/docs/FAQ/export-config"
}
},
{
"id": "FAQ/export-config",
"title": "How to export the configuration?",
"description": "1. Go global settings",
"source": "@site/docs/FAQ/export-config.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/export-config",
"permalink": "/side_menu_doc/docs/FAQ/export-config",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/export-config.md",
"tags": [],
"version": "current",
"sidebarPosition": 3,
"frontMatter": {
"sidebar_position": 3
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Use first top menu app as default app",
"permalink": "/side_menu_doc/docs/FAQ/default-app"
},
"next": {
"title": "Custom Menu doesn't work for guest users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users"
}
},
{
"id": "FAQ/guest-users",
"title": "Custom Menu doesn't work for guest users",
"description": "Custom menu must be added in app's allowlist.",
"source": "@site/docs/FAQ/guest-users.md",
"sourceDirName": "FAQ",
"slug": "/FAQ/guest-users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/FAQ/guest-users.md",
"tags": [],
"version": "current",
"sidebarPosition": 4,
"frontMatter": {
"sidebar_position": 4
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "How to export the configuration?",
"permalink": "/side_menu_doc/docs/FAQ/export-config"
},
"next": {
"title": "Support",
"permalink": "/side_menu_doc/docs/support"
}
},
{
"id": "intro",
"title": "Overview",
"description": "Build Status",
"source": "@site/docs/intro.md",
"sourceDirName": ".",
"slug": "/intro",
"permalink": "/side_menu_doc/docs/intro",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md",
"tags": [],
"version": "current",
"sidebarPosition": 1,
"frontMatter": {
"sidebar_position": 1,
"title": "Overview"
},
"sidebar": "tutorialSidebar",
"next": {
"title": "Screenshots",
"permalink": "/side_menu_doc/docs/screenshots"
}
},
{
"id": "screenshots",
"title": "Screenshots",
"description": "",
"source": "@site/docs/screenshots.md",
"sourceDirName": ".",
"slug": "/screenshots",
"permalink": "/side_menu_doc/docs/screenshots",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/screenshots.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2,
"title": "Screenshots"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Overview",
"permalink": "/side_menu_doc/docs/intro"
},
"next": {
"title": "Installation and upgrade",
"permalink": "/side_menu_doc/docs/setup"
}
},
{
"id": "setup",
"title": "Installation and upgrade",
"description": "Custom menu is available from the app store.",
"source": "@site/docs/setup.md",
"sourceDirName": ".",
"slug": "/setup",
"permalink": "/side_menu_doc/docs/setup",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/setup.md",
"tags": [],
"version": "current",
"sidebarPosition": 2,
"frontMatter": {
"sidebar_position": 2,
"title": "Installation and upgrade"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Screenshots",
"permalink": "/side_menu_doc/docs/screenshots"
},
"next": {
"title": "How to replace Apporder?",
"permalink": "/side_menu_doc/docs/FAQ/apporder"
}
},
{
"id": "support",
"title": "Support",
"description": "Bugs and feature requests should be reported with an issue on https://gitnet.fr/deblan/side_menu/issues.",
"source": "@site/docs/support.md",
"sourceDirName": ".",
"slug": "/support",
"permalink": "/side_menu_doc/docs/support",
"draft": false,
"unlisted": false,
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/support.md",
"tags": [],
"version": "current",
"sidebarPosition": 5,
"frontMatter": {
"sidebar_position": 5,
"title": "Support"
},
"sidebar": "tutorialSidebar",
"previous": {
"title": "Custom Menu doesn't work for guest users",
"permalink": "/side_menu_doc/docs/FAQ/guest-users"
},
"next": {
"title": "How to contribute?",
"permalink": "/side_menu_doc/docs/contrib"
}
}
],
"drafts": [],
"sidebars": {
"tutorialSidebar": [
{
"type": "doc",
"id": "intro"
},
{
"type": "doc",
"id": "screenshots"
},
{
"type": "doc",
"id": "setup"
},
{
"type": "category",
"label": "FAQ",
"items": [
{
"type": "doc",
"id": "FAQ/apporder"
},
{
"type": "doc",
"id": "FAQ/default-app"
},
{
"type": "doc",
"id": "FAQ/export-config"
},
{
"type": "doc",
"id": "FAQ/guest-users"
}
],
"collapsed": true,
"collapsible": true
},
{
"type": "doc",
"id": "support"
},
{
"type": "doc",
"id": "contrib"
},
{
"type": "doc",
"id": "changelog"
}
]
}
}
]
}
},
"docusaurus-plugin-content-blog": {
"default": {
"blogSidebarTitle": "Recent posts",
"blogPosts": [],
"blogListPaginated": [],
"blogTags": {},
"blogTagsListPath": "/side_menu_doc/blog/tags",
"blogTagsPaginated": []
}
},
"docusaurus-plugin-content-pages": {
"default": [
{
"type": "jsx",
"permalink": "/side_menu_doc/",
"source": "@site/src/pages/index.js"
},
{
"type": "mdx",
"permalink": "/side_menu_doc/markdown-page",
"source": "@site/src/pages/markdown-page.md",
"title": "Markdown page example",
"description": "You don't need React to write simple standalone pages.",
"frontMatter": {
"title": "Markdown page example"
},
"unlisted": false
}
]
},
"docusaurus-plugin-debug": {},
"docusaurus-theme-classic": {},
"docusaurus-lunr-search": {},
"docusaurus-bootstrap-plugin": {},
"docusaurus-mdx-fallback-plugin": {}
}

View file

@ -0,0 +1,4 @@
{
"name": "docusaurus-plugin-debug",
"id": "default"
}

View file

@ -0,0 +1,337 @@
/*
* AUTOGENERATED - DON'T EDIT
* Your edits in this file will be overwritten in the next build!
* Modify the docusaurus.config.js file at your site's root instead.
*/
export default {
"title": "Custom menu",
"tagline": "Improves the day-to-day usability and user interface of Nextcloud",
"favicon": "https://gitnet.fr/deblan/side_menu/raw/branch/master/img/icon.svg",
"url": "https://deblan.gitnet.page",
"baseUrl": "/side_menu_doc/",
"organizationName": "deblan",
"projectName": "side_menu",
"onBrokenLinks": "throw",
"onBrokenMarkdownLinks": "warn",
"i18n": {
"defaultLocale": "en",
"locales": [
"en"
],
"path": "i18n",
"localeConfigs": {}
},
"presets": [
[
"classic",
{
"docs": {
"sidebarPath": "./sidebars.js",
"editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/"
},
"theme": {
"customCss": "./src/css/custom.css"
}
}
]
],
"themeConfig": {
"image": "img/docusaurus-social-card.jpg",
"navbar": {
"title": "Custom menu",
"logo": {
"alt": "Logo",
"src": "https://gitnet.fr/deblan/side_menu/raw/branch/master/img/icon.svg"
},
"items": [
{
"type": "docSidebar",
"sidebarId": "tutorialSidebar",
"position": "left",
"label": "Documentation"
},
{
"href": "https://gitnet.fr/deblan/side_menu",
"label": "Gitnet",
"position": "right"
}
],
"hideOnScroll": false
},
"footer": {
"style": "dark",
"links": [
{
"title": "Community",
"items": [
{
"label": "Issue",
"href": "https://gitnet.fr/deblan/side_menu/issues"
},
{
"label": "Matrix",
"href": "https://matrix.to/#/!TFPucDATKODpHNVAtu:neutralnetwork.org?via=neutralnetwork.org"
}
]
},
{
"title": "More",
"items": [
{
"label": "Blog of the author",
"to": "https://www.deblan.io"
}
]
}
],
"copyright": "It's free! Fork and hack it!"
},
"prism": {
"theme": {
"plain": {
"color": "#393A34",
"backgroundColor": "#f6f8fa"
},
"styles": [
{
"types": [
"comment",
"prolog",
"doctype",
"cdata"
],
"style": {
"color": "#999988",
"fontStyle": "italic"
}
},
{
"types": [
"namespace"
],
"style": {
"opacity": 0.7
}
},
{
"types": [
"string",
"attr-value"
],
"style": {
"color": "#e3116c"
}
},
{
"types": [
"punctuation",
"operator"
],
"style": {
"color": "#393A34"
}
},
{
"types": [
"entity",
"url",
"symbol",
"number",
"boolean",
"variable",
"constant",
"property",
"regex",
"inserted"
],
"style": {
"color": "#36acaa"
}
},
{
"types": [
"atrule",
"keyword",
"attr-name",
"selector"
],
"style": {
"color": "#00a4db"
}
},
{
"types": [
"function",
"deleted",
"tag"
],
"style": {
"color": "#d73a49"
}
},
{
"types": [
"function-variable"
],
"style": {
"color": "#6f42c1"
}
},
{
"types": [
"tag",
"selector",
"keyword"
],
"style": {
"color": "#00009f"
}
}
]
},
"darkTheme": {
"plain": {
"color": "#F8F8F2",
"backgroundColor": "#282A36"
},
"styles": [
{
"types": [
"prolog",
"constant",
"builtin"
],
"style": {
"color": "rgb(189, 147, 249)"
}
},
{
"types": [
"inserted",
"function"
],
"style": {
"color": "rgb(80, 250, 123)"
}
},
{
"types": [
"deleted"
],
"style": {
"color": "rgb(255, 85, 85)"
}
},
{
"types": [
"changed"
],
"style": {
"color": "rgb(255, 184, 108)"
}
},
{
"types": [
"punctuation",
"symbol"
],
"style": {
"color": "rgb(248, 248, 242)"
}
},
{
"types": [
"string",
"char",
"tag",
"selector"
],
"style": {
"color": "rgb(255, 121, 198)"
}
},
{
"types": [
"keyword",
"variable"
],
"style": {
"color": "rgb(189, 147, 249)",
"fontStyle": "italic"
}
},
{
"types": [
"comment"
],
"style": {
"color": "rgb(98, 114, 164)"
}
},
{
"types": [
"attr-name"
],
"style": {
"color": "rgb(241, 250, 140)"
}
}
]
},
"additionalLanguages": [],
"magicComments": [
{
"className": "theme-code-block-highlighted-line",
"line": "highlight-next-line",
"block": {
"start": "highlight-start",
"end": "highlight-end"
}
}
]
},
"colorMode": {
"defaultMode": "light",
"disableSwitch": false,
"respectPrefersColorScheme": false
},
"docs": {
"versionPersistence": "localStorage",
"sidebar": {
"hideable": false,
"autoCollapseCategories": false
}
},
"metadata": [],
"tableOfContents": {
"minHeadingLevel": 2,
"maxHeadingLevel": 3
}
},
"plugins": [
"/home/simon/public_html/www/repo/side_menu_doc/node_modules/docusaurus-lunr-search/src/index.js"
],
"baseUrlIssueBanner": true,
"onBrokenAnchors": "warn",
"onDuplicateRoutes": "warn",
"staticDirectories": [
"static"
],
"customFields": {},
"themes": [],
"scripts": [],
"headTags": [],
"stylesheets": [],
"clientModules": [],
"titleDelimiter": "|",
"noIndex": false,
"markdown": {
"format": "mdx",
"mermaid": false,
"mdx1Compat": {
"comments": true,
"admonitions": true,
"headingIds": true
}
}
};

View file

@ -0,0 +1,86 @@
{
"docusaurus-lunr-search": {
"default": {
"fileNames": {
"searchDoc": "search-doc-1706049756171.json",
"lunrIndex": "lunr-index-1706049756171.json"
}
}
},
"docusaurus-plugin-content-docs": {
"default": {
"path": "/side_menu_doc/docs",
"versions": [
{
"name": "current",
"label": "Next",
"isLast": true,
"path": "/side_menu_doc/docs",
"mainDocId": "intro",
"docs": [
{
"id": "changelog",
"path": "/side_menu_doc/docs/changelog",
"sidebar": "tutorialSidebar"
},
{
"id": "contrib",
"path": "/side_menu_doc/docs/contrib",
"sidebar": "tutorialSidebar"
},
{
"id": "FAQ/apporder",
"path": "/side_menu_doc/docs/FAQ/apporder",
"sidebar": "tutorialSidebar"
},
{
"id": "FAQ/default-app",
"path": "/side_menu_doc/docs/FAQ/default-app",
"sidebar": "tutorialSidebar"
},
{
"id": "FAQ/export-config",
"path": "/side_menu_doc/docs/FAQ/export-config",
"sidebar": "tutorialSidebar"
},
{
"id": "FAQ/guest-users",
"path": "/side_menu_doc/docs/FAQ/guest-users",
"sidebar": "tutorialSidebar"
},
{
"id": "intro",
"path": "/side_menu_doc/docs/intro",
"sidebar": "tutorialSidebar"
},
{
"id": "screenshots",
"path": "/side_menu_doc/docs/screenshots",
"sidebar": "tutorialSidebar"
},
{
"id": "setup",
"path": "/side_menu_doc/docs/setup",
"sidebar": "tutorialSidebar"
},
{
"id": "support",
"path": "/side_menu_doc/docs/support",
"sidebar": "tutorialSidebar"
}
],
"draftIds": [],
"sidebars": {
"tutorialSidebar": {
"link": {
"path": "/side_menu_doc/docs/intro",
"label": "intro"
}
}
}
}
],
"breadcrumbs": true
}
}
}

17
.docusaurus/i18n.json Normal file
View file

@ -0,0 +1,17 @@
{
"defaultLocale": "en",
"locales": [
"en"
],
"path": "i18n",
"currentLocale": "en",
"localeConfigs": {
"en": {
"label": "English",
"direction": "ltr",
"htmlLang": "en",
"calendar": "gregory",
"path": "en"
}
}
}

View file

@ -0,0 +1,5 @@
// THIS FILE IS AUTOGENERATED
// DO NOT EDIT THIS FILE!
import * as lunr from "lunr";
export default lunr;

30
.docusaurus/registry.js Normal file
View file

@ -0,0 +1,30 @@
export default {
"__comp---site-src-pages-index-jsc-4-f-f99": [() => import(/* webpackChunkName: "__comp---site-src-pages-index-jsc-4-f-f99" */ "@site/src/pages/index.js"), "@site/src/pages/index.js", require.resolveWeak("@site/src/pages/index.js")],
"__comp---theme-debug-config-23-a-2ff": [() => import(/* webpackChunkName: "__comp---theme-debug-config-23-a-2ff" */ "@theme/DebugConfig"), "@theme/DebugConfig", require.resolveWeak("@theme/DebugConfig")],
"__comp---theme-debug-contentba-8-ce7": [() => import(/* webpackChunkName: "__comp---theme-debug-contentba-8-ce7" */ "@theme/DebugContent"), "@theme/DebugContent", require.resolveWeak("@theme/DebugContent")],
"__comp---theme-debug-global-dataede-0fa": [() => import(/* webpackChunkName: "__comp---theme-debug-global-dataede-0fa" */ "@theme/DebugGlobalData"), "@theme/DebugGlobalData", require.resolveWeak("@theme/DebugGlobalData")],
"__comp---theme-debug-registry-679-501": [() => import(/* webpackChunkName: "__comp---theme-debug-registry-679-501" */ "@theme/DebugRegistry"), "@theme/DebugRegistry", require.resolveWeak("@theme/DebugRegistry")],
"__comp---theme-debug-routes-946-699": [() => import(/* webpackChunkName: "__comp---theme-debug-routes-946-699" */ "@theme/DebugRoutes"), "@theme/DebugRoutes", require.resolveWeak("@theme/DebugRoutes")],
"__comp---theme-debug-site-metadata-68-e-3d4": [() => import(/* webpackChunkName: "__comp---theme-debug-site-metadata-68-e-3d4" */ "@theme/DebugSiteMetadata"), "@theme/DebugSiteMetadata", require.resolveWeak("@theme/DebugSiteMetadata")],
"__comp---theme-doc-item-178-a40": [() => import(/* webpackChunkName: "__comp---theme-doc-item-178-a40" */ "@theme/DocItem"), "@theme/DocItem", require.resolveWeak("@theme/DocItem")],
"__comp---theme-doc-roota-94-67a": [() => import(/* webpackChunkName: "__comp---theme-doc-roota-94-67a" */ "@theme/DocRoot"), "@theme/DocRoot", require.resolveWeak("@theme/DocRoot")],
"__comp---theme-doc-version-roota-7-b-5de": [() => import(/* webpackChunkName: "__comp---theme-doc-version-roota-7-b-5de" */ "@theme/DocVersionRoot"), "@theme/DocVersionRoot", require.resolveWeak("@theme/DocVersionRoot")],
"__comp---theme-docs-root-5-e-9-0b6": [() => import(/* webpackChunkName: "__comp---theme-docs-root-5-e-9-0b6" */ "@theme/DocsRoot"), "@theme/DocsRoot", require.resolveWeak("@theme/DocsRoot")],
"__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---side-menu-doc-docusaurus-debug-content-246-904": [() => import(/* webpackChunkName: "allContent---side-menu-doc-docusaurus-debug-content-246-904" */ "~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")],
"config---side-menu-doc-5-e-9-ea4": [() => import(/* webpackChunkName: "config---side-menu-doc-5-e-9-ea4" */ "@generated/docusaurus.config"), "@generated/docusaurus.config", require.resolveWeak("@generated/docusaurus.config")],
"content---side-menu-doc-docs-changelog-9-be-a00": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-changelog-9-be-a00" */ "@site/docs/changelog.md"), "@site/docs/changelog.md", require.resolveWeak("@site/docs/changelog.md")],
"content---side-menu-doc-docs-contrib-485-b4d": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-contrib-485-b4d" */ "@site/docs/contrib.md"), "@site/docs/contrib.md", require.resolveWeak("@site/docs/contrib.md")],
"content---side-menu-doc-docs-faq-apporder-128-2a2": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-faq-apporder-128-2a2" */ "@site/docs/FAQ/apporder.md"), "@site/docs/FAQ/apporder.md", require.resolveWeak("@site/docs/FAQ/apporder.md")],
"content---side-menu-doc-docs-faq-default-app-5-e-5-c27": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-faq-default-app-5-e-5-c27" */ "@site/docs/FAQ/default-app.md"), "@site/docs/FAQ/default-app.md", require.resolveWeak("@site/docs/FAQ/default-app.md")],
"content---side-menu-doc-docs-faq-export-config-05-c-e06": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-faq-export-config-05-c-e06" */ "@site/docs/FAQ/export-config.md"), "@site/docs/FAQ/export-config.md", require.resolveWeak("@site/docs/FAQ/export-config.md")],
"content---side-menu-doc-docs-faq-guest-usersd-41-7ce": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-faq-guest-usersd-41-7ce" */ "@site/docs/FAQ/guest-users.md"), "@site/docs/FAQ/guest-users.md", require.resolveWeak("@site/docs/FAQ/guest-users.md")],
"content---side-menu-doc-docs-intro-0-e-3-574": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-intro-0-e-3-574" */ "@site/docs/intro.md"), "@site/docs/intro.md", require.resolveWeak("@site/docs/intro.md")],
"content---side-menu-doc-docs-screenshotsf-0-b-7bd": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-screenshotsf-0-b-7bd" */ "@site/docs/screenshots.md"), "@site/docs/screenshots.md", require.resolveWeak("@site/docs/screenshots.md")],
"content---side-menu-doc-docs-setup-384-1d0": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-setup-384-1d0" */ "@site/docs/setup.md"), "@site/docs/setup.md", require.resolveWeak("@site/docs/setup.md")],
"content---side-menu-doc-docs-supportd-9-e-433": [() => import(/* webpackChunkName: "content---side-menu-doc-docs-supportd-9-e-433" */ "@site/docs/support.md"), "@site/docs/support.md", require.resolveWeak("@site/docs/support.md")],
"content---side-menu-doc-markdown-page-393-6d6": [() => import(/* webpackChunkName: "content---side-menu-doc-markdown-page-393-6d6" */ "@site/src/pages/markdown-page.md"), "@site/src/pages/markdown-page.md", require.resolveWeak("@site/src/pages/markdown-page.md")],
"plugin---side-menu-doc-docs-5-d-8-681": [() => import(/* webpackChunkName: "plugin---side-menu-doc-docs-5-d-8-681" */ "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json"), "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json", require.resolveWeak("/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json")],
"plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6": [() => import(/* webpackChunkName: "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6" */ "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json"), "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json", require.resolveWeak("/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json")],
"plugin---side-menu-doc-markdown-page-978-57b": [() => import(/* webpackChunkName: "plugin---side-menu-doc-markdown-page-978-57b" */ "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json"), "/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json", require.resolveWeak("/home/simon/public_html/www/repo/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json")],
"version---side-menu-doc-docs-935-08b": [() => import(/* webpackChunkName: "version---side-menu-doc-docs-935-08b" */ "~docs/default/version-current-metadata-prop-751.json"), "~docs/default/version-current-metadata-prop-751.json", require.resolveWeak("~docs/default/version-current-metadata-prop-751.json")],};

132
.docusaurus/routes.js Normal file
View file

@ -0,0 +1,132 @@
import React from 'react';
import ComponentCreator from '@docusaurus/ComponentCreator';
export default [
{
path: '/side_menu_doc/__docusaurus/debug',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug', '3aa'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/config',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/config', '4bd'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/content',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/content', '865'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/globalData',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/globalData', '9d2'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/metadata',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/metadata', 'd8a'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/registry',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/registry', '10d'),
exact: true
},
{
path: '/side_menu_doc/__docusaurus/debug/routes',
component: ComponentCreator('/side_menu_doc/__docusaurus/debug/routes', '80b'),
exact: true
},
{
path: '/side_menu_doc/markdown-page',
component: ComponentCreator('/side_menu_doc/markdown-page', 'bbc'),
exact: true
},
{
path: '/side_menu_doc/docs',
component: ComponentCreator('/side_menu_doc/docs', 'e4a'),
routes: [
{
path: '/side_menu_doc/docs',
component: ComponentCreator('/side_menu_doc/docs', 'ff5'),
routes: [
{
path: '/side_menu_doc/docs',
component: ComponentCreator('/side_menu_doc/docs', '086'),
routes: [
{
path: '/side_menu_doc/docs/changelog',
component: ComponentCreator('/side_menu_doc/docs/changelog', 'e04'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/contrib',
component: ComponentCreator('/side_menu_doc/docs/contrib', '50d'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/FAQ/apporder',
component: ComponentCreator('/side_menu_doc/docs/FAQ/apporder', '99b'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/FAQ/default-app',
component: ComponentCreator('/side_menu_doc/docs/FAQ/default-app', '028'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/FAQ/export-config',
component: ComponentCreator('/side_menu_doc/docs/FAQ/export-config', 'f34'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/FAQ/guest-users',
component: ComponentCreator('/side_menu_doc/docs/FAQ/guest-users', '5d9'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/intro',
component: ComponentCreator('/side_menu_doc/docs/intro', '11e'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/screenshots',
component: ComponentCreator('/side_menu_doc/docs/screenshots', '1c9'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/setup',
component: ComponentCreator('/side_menu_doc/docs/setup', '3bf'),
exact: true,
sidebar: "tutorialSidebar"
},
{
path: '/side_menu_doc/docs/support',
component: ComponentCreator('/side_menu_doc/docs/support', '764'),
exact: true,
sidebar: "tutorialSidebar"
}
]
}
]
}
]
},
{
path: '/side_menu_doc/',
component: ComponentCreator('/side_menu_doc/', 'e28'),
exact: true
},
{
path: '*',
component: ComponentCreator('*'),
},
];

View file

@ -0,0 +1,112 @@
{
"/side_menu_doc/__docusaurus/debug-3aa": {
"__comp": "__comp---theme-debug-config-23-a-2ff",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/__docusaurus/debug/config-4bd": {
"__comp": "__comp---theme-debug-config-23-a-2ff",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/__docusaurus/debug/content-865": {
"__comp": "__comp---theme-debug-contentba-8-ce7",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
},
"allContent": "allContent---side-menu-doc-docusaurus-debug-content-246-904"
},
"/side_menu_doc/__docusaurus/debug/globalData-9d2": {
"__comp": "__comp---theme-debug-global-dataede-0fa",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/__docusaurus/debug/metadata-d8a": {
"__comp": "__comp---theme-debug-site-metadata-68-e-3d4",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/__docusaurus/debug/registry-10d": {
"__comp": "__comp---theme-debug-registry-679-501",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/__docusaurus/debug/routes-80b": {
"__comp": "__comp---theme-debug-routes-946-699",
"__context": {
"plugin": "plugin---side-menu-doc-docusaurus-debug-9-b-7-0f6"
}
},
"/side_menu_doc/markdown-page-bbc": {
"__comp": "__comp---theme-mdx-page-1-f-3-b90",
"__context": {
"plugin": "plugin---side-menu-doc-markdown-page-978-57b"
},
"content": "content---side-menu-doc-markdown-page-393-6d6"
},
"/side_menu_doc/docs-e4a": {
"__comp": "__comp---theme-docs-root-5-e-9-0b6",
"__context": {
"plugin": "plugin---side-menu-doc-docs-5-d-8-681"
}
},
"/side_menu_doc/docs-ff5": {
"__comp": "__comp---theme-doc-version-roota-7-b-5de",
"version": "version---side-menu-doc-docs-935-08b"
},
"/side_menu_doc/docs-086": {
"__comp": "__comp---theme-doc-roota-94-67a"
},
"/side_menu_doc/docs/changelog-e04": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-changelog-9-be-a00"
},
"/side_menu_doc/docs/contrib-50d": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-contrib-485-b4d"
},
"/side_menu_doc/docs/FAQ/apporder-99b": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-faq-apporder-128-2a2"
},
"/side_menu_doc/docs/FAQ/default-app-028": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-faq-default-app-5-e-5-c27"
},
"/side_menu_doc/docs/FAQ/export-config-f34": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-faq-export-config-05-c-e06"
},
"/side_menu_doc/docs/FAQ/guest-users-5d9": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-faq-guest-usersd-41-7ce"
},
"/side_menu_doc/docs/intro-11e": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-intro-0-e-3-574"
},
"/side_menu_doc/docs/screenshots-1c9": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-screenshotsf-0-b-7bd"
},
"/side_menu_doc/docs/setup-3bf": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-setup-384-1d0"
},
"/side_menu_doc/docs/support-764": {
"__comp": "__comp---theme-doc-item-178-a40",
"content": "content---side-menu-doc-docs-supportd-9-e-433"
},
"/side_menu_doc/-e28": {
"__comp": "__comp---site-src-pages-index-jsc-4-f-f99",
"__context": {
"plugin": "plugin---side-menu-doc-markdown-page-978-57b"
},
"config": "config---side-menu-doc-5-e-9-ea4"
}
}

View file

@ -0,0 +1,36 @@
{
"docusaurusVersion": "3.1.0",
"siteVersion": "0.0.0",
"pluginVersions": {
"docusaurus-plugin-content-docs": {
"type": "package",
"name": "@docusaurus/plugin-content-docs",
"version": "3.1.0"
},
"docusaurus-plugin-content-blog": {
"type": "package",
"name": "@docusaurus/plugin-content-blog",
"version": "3.1.0"
},
"docusaurus-plugin-content-pages": {
"type": "package",
"name": "@docusaurus/plugin-content-pages",
"version": "3.1.0"
},
"docusaurus-plugin-debug": {
"type": "package",
"name": "@docusaurus/plugin-debug",
"version": "3.1.0"
},
"docusaurus-theme-classic": {
"type": "package",
"name": "@docusaurus/theme-classic",
"version": "3.1.0"
},
"docusaurus-lunr-search": {
"type": "package",
"name": "docusaurus-lunr-search",
"version": "3.3.2"
}
}
}

4
.env
View file

@ -1,4 +0,0 @@
LIVE_RELOAD_SUPPORT=true
ADD_MODULES=
DOCS_DIRECTORY=/app
FAST_MODE=false

View file

@ -1,19 +0,0 @@
name: Build and release
on: [push]
jobs:
build_release:
runs-on: ubuntu-latest
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- run: |
lsb_release -a
- run: |
pip install mkdocs-material
pip install mkdocs-table-reader-plugin
pip install mkdocs-git-revision-date-localized-plugin
pip install pillow cairosvg
pip install mkdocs-autolinks-plugin
pip install mkdocs-markdownextradata-plugin
pip install mkdocs_version_annotations
pip install mkdocs-enumerate-headings-plugin
pip install mkdocs-redirects

3
.gitignore vendored
View file

@ -1 +1,2 @@
/.cache
/build
/node_modules

View file

@ -1,13 +1,10 @@
steps:
build:
image: gitnet.fr/deblan/mkdocs
image: node:20
pull: true
commands:
- sed -i 's/# site_url/site_url/' mkdocs.yml
- sed -i 's,<!-- ci_scripts -->,<script async defer data-website-id="d4104cec-6e3d-41df-bf72-74a9297def23" src="https://umami.deblan.org/umami.js"></script>,' overrides/main.html
- mkdocs build
- git checkout mkdocs.yml
- git checkout overrides/main.html
- npm install --force
- npm run build
update:
image: alpine/git
@ -16,9 +13,9 @@ steps:
- git switch pages
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
- mv site /tmp/
- mv build /tmp/
- rm * -fr
- mv /tmp/site/* .
- mv /tmp/build/* .
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"

41
README.md Normal file
View file

@ -0,0 +1,41 @@
# Website
This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.
### Installation
```
$ yarn
```
### Local Development
```
$ yarn start
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
### Build
```
$ yarn build
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
### Deployment
Using SSH:
```
$ USE_SSH=true yarn deploy
```
Not using SSH:
```
$ GIT_USER=<Your GitHub username> yarn deploy
```
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

3
babel.config.js Normal file
View file

@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};

View file

@ -1,13 +1,13 @@
#!/bin/sh
usage() {
printf "Usage: %s [-l DEBUG_LEVEL] [-h] -f /path/to/CHANGELOG.md\n" "$0"
printf "Usage: %s [-l DEBUG_LEVEL] [-h] [-f /path/to/CHANGELOG.md] [-u https://example.com/CHANGELOG.md]\n" "$0"
}
help() {
cat << EOH
SYNOPSIS
$0 [-l DEBUG_LEVEL] [-h] -f /path/to/CHANGELOG.md
$0 [-l DEBUG_LEVEL] [-h] [-f /path/to/CHANGELOG.md] [-u https://example.com/CHANGELOG.md]
DESCRIPTION
@ -20,6 +20,9 @@ help() {
-f FILE
Path to changelog
-u URL
URL of the changelog
-l debug|info|notice|warning|error
Debug level
EOH
@ -69,9 +72,7 @@ main() {
cat << EOF
---
hide:
- navigation
- toc
sidebar_position: 7
---
# Changelog
@ -97,16 +98,10 @@ EOF
if [ "$version" != "[Unreleased]" ]; then
log -l info "Version detected: $version"
if [ $is_first -eq 1 ]; then
printf "???+ success \"%s\"\n" "$version"
is_first=0
else
printf "??? abstract \"%s\"\n" "$version"
fi
printf "## %s\n" "$version"
sed \
-e 's/### \(.*\)/\n **\1**\n/g' \
-e 's/^/ /g' \
-e 's/### \(.*\)/\n**\1**\n/g' \
"$temp_directory/$version"
fi
fi

12
docs/FAQ/apporder.md Normal file
View file

@ -0,0 +1,12 @@
---
sidebar_position: 1
---
# How to replace Apporder?
Custom Menu could replace [Apporder](https://github.com/juliushaertl/apporder).
1. Go to user or global settings
2. Scroll to `Top menu` check all apps in `Applications kept in the top menu`
3. Scroll to `Applications` and customize sorting
4. Save

11
docs/FAQ/default-app.md Normal file
View file

@ -0,0 +1,11 @@
---
sidebar_position: 2
---
# Use first top menu app as default app
You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:
```php-inline title="config/config.php"
'defaultapp' => 'side_menu',
```

13
docs/FAQ/export-config.md Normal file
View file

@ -0,0 +1,13 @@
---
sidebar_position: 3
---
# How to export the configuration?
1. Go global settings
2. Click on `Export the configuration`
<figure markdown>
[![](@site/static/content/export_conf.png)](@site/static/content/export_conf.png)
<figcaption>Export the configuration</figcaption>
</figure>

11
docs/FAQ/guest-users.md Normal file
View file

@ -0,0 +1,11 @@
---
sidebar_position: 4
---
# Custom Menu doesn't work for guest users
Custom menu must be added in app's allowlist.
<figure markdown>
[![](@site/static/content/allowlist.png)](@site/static/content/allowlist.png)
</figure>

File diff suppressed because it is too large Load diff

View file

@ -8,11 +8,6 @@ hide:
You can report a bug or request a feature by opening an issue: https://gitnet.fr/deblan/side_menu/issues
!!! info "Support"
**You like this app and you want to support me?**
[![](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png){width=120px}](https://www.buymeacoffee.com/deblan)
## You are a translator
Translations are managed from [translate.codeberg.org](https://translate.codeberg.org/projects/custom-menu/application/).

View file

@ -1,41 +0,0 @@
---
hide:
- navigation
---
# FAQ
## How to replace Apporder?
Custom Menu could replace [Apporder](https://github.com/juliushaertl/apporder).
1. Go to user or global settings
2. Scroll to `Top menu` check all apps in `Applications kept in the top menu`
3. Scroll to `Applications` and customize sorting
4. Save
## Use first top menu app as default app
You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:
```php-inline title="config/config.php"
'defaultapp' => 'side_menu',
```
## How to export the configuration?
1. Go global settings
2. Click on `Export the configuration`
<figure markdown>
[![](./_static/img/export_conf.png)](./_static/img/export_conf.png){target="blank"}
<figcaption>Export the configuration</figcaption>
</figure>
## Custom Menu doesn't work for guest users
Custom menu must be added in app's allowlist.
<figure markdown>
[![](./_static/img/allowlist.png)](./_static/img/allowlist.png){target="blank"}
</figure>

View file

@ -1,11 +1,9 @@
---
hide:
- navigation
- toc
sidebar_position: 1
title: Overview
---
🤙 Nextcloud app / Custom menu 🎨
===============================
# Overview
[![Build Status](https://ci.gitnet.fr/api/badges/deblan/side_menu/status.svg)](https://ci.gitnet.fr/deblan/side_menu)
[![Translations](https://translate.codeberg.org/widgets/custom-menu/-/application/svg-badge.svg)](https://translate.codeberg.org/engage/custom-menu/)
@ -18,17 +16,9 @@ This application is rather suitable for instances that activate a lot of applica
You can customize colors depending of the theme (Dark theme and Breeze Dark).
* [Screenshots](screenshots.md)
* [Installation and upgrade](setup.md)
* [FAQ](faq.md)
* [Support](support.md)
* [Contribute](contrib.md)
**You like this app and you want to support me?**
!!! info "Support"
**You like this app and you want to support me?**
[![](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png){width=120px}](https://www.buymeacoffee.com/deblan)
[![](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png)](https://www.buymeacoffee.com/deblan)
## Support

View file

@ -1,7 +1,6 @@
---
hide:
- navigation
- toc
sidebar_position: 2
title: Screenshots
---
# Screenshots
@ -10,48 +9,48 @@ hide:
<tr>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/n19_big_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/n19_big_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/n19_big_menu.png" />
</a>
</td>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc18_menu_always_displayed.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc18_menu_always_displayed.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc18_menu_always_displayed.png" />
</a>
</td>
</tr>
<tr>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc19_default_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc19_default_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc19_default_menu.png" />
</a>
</td>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc20_big_menu_responsive.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc20_big_menu_responsive.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc20_big_menu_responsive.png" />
</a>
</td>
</tr>
<tr>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png" />
</a>
</td>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png" />
</a>
</td>
</tr>
<tr>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/personal_settings.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/personal_settings.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/personal_settings.png" />
</a>
</td>
<td>
<a target="_blank" href="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/admin_settings.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/admin_settings.png">
<img src="https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/admin_settings.png" />
</a>
</td>
</tr>

View file

@ -1,7 +1,6 @@
---
hide:
- navigation
- toc
sidebar_position: 2
title: Installation and upgrade
---
Installation and upgrade

View file

@ -1,7 +1,6 @@
---
hide:
- navigation
- toc
sidebar_position: 5
title: Support
---
# Support
@ -10,73 +9,9 @@ Bugs and feature requests should be reported with an issue on https://gitnet.fr/
You can also join the official room on Matrix: [#custommenu:neutralnetwork.org](https://matrix.to/#/#custommenu:neutralnetwork.org).
| Version | Security | Bug | New feature |
| :--: | :--: | :--: | :--: |
| 3.x | {{ icon.check }} | {{ icon.check }} | {{ icon.check }} |
| 2.x | {{ icon.check }} | {{ icon.check }} | {{ icon.uncheck }} |
| 1.x | {{ icon.uncheck }} | {{ icon.uncheck }} | {{ icon.uncheck }} |
| Version | Security | Bug | New feature |
| :--: | :--: | :--: | :--: |
| 3.x | Yes | Yes | Yes |
| 2.x | Yes | Yes | No |
| 1.x | No | No | No |
<div id="issues">
<h3>Current issue(s)</h3>
</div>
<script>
const issues = document.querySelector('#issues')
const createAdmonition = (type, prefix, item) => {
const element = document.createElement('div')
element.innerHTML = `
<div class="admonition ${type}">
<p class="admonition-title">
<a href="${item.html_url}" target="_blank">${prefix} #${item.number}</a>
</p>
<p>${item.title}</p>
</div>
`
return element
}
const createEnhancement = (item) => {
return createAdmonition('example', 'Feature', item)
}
const createBug = (item) => {
return createAdmonition('bug', 'Bug', item)
}
const createQuestion = (item) => {
return createAdmonition('question', 'Issue', item)
}
fetch('https://gitnet.fr/api/v1/repos/deblan/side_menu/issues?state=open', {
headers: new Headers({'accept': 'application/json'})
})
.then((response) => {
return response.json()
})
.then((json) => {
if (json.length === 0) {
issues.style.display = 'none'
}
json.forEach((item) => {
let isBug = false
let isEnhancement = false
item.labels.forEach((label) => {
if (label.name === 'bug') {
isBug = true
} else if (label.name === 'enhancement') {
isEnhancement = true
}
})
if (isBug) {
issues.appendChild(createBug(item))
} else if (isEnhancement) {
issues.appendChild(createEnhancement(item))
} else {
issues.appendChild(createQuestion(item))
}
})
})
</script>

117
docusaurus.config.js Normal file
View file

@ -0,0 +1,117 @@
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Custom menu',
tagline: 'Improves the day-to-day usability and user interface of Nextcloud',
favicon: 'https://gitnet.fr/deblan/side_menu/raw/branch/master/img/icon.svg',
// Set the production url of your site here
url: 'https://deblan.gitnet.page/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/side_menu_doc/',
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'deblan', // Usually your GitHub org/user name.
projectName: 'side_menu', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: './sidebars.js',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
},
theme: {
customCss: './src/css/custom.css',
},
}),
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'Custom menu',
logo: {
alt: 'Logo',
src: 'https://gitnet.fr/deblan/side_menu/raw/branch/master/img/icon.svg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Documentation',
},
{
href: 'https://gitnet.fr/deblan/side_menu',
label: 'Gitnet',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'Issue',
href: 'https://gitnet.fr/deblan/side_menu/issues',
},
{
label: 'Matrix',
href: 'https://matrix.to/#/!TFPucDATKODpHNVAtu:neutralnetwork.org?via=neutralnetwork.org',
},
],
},
{
title: 'More',
items: [
{
label: 'Blog of the author',
to: 'https://www.deblan.io',
},
],
},
],
copyright: `It's free! Fork and hack it!`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
}),
plugins: [require.resolve('docusaurus-lunr-search')],
};
export default config;

View file

@ -1,76 +0,0 @@
site_name: Custom menu
# site_url: "https://deblan.gitnet.page/side_menu_doc/"
plugins:
- search
- social
- autolinks
- markdownextradata
- redirects:
redirect_maps:
'tips.md': 'faq.md'
extra_css:
- _static/css/extra.css
extra:
generator: false
icon:
check: ":fontawesome-solid-check:"
uncheck: ":fontawesome-solid-xmark:"
theme:
name: material
custom_dir: overrides
logo: _static/img/logo.svg
favicon: _static/img/logo.svg
features:
- content.code.copy
- navigation.tabs
- navigation.footer
palette:
- scheme: default
primary: "light blue"
media: "(prefers-color-scheme: light)"
toggle:
icon: material/brightness-7
name: Passer en mode sombre
- scheme: slate
primary: "black"
media: "(prefers-color-scheme: dark)"
toggle:
icon: material/brightness-4
name: Passer en mode clair
markdown_extensions:
- extra
- admonition
- pymdownx.highlight:
anchor_linenums: true
extend_pygments_lang:
- name: php-inline
lang: php
options:
startinline: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.magiclink
- pymdownx.snippets
- pymdownx.superfences
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.details
- attr_list
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
nav:
- Overview: index.md
- Screenshots: screenshots.md
- Install and upgrade: setup.md
- FAQ: faq.md
- Support: support.md
- Contribute: contrib.md
- Changelog: changelog.md

View file

@ -1,7 +0,0 @@
{% extends "base.html" %}
{% block scripts %}
{{ super() }}
<!-- ci_scripts -->
{% endblock %}

15403
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

45
package.json Normal file
View file

@ -0,0 +1,45 @@
{
"name": "foo",
"version": "0.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.1.0",
"@docusaurus/preset-classic": "3.1.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-lunr-search": "^3.3.2",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.1.0",
"@docusaurus/types": "3.1.0"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 3 chrome version",
"last 3 firefox version",
"last 5 safari version"
]
},
"engines": {
"node": ">=18.0"
}
}

25
sidebars.js Normal file
View file

@ -0,0 +1,25 @@
// @ts-check
/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
tutorialSidebar: [
'intro',
'screenshots',
'setup',
{
type: 'category',
label: 'FAQ',
items: [
'FAQ/apporder',
'FAQ/default-app',
'FAQ/export-config',
'FAQ/guest-users',
],
},
'support',
'contrib',
'changelog',
],
};
export default sidebars;

View file

@ -0,0 +1,61 @@
import clsx from 'clsx';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
const FeatureList = [
{
title: 'Reorganize access to your apps',
Svg: require('@site/static/content/organize.svg').default,
description: (
<>
<em>Custom menu</em> allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. You can also define apps that must be displayed in the top menu.
</>
),
},
{
title: 'Fully customizable',
Svg: require('@site/static/content/customization.svg').default,
description: (
<>
<em>Custom menu</em> offers a multitude of settings, giving you the flexibility to tailor Nextcloud to suit your specific needs and preferences.
</>
),
},
{
title: 'Free and open-source',
Svg: require('@site/static/content/free.svg').default,
description: (
<>
You have the freedom to inspect the code, duplicate it, learn with it, modify it or distribute it as you see fit.
</>
),
},
];
function Feature({Svg, title, description}) {
return (
<div className={clsx('col col--4')}>
<div className="text--center">
<Svg className={styles.featureSvg} role="img" />
</div>
<div className="text--center padding-horiz--md">
<Heading as="h3">{title}</Heading>
<p>{description}</p>
</div>
</div>
);
}
export default function HomepageFeatures() {
return (
<section className={styles.features}>
<div className="container">
<div className="row">
{FeatureList.map((props, idx) => (
<Feature key={idx} {...props} />
))}
</div>
</div>
</section>
);
}

View file

@ -0,0 +1,11 @@
.features {
display: flex;
align-items: center;
padding: 2rem 0;
width: 100%;
}
.featureSvg {
height: 200px;
width: 200px;
}

30
src/css/custom.css Normal file
View file

@ -0,0 +1,30 @@
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
--ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e;
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
--ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

43
src/pages/index.js Normal file
View file

@ -0,0 +1,43 @@
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import Heading from '@theme/Heading';
import styles from './index.module.css';
function HomepageHeader() {
const {siteConfig} = useDocusaurusContext();
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<Heading as="h1" className="hero__title">
{siteConfig.title}
</Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Get started!
</Link>
</div>
</div>
</header>
);
}
export default function Home() {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top.">
<HomepageHeader />
<main>
<HomepageFeatures />
</main>
</Layout>
);
}

View file

@ -0,0 +1,23 @@
/**
* CSS files with the .module.css suffix will be treated as CSS modules
* and scoped locally.
*/
.heroBanner {
padding: 4rem 0;
text-align: center;
position: relative;
overflow: hidden;
}
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}

View file

@ -0,0 +1,7 @@
---
title: Markdown page example
---
# Markdown page example
You don't need React to write simple standalone pages.

0
static/.nojekyll Normal file
View file

View file

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.1 KiB

View file

Before

Width:  |  Height:  |  Size: 237 KiB

After

Width:  |  Height:  |  Size: 237 KiB

1
static/content/free.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.3 KiB

View file

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 25 KiB