Compare commits

...

No commits in common. "main" and "pages" have entirely different histories.
main ... pages

141 changed files with 2629 additions and 17102 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

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.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

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
],
"522f38f8": [
781
],
"5e5e257a": [
638
],
"5e95c892": [
661
],
"85f4d304": [
908
],
"935f2afb": [
53
],
"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.ca3d9def.js",
"hash": "a8cfb486205a27c2",
"publicPath": "/side_menu_doc/assets/js/935f2afb.ca3d9def.js"
}
]
},
"80": {
"js": [
{
"file": "assets/js/9beb87c2.e15f21e3.js",
"hash": "057176dfa2d9762b",
"publicPath": "/side_menu_doc/assets/js/9beb87c2.e15f21e3.js"
}
]
},
"85": {
"js": [
{
"file": "assets/js/1f391b9e.5a5a8c43.js",
"hash": "c7d17624937d865f",
"publicPath": "/side_menu_doc/assets/js/1f391b9e.5a5a8c43.js"
}
]
},
"88": {
"js": [
{
"file": "assets/js/128808b4.c8e95ea9.js",
"hash": "9413593003dc9900",
"publicPath": "/side_menu_doc/assets/js/128808b4.c8e95ea9.js"
}
]
},
"179": {
"js": [
{
"file": "assets/js/main.708381f2.js",
"hash": "4c7e56917803cb58",
"publicPath": "/side_menu_doc/assets/js/main.708381f2.js"
}
]
},
"195": {
"js": [
{
"file": "assets/js/c4f5d8e4.04e6f45f.js",
"hash": "5d5b71683ec2e556",
"publicPath": "/side_menu_doc/assets/js/c4f5d8e4.04e6f45f.js"
}
]
},
"217": {
"js": [
{
"file": "assets/js/d9e16301.ea6c01e7.js",
"hash": "8963d4efd08359df",
"publicPath": "/side_menu_doc/assets/js/d9e16301.ea6c01e7.js"
}
]
},
"303": {
"js": [
{
"file": "assets/js/runtime~main.8d7824b8.js",
"hash": "39f836756767b12b",
"publicPath": "/side_menu_doc/assets/js/runtime~main.8d7824b8.js"
}
]
},
"362": {
"js": [
{
"file": "assets/js/05cb0ad5.9cca669a.js",
"hash": "eb3dab7dcd0ea535",
"publicPath": "/side_menu_doc/assets/js/05cb0ad5.9cca669a.js"
}
]
},
"368": {
"js": [
{
"file": "assets/js/a94703ab.b72db629.js",
"hash": "26d33487fa781001",
"publicPath": "/side_menu_doc/assets/js/a94703ab.b72db629.js"
}
]
},
"370": {
"js": [
{
"file": "assets/js/f0ba2e1c.119f5a8c.js",
"hash": "055cdc0e6869954d",
"publicPath": "/side_menu_doc/assets/js/f0ba2e1c.119f5a8c.js"
}
]
},
"414": {
"js": [
{
"file": "assets/js/393be207.5d365953.js",
"hash": "0ec97540beb44f83",
"publicPath": "/side_menu_doc/assets/js/393be207.5d365953.js"
}
]
},
"518": {
"js": [
{
"file": "assets/js/a7bd4aaa.43c68614.js",
"hash": "7eef1a52ef3372c7",
"publicPath": "/side_menu_doc/assets/js/a7bd4aaa.43c68614.js"
}
]
},
"532": {
"css": [
{
"file": "assets/css/styles.7a6c5961.css",
"hash": "c0518a2b049ef789",
"publicPath": "/side_menu_doc/assets/css/styles.7a6c5961.css"
}
]
},
"572": {
"js": [
{
"file": "assets/js/572.f2d0cdde.js",
"hash": "afb79a12c7516ecc",
"publicPath": "/side_menu_doc/assets/js/572.f2d0cdde.js"
}
]
},
"581": {
"js": [
{
"file": "assets/js/3847b3ea.822259ee.js",
"hash": "e7a855c282b0ebae",
"publicPath": "/side_menu_doc/assets/js/3847b3ea.822259ee.js"
}
]
},
"611": {
"js": [
{
"file": "assets/js/611.cc0b247c.js",
"hash": "132ae22ebae65428",
"publicPath": "/side_menu_doc/assets/js/611.cc0b247c.js"
}
]
},
"638": {
"js": [
{
"file": "assets/js/5e5e257a.bd2e4e97.js",
"hash": "54f8ee233c16b993",
"publicPath": "/side_menu_doc/assets/js/5e5e257a.bd2e4e97.js"
}
]
},
"661": {
"js": [
{
"file": "assets/js/5e95c892.40697f12.js",
"hash": "bac77a3b0a932100",
"publicPath": "/side_menu_doc/assets/js/5e95c892.40697f12.js"
}
]
},
"671": {
"js": [
{
"file": "assets/js/0e384e19.06ef3a00.js",
"hash": "c425f6e41c531e26",
"publicPath": "/side_menu_doc/assets/js/0e384e19.06ef3a00.js"
}
]
},
"673": {
"js": [
{
"file": "assets/js/485c0c9e.2ceeae37.js",
"hash": "21fbb807ee29345a",
"publicPath": "/side_menu_doc/assets/js/485c0c9e.2ceeae37.js"
}
]
},
"684": {
"js": [
{
"file": "assets/js/684.9e1b0127.js",
"hash": "261105f5b9bcb88c",
"publicPath": "/side_menu_doc/assets/js/684.9e1b0127.js"
}
]
},
"686": {
"js": [
{
"file": "assets/js/d41ee077.43a632b7.js",
"hash": "958d7142d14151a4",
"publicPath": "/side_menu_doc/assets/js/d41ee077.43a632b7.js"
}
]
},
"692": {
"js": [
{
"file": "assets/js/692.34e67df3.js",
"hash": "3f06ecae8d8a92a5",
"publicPath": "/side_menu_doc/assets/js/692.34e67df3.js"
}
]
},
"772": {
"js": [
{
"file": "assets/js/772.2a039aab.js",
"hash": "0cb46fbbd91ecb0f",
"publicPath": "/side_menu_doc/assets/js/772.2a039aab.js"
}
]
},
"781": {
"js": [
{
"file": "assets/js/522f38f8.1a9ace34.js",
"hash": "2b5706575fd2a2a8",
"publicPath": "/side_menu_doc/assets/js/522f38f8.1a9ace34.js"
}
]
},
"908": {
"js": [
{
"file": "assets/js/85f4d304.f8746556.js",
"hash": "f98505ac28e7520c",
"publicPath": "/side_menu_doc/assets/js/85f4d304.f8746556.js"
}
]
},
"918": {
"js": [
{
"file": "assets/js/17896441.92a6595d.js",
"hash": "306df0a3392eab83",
"publicPath": "/side_menu_doc/assets/js/17896441.92a6595d.js"
}
]
}
}
}

