From 1f02537ecbd5f50ccd4ac9c63dda477b355ead25 Mon Sep 17 00:00:00 2001 From: Serhii Pylypchuk Date: Sat, 25 May 2024 12:44:07 +0400 Subject: [PATCH] [update] Backend API - restructuring sidebar --- docusaurus.config.js | 143 +++------ sidebars.js | 687 +++++++++++++++++++++---------------------- 2 files changed, 389 insertions(+), 441 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 43b9401..820b8e0 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -131,53 +131,12 @@ module.exports = { baseUrl: '/todolist/', onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', + onBrokenAnchors: 'warn', favicon: 'img/favicon.ico', - organizationName: 'DHTMLX', // Usually your GitHub org/user name - projectName: 'docs-todolist', // Usually your repo name + organizationName: 'DHTMLX', + projectName: 'docs-todolist', trailingSlash: true, themeConfig: { - /*colorMode: { - // "light" | "dark" - defaultMode: 'light', - - // Hides the switch in the navbar - // Useful if you want to support a single color mode - disableSwitch: false, - - // Should we use the prefers-color-scheme media-query, - // using user system preferences, instead of the hardcoded defaultMode - respectPrefersColorScheme: true, - - // Dark/light switch icon options - switchConfig: { - darkIcon: '🌙', - darkIconStyle: { - marginLeft: '0px', - }, - lightIcon: '☀️', - lightIconStyle: { - marginLeft: '0px', - }, - }, - },*/ - - // This part can be deleted after release - /*algolia: { - // This is a read-only, search-only key served directly by the front-end, managed by Algolia via their - // free DocSearch program. The key is not sensitive. See https://docsearch.algolia.com/ for more details. - //appId: '123', // TODO: change it - appId: '123', // TODO: change it - apiKey: '123', // TODO: change it - indexName: 'todolistalt', // TODO: change it - - // Optional: see doc section bellow - contextualSearch: true, - - // Optional: Algolia search parameters - searchParameters: {}, - - //... other Algolia params - },*/ prism: { // theme: require('prism-react-renderer/themes/github'), // darkTheme: require('prism-react-renderer/themes/dracula'), @@ -187,101 +146,101 @@ module.exports = { logo: { alt: 'DHTMLX To Do List Logo', src: 'img/dhtmlx_logo.svg', - href: 'https://docs.dhtmlx.com/', - + href: 'https://docs.dhtmlx.com/' }, - items: [{ + items: [ + { label: 'Examples', - href: 'https://snippet.dhtmlx.com/3vwlbwee?tag=todolist', // Todo change before release - position: 'right', + href: 'https://snippet.dhtmlx.com/3vwlbwee?tag=todolist', + position: 'right' }, { label: 'Forum', - href: 'https://forum.dhtmlx.com/c/todo', // Todo change before release + href: 'https://forum.dhtmlx.com/c/todo', position: 'right' }, { label: 'Support', href: 'https://dhtmlx.com/docs/technical-support.shtml', - position: 'right', + position: 'right' }, { label: 'Download', - href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/download.shtml', // Todo change before release - position: 'right', - }, - ], + href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/download.shtml', + position: 'right' + } + ] }, footer: { style: 'dark', links: [ { title: 'Development center', - items: [{ + items: [ + { label: 'Download To Do List', - href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/download.shtml', // Todo change before release - position: 'right', + href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/download.shtml', + position: 'right' }, { label: 'Examples', - href: 'https://snippet.dhtmlx.com/3vwlbwee?tag=todolist', // Todo change before release - position: 'right', + href: 'https://snippet.dhtmlx.com/3vwlbwee?tag=todolist', + position: 'right' }, { label: 'Blog', - href: 'https://dhtmlx.com/blog/tag/to-do-list/', + href: 'https://dhtmlx.com/blog/tag/to-do-list/' }, { label: 'Forum', - href: 'https://forum.dhtmlx.com/c/todo', // Todo change before release + href: 'https://forum.dhtmlx.com/c/todo', position: 'right' - }, - ], + } + ] }, { title: 'Community', items: [{ label: 'GitHub', - href: 'https://github.com/DHTMLX', + href: 'https://github.com/DHTMLX' }, { label: 'Youtube', - href: 'https://www.youtube.com/user/dhtmlx', + href: 'https://www.youtube.com/user/dhtmlx' }, { label: 'Facebook', - href: 'https://www.facebook.com/dhtmlx', + href: 'https://www.facebook.com/dhtmlx' }, { label: 'Twitter', - href: 'https://twitter.com/dhtmlx', + href: 'https://twitter.com/dhtmlx' }, { label: 'Linkedin', - href: 'https://www.linkedin.com/groups/3345009/', - }, - - ], + href: 'https://www.linkedin.com/groups/3345009/' + } + ] }, { title: 'Company', items: [{ label: 'About us', - href: 'https://dhtmlx.com/docs/company.shtml', + href: 'https://dhtmlx.com/docs/company.shtml' }, { label: 'Contact us', - href: 'https://dhtmlx.com/docs/contact.shtml', + href: 'https://dhtmlx.com/docs/contact.shtml' }, { label: 'Licensing', - href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/#licensing', // Todo change before release - }, - ], - }, - ], - }, + href: 'https://dhtmlx.com/docs/products/dhtmlxTodo/#licensing' + } + ] + } + ] + } }, presets: [ [ @@ -289,24 +248,18 @@ module.exports = { { docs: { sidebarPath: require.resolve('./sidebars.js'), - // Please change this to your repo. editUrl: 'https://github.com/DHTMLX/docs-todolist/edit/master/', - routeBasePath: '/', + routeBasePath: '/' }, - // blog: { - // showReadingTime: true, - // // Please change this to your repo. - // editUrl: 'https://github.com/facebook/docusaurus/edit/master/website/blog/', - // }, theme: { - customCss: require.resolve('./src/css/custom.css'), + customCss: require.resolve('./src/css/custom.css') }, sitemap: { changefreq: 'daily', - priority: 0.5, - }, - }, - ], + priority: 0.5 + } + } + ] ], plugins: [ 'docusaurus-plugin-sass', @@ -323,7 +276,7 @@ module.exports = { [ require.resolve('docusaurus-gtm-plugin'), { - id: 'GTM-5M5RCSJ', + id: 'GTM-5M5RCSJ' } ] ], @@ -338,7 +291,7 @@ module.exports = { removeDefaultStemmer: true, removeDefaultStopWordFilter: true, explicitSearchResultPath: true - }, - ], + } + ] ] }; diff --git a/sidebars.js b/sidebars.js index ad21a31..656cefc 100644 --- a/sidebars.js +++ b/sidebars.js @@ -13,17 +13,17 @@ module.exports = { type: "category", label: "What's new and migration", link: { - type: 'generated-index', - title: "What's new and migration", - //description: '', - //slug: '/category/docusaurus-guides', - keywords: ['news'], - image: '/img/docusaurus.png', + type: 'generated-index', + title: "What's new and migration", + //description: '', + //slug: '/category/docusaurus-guides', + keywords: ['news'], + image: '/img/docusaurus.png' }, items: [ "whats_new", - "migration", - ], + "migration" + ] }, // API { @@ -32,385 +32,381 @@ module.exports = { collapsible: true, collapsed: false, link: { - type: 'generated-index', - title: "API", - - keywords: ['api'], - image: '/img/docusaurus.png', - }, - items: [ - { - type: "category", - label: "To Do List API", - collapsible: true, - collapsed: true, - link: { - type: 'doc', - id: 'api/api_overview' + type: 'generated-index', + title: "API", + keywords: ['api'], + image: '/img/docusaurus.png' }, items: [ - //"api/api_overview", - // To Do List methods { type: "category", - label: "To Do List methods", + label: "To Do List API", collapsible: true, collapsed: true, link: { type: 'doc', - id: 'api/overview/methods_overview', - }, - items: [ - "api/methods/addproject_method", - "api/methods/addtask_method", - "api/methods/assignuser_method", - "api/methods/checktask_method", - "api/methods/closeinlineeditor_method", - //"api/methods/closemenu_method", - "api/methods/collapsetask_method", - "api/methods/copytask_method", - "api/methods/deleteproject_method", - "api/methods/deletetask_method", - "api/methods/destructor_method", - "api/methods/eachselected_method", - "api/methods/existsproject_method", - "api/methods/existstask_method", - "api/methods/expandtask_method", - "api/methods/getchildrenids_method", - "api/methods/getparentids_method", - "api/methods/getproject_method", - "api/methods/getselection_method", - "api/methods/gettask_method", - "api/methods/haschildren_method", - "api/methods/hidecompletedtasks_method", - "api/methods/indenttask_method", - "api/methods/movetask_method", - "api/methods/openinlineeditor_method", - //"api/methods/openmenu_method", - "api/methods/parse_method", - "api/methods/pastetask_method", - "api/methods/selecttask_method", - "api/methods/serialize_method", - "api/methods/setconfig_method", - "api/methods/setfilter_method", - "api/methods/setlocale_method", - "api/methods/setproject_method", - "api/methods/setsort_method", - "api/methods/showcompletedtasks_method", - "api/methods/unassignuser_method", - "api/methods/unchecktask_method", - "api/methods/unindenttask_method", - "api/methods/unselecttask_method", - "api/methods/updateproject_method", - "api/methods/updatetask_method", - ] - }, - { - type: "category", - label: "To Do List internal API", - collapsible: true, - collapsed: true, - link: { - type: 'generated-index', - title: "API", - keywords: ['internal api'], - image: '/img/docusaurus.png', + id: 'api/api_overview' }, items: [ + //"api/api_overview", + // To Do List methods { type: "category", - label: "Event Bus methods", + label: "To Do List methods", collapsible: true, collapsed: true, link: { - type: 'generated-index', - title: "Event Bus methods", - keywords: ['internal api'], - image: '/img/docusaurus.png', + type: 'doc', + id: 'api/overview/methods_overview' }, items: [ - "api/internal/exec_method", - "api/internal/intercept_method", - "api/internal/on_method", - "api/internal/setnext_method", + "api/methods/addproject_method", + "api/methods/addtask_method", + "api/methods/assignuser_method", + "api/methods/checktask_method", + "api/methods/closeinlineeditor_method", + //"api/methods/closemenu_method", + "api/methods/collapsetask_method", + "api/methods/copytask_method", + "api/methods/deleteproject_method", + "api/methods/deletetask_method", + "api/methods/destructor_method", + "api/methods/eachselected_method", + "api/methods/existsproject_method", + "api/methods/existstask_method", + "api/methods/expandtask_method", + "api/methods/getchildrenids_method", + "api/methods/getparentids_method", + "api/methods/getproject_method", + "api/methods/getselection_method", + "api/methods/gettask_method", + "api/methods/haschildren_method", + "api/methods/hidecompletedtasks_method", + "api/methods/indenttask_method", + "api/methods/movetask_method", + "api/methods/openinlineeditor_method", + //"api/methods/openmenu_method", + "api/methods/parse_method", + "api/methods/pastetask_method", + "api/methods/selecttask_method", + "api/methods/serialize_method", + "api/methods/setconfig_method", + "api/methods/setfilter_method", + "api/methods/setlocale_method", + "api/methods/setproject_method", + "api/methods/setsort_method", + "api/methods/showcompletedtasks_method", + "api/methods/unassignuser_method", + "api/methods/unchecktask_method", + "api/methods/unindenttask_method", + "api/methods/unselecttask_method", + "api/methods/updateproject_method", + "api/methods/updatetask_method" ] }, { type: "category", - label: "State methods", + label: "To Do List internal API", collapsible: true, collapsed: true, link: { type: 'generated-index', - title: "State methods", - keywords: ['internal api'], - image: '/img/docusaurus.png', + title: "API", + keywords: ['internal api'], + image: '/img/docusaurus.png' }, items: [ - "api/internal/getreactivestate_method", - "api/internal/getstate_method", - "api/internal/getstores_method", + { + type: "category", + label: "Event Bus methods", + collapsible: true, + collapsed: true, + link: { + type: 'generated-index', + title: "Event Bus methods", + keywords: ['internal api'], + image: '/img/docusaurus.png' + }, + items: [ + "api/internal/exec_method", + "api/internal/intercept_method", + "api/internal/on_method", + "api/internal/setnext_method" + ] + }, + { + type: "category", + label: "State methods", + collapsible: true, + collapsed: true, + link: { + type: 'generated-index', + title: "State methods", + keywords: ['internal api'], + image: '/img/docusaurus.png' + }, + items: [ + "api/internal/getreactivestate_method", + "api/internal/getstate_method", + "api/internal/getstores_method" + ] + } ] }, + { + type: "category", + label: "To Do List events", + collapsible: true, + collapsed: true, + link: { + type: 'doc', + id: 'api/overview/events_overview' + }, + items: [ + // To Do List events + "api/events/addproject_event", + "api/events/addtask_event", + "api/events/assignuser_event", + "api/events/checktask_event", + //"api/events/clickmenuitem_event", + "api/events/clonetask_event", + "api/events/closeinlineeditor_event", + "api/events/closemenu_event", + "api/events/collapsetask_event", + "api/events/copytask_event", + "api/events/deleteproject_event", + "api/events/deletetask_event", + "api/events/drag_event", + "api/events/edititem_event", + "api/events/enddrag_event", + "api/events/expandtask_event", + "api/events/hidecompletedtasks_event", + "api/events/indenttask_event", + "api/events/keypressontodo_event", + "api/events/movetask_event", + "api/events/openinlineeditor_event", + "api/events/openmenu_event", + "api/events/pastetask_event", + "api/events/selecttask_event", + "api/events/setfilter_event", + "api/events/setproject_event", + "api/events/setsort_event", + "api/events/showcompletedtasks_event", + "api/events/startdrag_event", + "api/events/unassignuser_event", + "api/events/unchecktask_event", + "api/events/unindenttask_event", + "api/events/unselecttask_event", + "api/events/updateproject_event", + "api/events/updatetask_event" + ] + }, + { + type: "category", + label: "To Do List properties", + collapsible: true, + collapsed: true, + link: { + type: 'doc', + id: 'api/overview/configs_overview' + }, + items: [ + // To Do List properties + "api/configs/activeproject_config", + "api/configs/drag_config", + "api/configs/id_config", + "api/configs/locale_config", + "api/configs/priorities_config", + "api/configs/projects_config", + "api/configs/readonly_config", + "api/configs/selected_config", + "api/configs/tags_config", + "api/configs/tasks_config", + "api/configs/taskshape_config", + "api/configs/users_config" + ] + } ] }, + // Toolbar api { type: "category", - label: "To Do List events", - collapsible: true, - collapsed: true, - link: { - type: 'doc', - id: 'api/overview/events_overview', - }, - items: [ - // To Do List events - "api/events/addproject_event", - "api/events/addtask_event", - "api/events/assignuser_event", - "api/events/checktask_event", - //"api/events/clickmenuitem_event", - "api/events/clonetask_event", - "api/events/closeinlineeditor_event", - "api/events/closemenu_event", - "api/events/collapsetask_event", - "api/events/copytask_event", - "api/events/deleteproject_event", - "api/events/deletetask_event", - "api/events/drag_event", - "api/events/edititem_event", - "api/events/enddrag_event", - "api/events/expandtask_event", - "api/events/hidecompletedtasks_event", - "api/events/indenttask_event", - "api/events/keypressontodo_event", - "api/events/movetask_event", - "api/events/openinlineeditor_event", - "api/events/openmenu_event", - "api/events/pastetask_event", - "api/events/selecttask_event", - "api/events/setfilter_event", - "api/events/setproject_event", - "api/events/setsort_event", - "api/events/showcompletedtasks_event", - "api/events/startdrag_event", - "api/events/unassignuser_event", - "api/events/unchecktask_event", - "api/events/unindenttask_event", - "api/events/unselecttask_event", - "api/events/updateproject_event", - "api/events/updatetask_event", - ] - }, - { - type: "category", - label: "To Do List properties", - collapsible: true, - collapsed: true, - link: { - type: 'doc', - id: 'api/overview/configs_overview', - }, - items: [ - // To Do List properties - "api/configs/activeproject_config", - "api/configs/drag_config", - "api/configs/id_config", - "api/configs/locale_config", - "api/configs/priorities_config", - "api/configs/projects_config", - "api/configs/readonly_config", - "api/configs/selected_config", - "api/configs/tags_config", - "api/configs/tasks_config", - "api/configs/taskshape_config", - "api/configs/users_config", - ] - } - ] - }, - - // Toolbar api - { - type: "category", - label: "Toolbar API", - collapsible: true, - collapsed: true, - link: { - type: 'generated-index', - title: "Toolbar API", - keywords: ['toolbar api'], - image: '/img/docusaurus.png' - }, - items: [ - { - type: "category", - label: "Toolbar methods", + label: "Toolbar API", collapsible: true, collapsed: true, link: { type: 'generated-index', - title: "Toolbar methods", - keywords: ['toolbar methods'], + title: "Toolbar API", + keywords: ['toolbar api'], image: '/img/docusaurus.png' }, items: [ - "api/toolbar_api/methods/destructor_method", - "api/toolbar_api/methods/setconfig_method", - "api/toolbar_api/methods/setlocale_method", + { + type: "category", + label: "Toolbar methods", + collapsible: true, + collapsed: true, + link: { + type: 'generated-index', + title: "Toolbar methods", + keywords: ['toolbar methods'], + image: '/img/docusaurus.png' + }, + items: [ + "api/toolbar_api/methods/destructor_method", + "api/toolbar_api/methods/setconfig_method", + "api/toolbar_api/methods/setlocale_method", + ] + }, + { + type: "category", + label: "Toolbar properties", + collapsible: true, + collapsed: true, + link: { + type: 'generated-index', + title: "Toolbar properties", + keywords: ['toolbar properties'], + image: '/img/docusaurus.png' + }, + items: [ + "api/toolbar_api/configs/api_config", + "api/toolbar_api/configs/items_config", + "api/toolbar_api/configs/locale_config", + ] + } ] }, + // Backend api { type: "category", - label: "Toolbar properties", + label: "Backend API", collapsible: true, collapsed: true, link: { type: 'generated-index', - title: "Toolbar properties", - keywords: ['toolbar properties'], + title: "Backend API", + keywords: ['rest api'], image: '/img/docusaurus.png' }, items: [ - "api/toolbar_api/configs/api_config", - "api/toolbar_api/configs/items_config", - "api/toolbar_api/configs/locale_config", + // RestDataProvider api + { + type: "category", + label: "RestDataProvider API", + collapsible: true, + collapsed: true, + link: { + type: 'generated-index', + title: "RestDataProvider API", + keywords: ['rest api'], + image: '/img/docusaurus.png' + }, + items: [ + { + type: "category", + label: "REST methods", + collapsed: true, + link: { + type: 'generated-index', + title: "REST methods", + keywords: ['rest methods'], + image: '/img/docusaurus.png' + }, + items: [ + "api/rest_api/methods/getprojects_method", + "api/rest_api/methods/getprojecttasks_method", + "api/rest_api/methods/gettags_method", + "api/rest_api/methods/gettasks_method", + "api/rest_api/methods/getusers_method", + "api/rest_api/methods/setapi_method", + "api/rest_api/methods/send_method" + ] + } + ] + }, + // REST routes + { + type: "category", + label: "REST routes", + collapsed: true, + link: { + type: 'doc', + id: 'api/rest_api/routes/rest_routes_overview' + }, + items: [ + { + type: "category", + label: "GET routes", + collapsed: true, + link: { + type: 'generated-index', + title: "GET routes", + keywords: ['routes'], + image: '/img/docusaurus.png' + }, + items: [ + "api/rest_api/routes/get_routes/get_projects", + "api/rest_api/routes/get_routes/get_tasks", + "api/rest_api/routes/get_routes/get_projecttasks", + "api/rest_api/routes/get_routes/get_users", + "api/rest_api/routes/get_routes/get_tags" + ] + }, + { + type: "category", + label: "POST routes", + collapsed: true, + link: { + type: 'generated-index', + title: "POST routes", + keywords: ['routes'], + image: '/img/docusaurus.png' + }, + items: [ + "api/rest_api/routes/post_routes/post_tasks", + "api/rest_api/routes/post_routes/post_projects", + "api/rest_api/routes/post_routes/post_clone" + ] + }, + { + type: "category", + label: "PUT routes", + collapsed: true, + link: { + type: 'generated-index', + title: "PUT routes", + keywords: ['routes'], + image: '/img/docusaurus.png' + }, + items: [ + "api/rest_api/routes/put_routes/put_tasks", + "api/rest_api/routes/put_routes/put_projects", + "api/rest_api/routes/put_routes/put_move", + "api/rest_api/routes/put_routes/put_sort" + ] + }, + { + type: "category", + label: "DELETE routes", + collapsed: true, + link: { + type: 'generated-index', + title: "DELETE routes", + keywords: ['routes'], + image: '/img/docusaurus.png' + }, + items: [ + "api/rest_api/routes/delete_routes/delete_tasks", + "api/rest_api/routes/delete_routes/delete_projects" + ] + } + ] + } ] } ] }, - - // RestDataProvider api - { - type: "category", - label: "RestDataProvider API", - collapsible: true, - collapsed: true, - link: { - type: 'generated-index', - title: "RestDataProvider API", - keywords: ['rest api'], - image: '/img/docusaurus.png' - }, - items: [ - { - type: "category", - label: "REST methods", - collapsed: true, - link: { - type: 'generated-index', - title: "REST methods", - keywords: ['rest methods'], - image: '/img/docusaurus.png' - }, - items: [ - "api/rest_api/methods/getprojects_method", - "api/rest_api/methods/getprojecttasks_method", - "api/rest_api/methods/gettags_method", - "api/rest_api/methods/gettasks_method", - "api/rest_api/methods/getusers_method", - "api/rest_api/methods/setapi_method", - "api/rest_api/methods/send_method", - ] - - }, - { - type: "category", - label: "REST routes", - collapsed: true, - link: { - type: 'doc', - id: 'api/rest_api/routes/rest_routes_overview' - - - }, - - items: [ - { - type: "category", - label: "GET routes", - collapsed: true, - link: { - type: 'generated-index', - title: "GET routes", - keywords: ['routes'], - image: '/img/docusaurus.png' - }, - items: [ - "api/rest_api/routes/get_routes/get_projects", - "api/rest_api/routes/get_routes/get_tasks", - "api/rest_api/routes/get_routes/get_projecttasks", - "api/rest_api/routes/get_routes/get_users", - "api/rest_api/routes/get_routes/get_tags", - ] - - }, - { - type: "category", - label: "POST routes", - collapsed: true, - link: { - type: 'generated-index', - title: "POST routes", - keywords: ['routes'], - image: '/img/docusaurus.png' - }, - items: [ - "api/rest_api/routes/post_routes/post_tasks", - "api/rest_api/routes/post_routes/post_projects", - "api/rest_api/routes/post_routes/post_clone", - - - ] - - }, - { - type: "category", - label: "PUT routes", - collapsed: true, - link: { - type: 'generated-index', - title: "PUT routes", - keywords: ['routes'], - image: '/img/docusaurus.png' - }, - items: [ - "api/rest_api/routes/put_routes/put_tasks", - "api/rest_api/routes/put_routes/put_projects", - "api/rest_api/routes/put_routes/put_move", - "api/rest_api/routes/put_routes/put_sort", - - - ] - - }, - - { - type: "category", - label: "DELETE routes", - collapsed: true, - link: { - type: 'generated-index', - title: "DELETE routes", - keywords: ['routes'], - image: '/img/docusaurus.png' - }, - items: [ - "api/rest_api/routes/delete_routes/delete_tasks", - "api/rest_api/routes/delete_routes/delete_projects", - - - ] - - } - ] - - } - - ] - }] - }, - //start Backend and frameworks integration { type: "category", @@ -427,23 +423,22 @@ module.exports = { "guides/integration_with_react", "guides/integration_with_vue", "guides/integration_with_svelte", - "guides/integration", - ], + "guides/integration" + ] }, // end Backend and frameworks integration - { type: "category", label: "Guides", collapsible: true, collapsed: true, link: { - type: 'generated-index', - title: 'Guides', - //description: '', - //slug: '/category/docusaurus-guides', - keywords: ['guides'], - image: '/img/docusaurus.png', + type: 'generated-index', + title: 'Guides', + //description: '', + //slug: '/category/docusaurus-guides', + keywords: ['guides'], + image: '/img/docusaurus.png' }, items: [ "guides/initialization", @@ -457,7 +452,7 @@ module.exports = { collapsed: true, link: { type: 'doc', - id: 'guides/task_index', + id: 'guides/task_index' }, items: [ "guides/task_object", @@ -466,7 +461,7 @@ module.exports = { "guides/task_users", "guides/sorting_filtering_tasks", "guides/hide_completed_tasks", - "guides/readonly_mode", + "guides/readonly_mode" ] }, { @@ -476,11 +471,11 @@ module.exports = { collapsed: true, link: { type: 'doc', - id: 'guides/project_index', + id: 'guides/project_index' }, items: [ "guides/project_object_operations", - "guides/project_operations", + "guides/project_operations" ] }, "guides/inline_editing", @@ -489,6 +484,6 @@ module.exports = { "guides/stylization", //"guides/integration", ] - }, + } ] };