View file

@ -0,0 +1,6 @@
export default [
require("/woodpecker/src/gitnet.fr/deblan/side_menu_doc/node_modules/infima/dist/css/default/default.css"),
require("/woodpecker/src/gitnet.fr/deblan/side_menu_doc/node_modules/@docusaurus/theme-classic/lib/prism-include-languages"),
require("/woodpecker/src/gitnet.fr/deblan/side_menu_doc/node_modules/@docusaurus/theme-classic/lib/nprogress"),
require("/woodpecker/src/gitnet.fr/deblan/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,22 @@
{
"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,
"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,28 @@
{
"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,
"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,26 @@
{
"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,
"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,26 @@
{
"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,
"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,26 @@
{
"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,
"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,26 @@
{
"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,
"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,23 @@
{
"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,
"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,27 @@
{
"id": "screenshots",
"title": "Screenshots",
"description": "",
"source": "@site/docs/screenshots.md",
"sourceDirName": ".",
"slug": "/screenshots",
"permalink": "/side_menu_doc/docs/screenshots",
"draft": false,
"unlisted": false,
"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,27 @@
{
"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,
"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,27 @@
{
"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,
"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,336 @@
/*
* 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": "ontent/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"
},
"theme": {
"customCss": "./src/css/custom.css"
}
}
]
],
"themeConfig": {
"image": "https://deblan.gitnet.page/side_menu_doc/content/card.jpg",
"navbar": {
"title": "Home",
"logo": {
"alt": "Logo",
"src": "content/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": [
"/woodpecker/src/gitnet.fr/deblan/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-1706201247875.json",
"lunrIndex": "lunr-index-1706201247875.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;

22
.docusaurus/registry.js Normal file
View file

@ -0,0 +1,22 @@
export default {
"05cb0ad5": [() => import(/* webpackChunkName: "05cb0ad5" */ "@site/docs/FAQ/export-config.md"), "@site/docs/FAQ/export-config.md", require.resolveWeak("@site/docs/FAQ/export-config.md")],
"0e384e19": [() => import(/* webpackChunkName: "0e384e19" */ "@site/docs/intro.md"), "@site/docs/intro.md", require.resolveWeak("@site/docs/intro.md")],
"128808b4": [() => import(/* webpackChunkName: "128808b4" */ "@site/docs/FAQ/apporder.md"), "@site/docs/FAQ/apporder.md", require.resolveWeak("@site/docs/FAQ/apporder.md")],
"17896441": [() => import(/* webpackChunkName: "17896441" */ "@theme/DocItem"), "@theme/DocItem", require.resolveWeak("@theme/DocItem")],
"1f391b9e": [() => import(/* webpackChunkName: "1f391b9e" */ "@theme/MDXPage"), "@theme/MDXPage", require.resolveWeak("@theme/MDXPage")],
"3847b3ea": [() => import(/* webpackChunkName: "3847b3ea" */ "@site/docs/setup.md"), "@site/docs/setup.md", require.resolveWeak("@site/docs/setup.md")],
"393be207": [() => import(/* webpackChunkName: "393be207" */ "@site/src/pages/markdown-page.md"), "@site/src/pages/markdown-page.md", require.resolveWeak("@site/src/pages/markdown-page.md")],
"485c0c9e": [() => import(/* webpackChunkName: "485c0c9e" */ "@site/docs/contrib.md"), "@site/docs/contrib.md", require.resolveWeak("@site/docs/contrib.md")],
"522f38f8": [() => import(/* webpackChunkName: "522f38f8" */ "/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json"), "/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json", require.resolveWeak("/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json")],
"5e5e257a": [() => import(/* webpackChunkName: "5e5e257a" */ "@site/docs/FAQ/default-app.md"), "@site/docs/FAQ/default-app.md", require.resolveWeak("@site/docs/FAQ/default-app.md")],
"5e95c892": [() => import(/* webpackChunkName: "5e95c892" */ "@theme/DocsRoot"), "@theme/DocsRoot", require.resolveWeak("@theme/DocsRoot")],
"5e9f5e1a": [() => import(/* webpackChunkName: "5e9f5e1a" */ "@generated/docusaurus.config"), "@generated/docusaurus.config", require.resolveWeak("@generated/docusaurus.config")],
"85f4d304": [() => import(/* webpackChunkName: "85f4d304" */ "/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json"), "/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json", require.resolveWeak("/woodpecker/src/gitnet.fr/deblan/side_menu_doc/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json")],
"935f2afb": [() => import(/* webpackChunkName: "935f2afb" */ "~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")],
"9beb87c2": [() => import(/* webpackChunkName: "9beb87c2" */ "@site/docs/changelog.md"), "@site/docs/changelog.md", require.resolveWeak("@site/docs/changelog.md")],
"a7bd4aaa": [() => import(/* webpackChunkName: "a7bd4aaa" */ "@theme/DocVersionRoot"), "@theme/DocVersionRoot", require.resolveWeak("@theme/DocVersionRoot")],
"a94703ab": [() => import(/* webpackChunkName: "a94703ab" */ "@theme/DocRoot"), "@theme/DocRoot", require.resolveWeak("@theme/DocRoot")],
"c4f5d8e4": [() => import(/* webpackChunkName: "c4f5d8e4" */ "@site/src/pages/index.js"), "@site/src/pages/index.js", require.resolveWeak("@site/src/pages/index.js")],
"d41ee077": [() => import(/* webpackChunkName: "d41ee077" */ "@site/docs/FAQ/guest-users.md"), "@site/docs/FAQ/guest-users.md", require.resolveWeak("@site/docs/FAQ/guest-users.md")],
"d9e16301": [() => import(/* webpackChunkName: "d9e16301" */ "@site/docs/support.md"), "@site/docs/support.md", require.resolveWeak("@site/docs/support.md")],
"f0ba2e1c": [() => import(/* webpackChunkName: "f0ba2e1c" */ "@site/docs/screenshots.md"), "@site/docs/screenshots.md", require.resolveWeak("@site/docs/screenshots.md")],};

97
.docusaurus/routes.js Normal file
View file

@ -0,0 +1,97 @@
import React from 'react';
import ComponentCreator from '@docusaurus/ComponentCreator';
export default [
{
path: '/side_menu_doc/markdown-page',
component: ComponentCreator('/side_menu_doc/markdown-page', 'd6b'),
exact: true
},
{
path: '/side_menu_doc/docs',
component: ComponentCreator('/side_menu_doc/docs', '34b'),
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/', '52e'),
exact: true
},
{
path: '*',
component: ComponentCreator('*'),
},
];

View file

@ -0,0 +1,69 @@
{
"/side_menu_doc/markdown-page-d6b": {
"__comp": "1f391b9e",
"__context": {
"plugin": "85f4d304"
},
"content": "393be207"
},
"/side_menu_doc/docs-34b": {
"__comp": "5e95c892",
"__context": {
"plugin": "522f38f8"
}
},
"/side_menu_doc/docs-ff5": {
"__comp": "a7bd4aaa",
"version": "935f2afb"
},
"/side_menu_doc/docs-086": {
"__comp": "a94703ab"
},
"/side_menu_doc/docs/changelog-e04": {
"__comp": "17896441",
"content": "9beb87c2"
},
"/side_menu_doc/docs/contrib-50d": {
"__comp": "17896441",
"content": "485c0c9e"
},
"/side_menu_doc/docs/FAQ/apporder-99b": {
"__comp": "17896441",
"content": "128808b4"
},
"/side_menu_doc/docs/FAQ/default-app-028": {
"__comp": "17896441",
"content": "5e5e257a"
},
"/side_menu_doc/docs/FAQ/export-config-f34": {
"__comp": "17896441",
"content": "05cb0ad5"
},
"/side_menu_doc/docs/FAQ/guest-users-5d9": {
"__comp": "17896441",
"content": "d41ee077"
},
"/side_menu_doc/docs/intro-11e": {
"__comp": "17896441",
"content": "0e384e19"
},
"/side_menu_doc/docs/screenshots-1c9": {
"__comp": "17896441",
"content": "f0ba2e1c"
},
"/side_menu_doc/docs/setup-3bf": {
"__comp": "17896441",
"content": "3847b3ea"
},
"/side_menu_doc/docs/support-764": {
"__comp": "17896441",
"content": "d9e16301"
},
"/side_menu_doc/-52e": {
"__comp": "c4f5d8e4",
"__context": {
"plugin": "85f4d304"
},
"config": "5e9f5e1a"
}
}

View file

@ -0,0 +1,36 @@
{
"docusaurusVersion": "3.1.0",
"siteVersion": "dev",
"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-sitemap": {
"type": "package",
"name": "@docusaurus/plugin-sitemap",
"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"
}
}
}

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
/build
/node_modules
/.docusaurus

View file

@ -1,33 +0,0 @@
steps:
build:
image: node:20
pull: true
commands:
- npm install --force
- npm run build
update:
image: alpine/git
commands:
- mv build /tmp/
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
- git add .
- git commit -m build -a
- git fetch --no-tags origin +refs/heads/pages
- git switch pages
- rm * -fr
- mv /tmp/build/* .
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
deploy:
image: appleboy/drone-git-push
commands:
settings:
branch: pages
remote: git@gitnet.fr:deblan/side_menu_doc.git
force: false
commit: false
ssh_key:
from_secret: ssh_priv_key

13
404.html Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,11 +0,0 @@
changelog:
./bin/changelog-generator -l debug -u https://gitnet.fr/deblan/side_menu/raw/branch/master/CHANGELOG.md > docs/changelog.md
serve:
docker run \
-it --rm \
-v $$(pwd):/app \
--env-file ./.env \
-p 8000:8000 \
-w /app \
gitnet.fr/deblan/mkdocs

View file

@ -1,41 +0,0 @@
# 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.

File diff suppressed because one or more lines are too long

View file

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

View file

Before

Width:  |  Height:  |  Size: 237 KiB

After

Width:  |  Height:  |  Size: 237 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[362],{6806:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>r,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var o=n(5893),i=n(1151);const s={sidebar_position:3},r="How to export the configuration?",c={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:!1,unlisted:!1,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"}},a={},d=[];function u(e){const t={a:"a",code:"code",h1:"h1",img:"img",li:"li",ol:"ol",p:"p",...(0,i.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"how-to-export-the-configuration",children:"How to export the configuration?"}),"\n",(0,o.jsxs)(t.ol,{children:["\n",(0,o.jsx)(t.li,{children:"Go global settings"}),"\n",(0,o.jsxs)(t.li,{children:["Click on ",(0,o.jsx)(t.code,{children:"Export the configuration"})]}),"\n"]}),"\n",(0,o.jsx)("figure",{markdown:!0,children:(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:n(4644).Z+"",children:(0,o.jsx)(t.img,{src:n(3982).Z+"",width:"1920",height:"1033"})}),"\n",(0,o.jsx)("figcaption",{children:"Export the configuration"})]})})]})}function l(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},4644:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/files/export_conf-a149e3678c12e3205b3cf033a085495a.png"},3982:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n.p+"assets/images/export_conf-a149e3678c12e3205b3cf033a085495a.png"},1151:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>r});var o=n(7294);const i={},s=o.createContext(i);function r(e){const t=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),o.createElement(s.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[671],{7876:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>r,default:()=>u,frontMatter:()=>i,metadata:()=>a,toc:()=>d});var s=n(5893),o=n(1151);const i={sidebar_position:1,title:"Overview"},r="Overview",a={id:"intro",title:"Overview",description:"Build Status",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/side_menu_doc/docs/intro",draft:!1,unlisted:!1,tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,title:"Overview"},sidebar:"tutorialSidebar",next:{title:"Screenshots",permalink:"/side_menu_doc/docs/screenshots"}},c={},d=[{value:"Support",id:"support",level:2},{value:"Notice",id:"notice",level:2}];function l(e){const t={a:"a",h1:"h1",h2:"h2",img:"img",p:"p",strong:"strong",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"overview",children:"Overview"}),"\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.a,{href:"https://ci.gitnet.fr/deblan/side_menu",children:(0,s.jsx)(t.img,{src:"https://ci.gitnet.fr/api/badges/deblan/side_menu/status.svg",alt:"Build Status"})}),"\n",(0,s.jsx)(t.a,{href:"https://translate.codeberg.org/engage/custom-menu/",children:(0,s.jsx)(t.img,{src:"https://translate.codeberg.org/widgets/custom-menu/-/application/svg-badge.svg",alt:"Translations"})}),"\n",(0,s.jsx)(t.img,{src:"https://img.shields.io/badge/dynamic/json?color=brightgreen&label=downloads&query=%24.K_downloads&suffix=K&url=https%3A%2F%2Fapi-side-menu.deblan.org%2Fdownloads.php",alt:"Downloads"})]}),"\n",(0,s.jsx)(t.p,{children:"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.\nYou can also add and sort custom categories, define apps that must be displayed in the top menu, etc. Fully customisable."}),"\n",(0,s.jsx)(t.p,{children:"This application is rather suitable for instances that activate a lot of applications."}),"\n",(0,s.jsx)(t.p,{children:"You can customize colors depending of the theme (Dark theme and Breeze Dark)."}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.strong,{children:"You like this app and you want to support me?"})}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://www.buymeacoffee.com/deblan",children:(0,s.jsx)(t.img,{src:"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png",alt:""})})}),"\n",(0,s.jsx)(t.h2,{id:"support",children:"Support"}),"\n",(0,s.jsxs)(t.p,{children:["You can join the official room on Matrix: ",(0,s.jsxs)(t.a,{href:"https://matrix.to/#/#custommenu:neutralnetwork.org",children:["#custommenu",":neutralnetwork",".org"]}),"."]}),"\n",(0,s.jsx)(t.h2,{id:"notice",children:"Notice"}),"\n",(0,s.jsxs)(t.p,{children:["Because I believe in a free and decentralized Internet, ",(0,s.jsx)(t.a,{href:"https://gitnet.fr",children:"Gitnet"})," is ",(0,s.jsx)(t.strong,{children:"self-hosted at home"}),".\nIn case of downtime, you can download ",(0,s.jsx)(t.strong,{children:"Custom Menu"})," from ",(0,s.jsx)(t.a,{href:"https://kim.deblan.fr/~side_menu/",children:"here"}),"."]})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>r});var s=n(7294);const o={},i=s.createContext(o);function r(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:r(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[88],{9556:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>s,metadata:()=>c,toc:()=>p});var t=n(5893),r=n(1151);const s={sidebar_position:1},i="How to replace Apporder?",c={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:!1,unlisted:!1,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"}},d={},p=[];function a(e){const o={a:"a",code:"code",h1:"h1",li:"li",ol:"ol",p:"p",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.h1,{id:"how-to-replace-apporder",children:"How to replace Apporder?"}),"\n",(0,t.jsxs)(o.p,{children:["Custom Menu could replace ",(0,t.jsx)(o.a,{href:"https://github.com/juliushaertl/apporder",children:"Apporder"}),"."]}),"\n",(0,t.jsxs)(o.ol,{children:["\n",(0,t.jsx)(o.li,{children:"Go to user or global settings"}),"\n",(0,t.jsxs)(o.li,{children:["Scroll to ",(0,t.jsx)(o.code,{children:"Top menu"})," check all apps in ",(0,t.jsx)(o.code,{children:"Applications kept in the top menu"})]}),"\n",(0,t.jsxs)(o.li,{children:["Scroll to ",(0,t.jsx)(o.code,{children:"Applications"})," and customize sorting"]}),"\n",(0,t.jsx)(o.li,{children:"Save"}),"\n"]})]})}function l(e={}){const{wrapper:o}={...(0,r.a)(),...e.components};return o?(0,t.jsx)(o,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1151:(e,o,n)=>{n.d(o,{Z:()=>c,a:()=>i});var t=n(7294);const r={},s=t.createContext(r);function i(e){const o=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function c(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(s.Provider,{value:o},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[85],{4247:(e,a,s)=>{s.r(a),s.d(a,{default:()=>x});s(7294);var n=s(512),i=s(1944),c=s(5281),d=s(4023),l=s(9206),r=s(9407),t=s(2212);const o={mdxPageWrapper:"mdxPageWrapper_j9I6"};var m=s(5893);function x(e){const{content:a}=e,{metadata:{title:s,description:x,frontMatter:g,unlisted:p},assets:_}=a,{keywords:h,wrapperClassName:j,hide_table_of_contents:u}=g,v=_.image??g.image;return(0,m.jsx)(i.FG,{className:(0,n.Z)(j??c.k.wrapper.mdxPages,c.k.page.mdxPage),children:(0,m.jsxs)(d.Z,{children:[(0,m.jsx)(i.d,{title:s,description:x,keywords:h,image:v}),(0,m.jsx)("main",{className:"container container--fluid margin-vert--lg",children:(0,m.jsxs)("div",{className:(0,n.Z)("row",o.mdxPageWrapper),children:[(0,m.jsxs)("div",{className:(0,n.Z)("col",!u&&"col--8"),children:[p&&(0,m.jsx)(t.Z,{}),(0,m.jsx)("article",{children:(0,m.jsx)(l.Z,{children:(0,m.jsx)(a,{})})})]}),!u&&a.toc.length>0&&(0,m.jsx)("div",{className:"col col--2",children:(0,m.jsx)(r.Z,{toc:a.toc,minHeadingLevel:g.toc_min_heading_level,maxHeadingLevel:g.toc_max_heading_level})})]})})]})})}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[581],{388:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>a,default:()=>p,frontMatter:()=>r,metadata:()=>l,toc:()=>c});var s=n(5893),i=n(1151);const r={sidebar_position:2,title:"Installation and upgrade"},a="Installation and upgrade",l={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:!1,unlisted:!1,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"}},d={},c=[{value:"Use first top menu app as default app",id:"use-first-top-menu-app-as-default-app",level:3}];function o(e){const t={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,i.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"installation-and-upgrade",children:"Installation and upgrade"}),"\n",(0,s.jsxs)(t.p,{children:["Custom menu is available from the ",(0,s.jsx)(t.a,{href:"https://apps.nextcloud.com/apps/side_menu",children:"app store"}),"."]}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Version"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Nextcloud"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"PHP"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Other"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"3.x"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:">= 25"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"PHP >= 8.0"}),(0,s.jsxs)(t.td,{style:{textAlign:"center"},children:["App ",(0,s.jsx)(t.code,{children:"theming"})," enabled"]})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"2.x"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"< 25"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"PHP >= 7.1"}),(0,s.jsxs)(t.td,{style:{textAlign:"center"},children:["App ",(0,s.jsx)(t.code,{children:"theming"})," enabled"]})]})]})]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-bash",children:"cd /path/to/nextcloud\nphp occ app:install side_menu\n"})}),"\n",(0,s.jsxs)(t.p,{children:["If you want to install it from source, go to ",(0,s.jsx)(t.a,{href:"https://gitnet.fr/deblan/side_menu/releases",children:"https://gitnet.fr/deblan/side_menu/releases"})," and copy the link to the last release (side_menu_vX.Y.Z.tar.gz). Then:"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{children:"cd /path/to/nextcloud/apps\ncurl -sS https://gitnet.fr/attachments/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | tar xvfz -\n"})}),"\n",(0,s.jsx)(t.p,{children:"Administrators can edit many settings using the administration page."}),"\n",(0,s.jsx)(t.p,{children:"Users can disable the menu using the page of personal settings."}),"\n",(0,s.jsx)(t.h3,{id:"use-first-top-menu-app-as-default-app",children:"Use first top menu app as default app"}),"\n",(0,s.jsxs)(t.p,{children:["You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your ",(0,s.jsx)(t.code,{children:"config/config.php"}),":"]}),"\n",(0,s.jsx)(t.pre,{children:(0,s.jsx)(t.code,{className:"language-php-inline",children:"'defaultapp' => 'side_menu',\n"})}),"\n",(0,s.jsx)(t.p,{children:"If the top menu is empty then it redirects to files."})]})}function p(e={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>l,a:()=>a});var s=n(7294);const i={},r=s.createContext(i);function a(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function l(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[414],{1181:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>s,default:()=>l,frontMatter:()=>r,metadata:()=>c,toc:()=>p});var o=t(5893),a=t(1151);const r={title:"Markdown page example"},s="Markdown page example",c={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:!1},d={},p=[];function i(e){const n={h1:"h1",p:"p",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"markdown-page-example",children:"Markdown page example"}),"\n",(0,o.jsx)(n.p,{children:"You don't need React to write simple standalone pages."})]})}function l(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(i,{...e})}):i(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>s});var o=t(7294);const a={},r=o.createContext(a);function s(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:s(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[673],{3021:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>d});var o=t(5893),r=t(1151);const s={hide:["navigation","toc"]},a="How to contribute?",i={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:!1,unlisted:!1,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"}},c={},d=[{value:"You are a translator",id:"you-are-a-translator",level:2},{value:"You are a developer",id:"you-are-a-developer",level:2}];function l(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",li:"li",p:"p",ul:"ul",...(0,r.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"how-to-contribute",children:"How to contribute?"}),"\n",(0,o.jsxs)(n.p,{children:["You can report a bug or request a feature by opening an issue: ",(0,o.jsx)(n.a,{href:"https://gitnet.fr/deblan/side_menu/issues",children:"https://gitnet.fr/deblan/side_menu/issues"})]}),"\n",(0,o.jsx)(n.h2,{id:"you-are-a-translator",children:"You are a translator"}),"\n",(0,o.jsxs)(n.p,{children:["Translations are managed from ",(0,o.jsx)(n.a,{href:"https://translate.codeberg.org/projects/custom-menu/application/",children:"translate.codeberg.org"}),"."]}),"\n",(0,o.jsx)(n.h2,{id:"you-are-a-developer",children:"You are a developer"}),"\n",(0,o.jsxs)(n.ul,{children:["\n",(0,o.jsx)(n.li,{children:"fork the repository"}),"\n",(0,o.jsx)(n.li,{children:"install an instance of Nextcloud"}),"\n",(0,o.jsxs)(n.li,{children:["go to ",(0,o.jsx)(n.code,{children:"apps/"})," and clone your repository"]}),"\n",(0,o.jsxs)(n.li,{children:["go to ",(0,o.jsx)(n.code,{children:"apps/side_menu"})," and run ",(0,o.jsx)(n.code,{children:"make dep"})]}),"\n"]}),"\n",(0,o.jsxs)(n.p,{children:["Build javascripts using ",(0,o.jsx)(n.code,{children:"make build"})," (or ",(0,o.jsx)(n.code,{children:"make watch"})," to build them in real time)."]}),"\n",(0,o.jsx)(n.p,{children:"Then commit and create a pull request."})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1151:(e,n,t)=>{t.d(n,{Z:()=>i,a:()=>a});var o=t(7294);const r={},s=o.createContext(r);function a(e){const n=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:a(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[781],{3769:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-docs","id":"default"}')}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[572],{2572:(e,s,d)=>{d.r(s)}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[638],{4288:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>p,contentTitle:()=>r,default:()=>d,frontMatter:()=>i,metadata:()=>s,toc:()=>c});var o=n(5893),a=n(1151);const i={sidebar_position:2},r="Use first top menu app as default app",s={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:!1,unlisted:!1,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"}},p={},c=[];function u(e){const t={code:"code",h1:"h1",p:"p",pre:"pre",...(0,a.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.h1,{id:"use-first-top-menu-app-as-default-app",children:"Use first top menu app as default app"}),"\n",(0,o.jsx)(t.p,{children:"You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your configuration:"}),"\n",(0,o.jsx)(t.pre,{children:(0,o.jsx)(t.code,{className:"language-php-inline",metastring:'title="config/config.php"',children:"'defaultapp' => 'side_menu',\n"})})]})}function d(e={}){const{wrapper:t}={...(0,a.a)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>s,a:()=>r});var o=n(7294);const a={},i=o.createContext(a);function r(e){const t=o.useContext(i);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:r(e.components),o.createElement(i.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[661],{1892:(e,s,d)=>{d.r(s),d.d(s,{default:()=>t});d(7294);var n=d(512),r=d(1944),u=d(5281),a=d(8790),c=d(4023),l=d(5893);function t(e){return(0,l.jsx)(r.FG,{className:(0,n.Z)(u.k.wrapper.docsPages),children:(0,l.jsx)(c.Z,{children:(0,a.H)(e.route.routes)})})}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,61 @@
/*!
* lunr.Builder
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Index
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Pipeline
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Set
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.TokenSet
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.Vector
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.stemmer
* Copyright (C) 2020 Oliver Nightingale
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
*/
/*!
* lunr.stopWordFilter
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.tokenizer
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.trimmer
* Copyright (C) 2020 Oliver Nightingale
*/
/*!
* lunr.utils
* Copyright (C) 2020 Oliver Nightingale
*/
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9
* Copyright (C) 2020 Oliver Nightingale
* @license MIT
*/

View file

@ -0,0 +1 @@
(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[684],{9039:(e,s,d)=>{"use strict";d.d(s,{Z:()=>c});var n=d(1336);const c=n},5525:()=>{}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[772],{5658:(e,t,n)=>{n.d(t,{Z:()=>a});n(7294);var i=n(512),o=n(5999),s=n(2503),d=n(5893);function a(e){let{className:t}=e;return(0,d.jsx)("main",{className:(0,i.Z)("container margin-vert--xl",t),children:(0,d.jsx)("div",{className:"row",children:(0,d.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,d.jsx)(s.Z,{as:"h1",className:"hero__title",children:(0,d.jsx)(o.Z,{id:"theme.NotFound.title",description:"The title of the 404 page",children:"Page Not Found"})}),(0,d.jsx)("p",{children:(0,d.jsx)(o.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page",children:"We could not find what you were looking for."})}),(0,d.jsx)("p",{children:(0,d.jsx)(o.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page",children:"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."})})]})})})}},1772:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});n(7294);var i=n(5999),o=n(1944),s=n(4023),d=n(5658),a=n(5893);function r(){const e=(0,i.I)({id:"theme.NotFound.title",message:"Page Not Found"});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.d,{title:e}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(d.Z,{})})]})}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[908],{5745:e=>{e.exports=JSON.parse('{"name":"docusaurus-plugin-content-pages","id":"default"}')}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"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.12.0","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"}}}')}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[518],{8564:(n,e,s)=>{s.r(e),s.d(e,{default:()=>l});s(7294);var r=s(1944),o=s(3320),t=s(4477),i=s(8790),c=s(197),d=s(5893);function u(n){const{version:e}=n;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(c.Z,{version:e.version,tag:(0,o.os)(e.pluginId,e.version)}),(0,d.jsx)(r.d,{children:e.noIndex&&(0,d.jsx)("meta",{name:"robots",content:"noindex, nofollow"})})]})}function a(n){const{version:e,route:s}=n;return(0,d.jsx)(r.FG,{className:e.className,children:(0,d.jsx)(t.q,{version:e,children:(0,i.H)(s.routes)})})}function l(n){return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(u,{...n}),(0,d.jsx)(a,{...n})]})}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[686],{2428:(e,s,t)=>{t.r(s),t.d(s,{assets:()=>u,contentTitle:()=>i,default:()=>l,frontMatter:()=>r,metadata:()=>d,toc:()=>a});var n=t(5893),o=t(1151);const r={sidebar_position:4},i="Custom Menu doesn't work for guest users",d={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:!1,unlisted:!1,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"}},u={},a=[];function c(e){const s={a:"a",h1:"h1",img:"img",p:"p",...(0,o.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h1,{id:"custom-menu-doesnt-work-for-guest-users",children:"Custom Menu doesn't work for guest users"}),"\n",(0,n.jsx)(s.p,{children:"Custom menu must be added in app's allowlist."}),"\n",(0,n.jsx)("figure",{markdown:!0,children:(0,n.jsx)(s.p,{children:(0,n.jsx)(s.a,{target:"_blank","data-noBrokenLinkCheck":!0,href:t(1155).Z+"",children:(0,n.jsx)(s.img,{src:t(495).Z+"",width:"1241",height:"728"})})})})]})}function l(e={}){const{wrapper:s}={...(0,o.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(c,{...e})}):c(e)}},1155:(e,s,t)=>{t.d(s,{Z:()=>n});const n=t.p+"assets/files/allowlist-edad8688cf3708c22264b9fc0a6addde.png"},495:(e,s,t)=>{t.d(s,{Z:()=>n});const n=t.p+"assets/images/allowlist-edad8688cf3708c22264b9fc0a6addde.png"},1151:(e,s,t)=>{t.d(s,{Z:()=>d,a:()=>i});var n=t(7294);const o={},r=n.createContext(o);function i(e){const s=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function d(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[217],{3514:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>o,default:()=>a,frontMatter:()=>i,metadata:()=>d,toc:()=>c});var s=n(5893),r=n(1151);const i={sidebar_position:5,title:"Support"},o="Support",d={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:!1,unlisted:!1,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"}},l={},c=[];function u(e){const t={a:"a",h1:"h1",p:"p",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,r.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.h1,{id:"support",children:"Support"}),"\n",(0,s.jsxs)(t.p,{children:["Bugs and feature requests should be reported with an issue on ",(0,s.jsx)(t.a,{href:"https://gitnet.fr/deblan/side_menu/issues",children:"https://gitnet.fr/deblan/side_menu/issues"}),"."]}),"\n",(0,s.jsxs)(t.p,{children:["You can also join the official room on Matrix: ",(0,s.jsxs)(t.a,{href:"https://matrix.to/#/#custommenu:neutralnetwork.org",children:["#custommenu",":neutralnetwork",".org"]}),"."]}),"\n",(0,s.jsxs)(t.table,{children:[(0,s.jsx)(t.thead,{children:(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Version"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Security"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"Bug"}),(0,s.jsx)(t.th,{style:{textAlign:"center"},children:"New feature"})]})}),(0,s.jsxs)(t.tbody,{children:[(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"3.x"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Yes"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Yes"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Yes"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"2.x"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Yes"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"Yes"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"No"})]}),(0,s.jsxs)(t.tr,{children:[(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"1.x"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"No"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"No"}),(0,s.jsx)(t.td,{style:{textAlign:"center"},children:"No"})]})]})]})]})}function a(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1151:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>o});var s=n(7294);const r={},i=s.createContext(r);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);

View file

@ -0,0 +1 @@
"use strict";(self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[]).push([[370],{5808:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>a,metadata:()=>c,toc:()=>h});var t=s(5893),r=s(1151);const a={sidebar_position:2,title:"Screenshots"},i="Screenshots",c={id:"screenshots",title:"Screenshots",description:"",source:"@site/docs/screenshots.md",sourceDirName:".",slug:"/screenshots",permalink:"/side_menu_doc/docs/screenshots",draft:!1,unlisted:!1,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"}},d={},h=[];function o(e){const n={h1:"h1",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"screenshots",children:"Screenshots"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/n19_big_menu.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/n19_big_menu.png"})})}),(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc18_menu_always_displayed.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc18_menu_always_displayed.png"})})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc19_default_menu.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc19_default_menu.png"})})}),(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc20_big_menu_responsive.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc20_big_menu_responsive.png"})})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_big_menu.png"})})}),(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/nc25_default_menu.png"})})})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/personal_settings.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/personal_settings.png"})})}),(0,t.jsx)("td",{children:(0,t.jsx)("a",{target:"_blank",href:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/admin_settings.png",children:(0,t.jsx)("img",{src:"https://gitnet.fr/deblan/side_menu/raw/branch/master/screenshots/admin_settings.png"})})})]})]})]})}function l(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(o,{...e})}):o(e)}},1151:(e,n,s)=>{s.d(n,{Z:()=>c,a:()=>i});var t=s(7294);const r={},a=t.createContext(r);function i(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]);

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,71 @@
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
* @license MIT */
/*! Bundled license information:
prismjs/prism.js:
(**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*)
*/
/*!***************************************************
* mark.js v8.11.1
* https://markjs.io/
* Copyright (c) 20142018, Julian Kühnel
* Released under the MIT license https://git.io/vwTVl
*****************************************************/
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

View file

@ -0,0 +1 @@
(()=>{"use strict";var e,t,r,a,o,n={},c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var r=c[e]={id:e,loaded:!1,exports:{}};return n[e].call(r.exports,r,r.exports,d),r.loaded=!0,r.exports}d.m=n,d.c=c,e=[],d.O=(t,r,a,o)=>{if(!r){var n=1/0;for(b=0;b<e.length;b++){r=e[b][0],a=e[b][1],o=e[b][2];for(var c=!0,f=0;f<r.length;f++)(!1&o||n>=o)&&Object.keys(d.O).every((e=>d.O[e](r[f])))?r.splice(f--,1):(c=!1,o<n&&(n=o));if(c){e.splice(b--,1);var i=a();void 0!==i&&(t=i)}}return t}o=o||0;for(var b=e.length;b>0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[r,a,o]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var n={};t=t||[null,r({}),r([]),r(r)];for(var c=2&a&&e;"object"==typeof c&&!~t.indexOf(c);c=r(c))Object.getOwnPropertyNames(c).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,d.d(o,n),o},d.d=(e,t)=>{for(var r in t)d.o(t,r)&&!d.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,r)=>(d.f[r](e,t),t)),[])),d.u=e=>"assets/js/"+({53:"935f2afb",80:"9beb87c2",85:"1f391b9e",88:"128808b4",195:"c4f5d8e4",217:"d9e16301",362:"05cb0ad5",368:"a94703ab",370:"f0ba2e1c",414:"393be207",518:"a7bd4aaa",581:"3847b3ea",638:"5e5e257a",661:"5e95c892",671:"0e384e19",673:"485c0c9e",686:"d41ee077",781:"522f38f8",908:"85f4d304",918:"17896441"}[e]||e)+"."+{53:"972660df",80:"b2c29f6c",85:"5a5a8c43",88:"c8e95ea9",195:"04e6f45f",217:"ea6c01e7",362:"9cca669a",368:"b72db629",370:"119f5a8c",414:"5d365953",518:"43c68614",572:"f2d0cdde",581:"822259ee",611:"cc0b247c",638:"bd2e4e97",661:"40697f12",671:"06ef3a00",673:"2ceeae37",684:"9e1b0127",686:"43a632b7",692:"34e67df3",772:"2a039aab",781:"1a9ace34",908:"f8746556",918:"92a6595d"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="deblan/side_menu_doc:",d.l=(e,t,r,n)=>{if(a[e])a[e].push(t);else{var c,f;if(void 0!==r)for(var i=document.getElementsByTagName("script"),b=0;b<i.length;b++){var u=i[b];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+r){c=u;break}}c||(f=!0,(c=document.createElement("script")).charset="utf-8",c.timeout=120,d.nc&&c.setAttribute("nonce",d.nc),c.setAttribute("data-webpack",o+r),c.src=e),a[e]=[t];var l=(t,r)=>{c.onerror=c.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:c}),12e4);c.onerror=l.bind(null,c.onerror),c.onload=l.bind(null,c.onload),f&&document.head.appendChild(c)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/side_menu_doc/",d.gca=function(e){return e={17896441:"918","935f2afb":"53","9beb87c2":"80","1f391b9e":"85","128808b4":"88",c4f5d8e4:"195",d9e16301:"217","05cb0ad5":"362",a94703ab:"368",f0ba2e1c:"370","393be207":"414",a7bd4aaa:"518","3847b3ea":"581","5e5e257a":"638","5e95c892":"661","0e384e19":"671","485c0c9e":"673",d41ee077:"686","522f38f8":"781","85f4d304":"908"}[e]||e,d.p+d.u(e)},(()=>{var e={303:0,532:0};d.f.j=(t,r)=>{var a=d.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(303|532)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var n=d.p+d.u(t),c=new Error;d.l(n,(r=>{if(d.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),n=r&&r.target&&r.target.src;c.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",c.name="ChunkLoadError",c.type=o,c.request=n,a[1](c)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,n=r[0],c=r[1],f=r[2],i=0;if(n.some((t=>0!==e[t]))){for(a in c)d.o(c,a)&&(d.m[a]=c[a]);if(f)var b=f(d)}for(t&&t(r);i<n.length;i++)o=n[i],d.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return d.O(b)},r=self.webpackChunkdeblan_side_menu_doc=self.webpackChunkdeblan_side_menu_doc||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})()})();

View file

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

View file

@ -1,161 +0,0 @@
#!/bin/sh
usage() {
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] [-u https://example.com/CHANGELOG.md]
DESCRIPTION
$0 generates a markdown content of a changelog file.
OPTIONS
-h Show this help
-f FILE
Path to changelog
-u URL
URL of the changelog
-l debug|info|notice|warning|error
Debug level
EOH
}
on_interrupt() {
print "Process aborted!\n"
exit 130
}
main() {
CHANGELOG_FILE="${CHANGELOG_FILE:-}"
CHANGELOG_URL="${CHANGELOG_URL:-}"
LOG_VERBOSE="${CHANGELOG_FILE:-info}"
while getopts "l:hf:u:" option; do
case "${option}" in
h) help; exit 0;;
f) CHANGELOG_FILE="$OPTARG";;
u) CHANGELOG_URL="$OPTARG";;
l) LOG_VERBOSE="$OPTARG";;
?) log -l error "$(usage)"; exit 1;;
esac
done
temp_directory="$(mktemp -d)"
version=
is_first=1
if [ -n "$CHANGELOG_FILE" ]; then
if [ ! -f "$CHANGELOG_FILE" ]; then
log -l error "No such file: $CHANGELOG_FILE"
else
log -l info "File used: $CHANGELOG_FILE"
fi
elif [ -n "$CHANGELOG_URL" ]; then
log -l debug "URL used: $CHANGELOG_URL"
CHANGELOG_FILE="$temp_directory/_changelog"
curl -sS -o "$CHANGELOG_FILE" "$CHANGELOG_URL" || exit 0
else
log -l error "You must define a file or an url"
exit 1
fi
cat << EOF
---
sidebar_position: 7
---
# Changelog
EOF
while read -r line; do
if printf "%s" "$line" | grep -q -E '^## '; then
version="$(printf "%s" "$line" | sed 's/^## //')"
if [ "$version" = "[Unreleased]" ]; then
version=""
fi
elif [ -n "$version" ]; then
printf "%s\n" "$line" >> "$temp_directory/$version"
fi
done < "$CHANGELOG_FILE"
while read -r line; do
if printf "%s" "$line" | grep -q -E '^## '; then
version="$(printf "%s" "$line" | sed 's/^## //')"
if [ "$version" != "[Unreleased]" ]; then
log -l info "Version detected: $version"
printf "## %s\n" "$version"
sed \
-e 's/### \(.*\)/\n**\1**\n/g' \
"$temp_directory/$version"
fi
fi
done < "$CHANGELOG_FILE"
exit 0
}
log() {
LOG_VERBOSE="${LOG_VERBOSE:-info}"
LEVEL=info
TIME=
while getopts "tl:" option; do
case "${option}" in
l) LEVEL="$OPTARG"; shift $((OPTIND-1));;
t) TIME="$(printf "[%s] " "$(date +'%Y-%m-%dT%H:%M:%S.%s')")"; shift $((OPTIND-1));;
*) exit 1;;
esac
done
if [ -t 2 ] && [ -z "${NO_COLOR-}" ]; then
case "${LEVEL}" in
debug) COLOR="$(tput setaf 3)";;
notice) COLOR="$(tput setaf 4)";;
warning) COLOR="$(tput setaf 5)";;
error) COLOR="$(tput setaf 1)";;
*) COLOR="$(tput sgr0)";;
esac
fi
case "${LEVEL}" in
debug) LEVEL=100;;
notice) LEVEL=250;;
warning) LEVEL=300;;
error) LEVEL=400;;
*) LEVEL=200;;
esac
case "${LOG_VERBOSE}" in
debug) LOG_VERBOSE_VALUE=100;;
notice) LOG_VERBOSE_VALUE=250;;
warning) LOG_VERBOSE_VALUE=300;;
error) LOG_VERBOSE_VALUE=400;;
*) LOG_VERBOSE_VALUE=200;;
esac
if [ $LEVEL -ge $LOG_VERBOSE_VALUE ]; then
printf "%s\n" "$*" | while IFS='' read -r LINE; do
printf "%s%s%s%s\n" "${COLOR:-}" "${TIME:-}" "$LINE" "$(tput init)" >&2
done
fi
}
trap on_interrupt INT
main "$@"

BIN
content/allowlist.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

View file

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View file

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
content/export_conf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 KiB

View file

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View file

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 2 KiB

Some files were not shown because too many files have changed in this diff Show more