diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-002-docs-goto-command.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-002-docs-goto-command.json index 7ea7d04af..c3ea16d70 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-002-docs-goto-command.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-002-docs-goto-command.json @@ -52,8 +52,8 @@ }, { "style": "Javascript", - "text": "docs.goto Superalgos->Topic->Docs Text Style", - "updated": 1609142790073 + "text": "docs.goto Superalgos->Topic->Docs Text Style->Anchor 1", + "updated": 1609151565628 } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-003-docs-add-command.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-003-docs-add-command.json index 517493f16..cb1740f15 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-003-docs-add-command.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-003-docs-add-command.json @@ -3,7 +3,8 @@ "pageNumber": "3", "type": "Docs Add Command", "definition": { - "text": "Write here a summary for this topic page." + "text": "Use this command to add a new page to the Docs.", + "updated": 1609151813687 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-004-docs-delete-command.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-004-docs-delete-command.json index 9350c55c6..532c2a96d 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-004-docs-delete-command.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-004-docs-delete-command.json @@ -3,12 +3,85 @@ "pageNumber": "4", "type": "Docs Delete Command", "definition": { - "text": "Write here a summary for this topic page." + "text": "Use this command to delete a page from the Docs.", + "updated": 1609151920518 }, "paragraphs": [ + { + "style": "Title", + "text": "Syntax", + "updated": 1609152160707 + }, { "style": "Text", - "text": "Left click and Edit to enter edit mode and change this text. ENTER to write new paragraphs. ESC to exit edit mode." + "text": "Option 1:", + "updated": 1609152344322 + }, + { + "style": "Json", + "text": "docs.delete Node from Project: Docs Page Name", + "updated": 1609152359725 + }, + { + "style": "Text", + "text": "Example:" + }, + { + "style": "Json", + "text": "docs.delete Node from Superalgos: Task", + "updated": 1609152405379 + }, + { + "style": "Text", + "text": "Option 2:" + }, + { + "style": "Javascript", + "text": "docs.delete Concept from Project: Docs Page Name", + "updated": 1609152445366 + }, + { + "style": "Text", + "text": "Example:" + }, + { + "style": "Json", + "text": " docs.delete Concept from Superalgos", + "updated": 1609152464312 + }, + { + "style": "Text", + "text": "Option 3:" + }, + { + "style": "Json", + "text": "docs.delete Topic from Project: Docs Topic Name->Docs Page Name->Docs Page Number", + "updated": 1609152484236 + }, + { + "style": "Text", + "text": "Example:" + }, + { + "style": "Json", + "text": "docs.delete Topic from Superalgos: Docs Styles->Docs Text Style->1", + "updated": 1609152521245 + }, + { + "style": "Title", + "text": "Parameters" + }, + { + "style": "Text", + "text": "Project : Is the project where the Node, Concept or Topic is defined." + }, + { + "style": "Text", + "text": "Docs Page Category : Node, Concept or Topic." + }, + { + "style": "Text", + "text": "Docs Page Name : For Nodes it is the type of node, for Concepts, the concept name, for topics, the topic's page name." } ] } \ No newline at end of file diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-005-docs-save-command.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-005-docs-save-command.json index 897dcc0f7..f493e5273 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-005-docs-save-command.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-005-docs-save-command.json @@ -3,7 +3,8 @@ "pageNumber": "5", "type": "Docs Save Command", "definition": { - "text": "Write here a summary for this topic page." + "text": "Use this command to save the changes you have done while adding, deleting or editing paragraphs at the Docs; or adding or deleting pages. ", + "updated": 1609152030934 }, "paragraphs": [ { diff --git a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-006-docs-reindex-command.json b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-006-docs-reindex-command.json index af2bd26f9..225e961ec 100644 --- a/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-006-docs-reindex-command.json +++ b/Projects/Superalgos/Schemas/Docs-Topics/docs-commands-006-docs-reindex-command.json @@ -3,7 +3,8 @@ "pageNumber": "6", "type": "Docs Reindex Command", "definition": { - "text": "Write here a summary for this topic page." + "text": "Use this command to re-index all the pages of the docs, together with all the nodes at the current workspace, so that any changes you made to the content is available through search. ", + "updated": 1609152126427 }, "paragraphs": [ { diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index b033bf935..d7e662cae 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -993,18 +993,7 @@ function newSuperalgosDocSpace() { function checkGotoCommand() { if (command.toLowerCase() === 'docs.help docs.goto') { - renderCommandResultsPage( - [ - "docs.goto command syntax: ", - "Option 1: docs.goto Project Name->Node->Node Type[->Anchor Name]", - "Example: docs.goto Superalgos->Node->Task Manager", - "Option 2: docs.goto Project Name->Concept->Concept Name[->Anchor Name]", - "Example: docs.goto Superalgos->Concept->Attaching Nodes->Anchor 1", - "Option 3: docs.goto Project Name->Topic->Topic Page Name[->Anchor Name]", - "Example: docs.goto Superalgos->Topic->Contributing Code->Anchor 3", - "Use this command jump into a Node, Concept or Topic page or an Anchor defined withing that page." - ] - ) + navigateTo('Superalgos', 'Topic', 'Docs Goto Command') return } if (command.indexOf('Docs.Goto') !== 0 && command.indexOf('docs.goto') !== 0) { return 'Not Goto Command' } @@ -1059,17 +1048,7 @@ function newSuperalgosDocSpace() { function checkAddCommand() { if (command.toLowerCase() === 'docs.help docs.add') { - renderCommandResultsPage( - [ - "docs.add command syntax: ", - "Option 1: docs.add Node to Project: Node Type", - "Example: docs.add Node to Superalgos: Task Manager", - "Option 2: docs.add Concept to Project: Concept Name", - "Example: docs.add Concept to Superalgos: Attaching Nodes", - "Option 3: docs.add Topic to Project: Topic->Section Name->Page Number", - "Example: docs.add Topic to Superalgos: Contributing->Code->2" - ] - ) + navigateTo('Superalgos', 'Topic', 'Docs Add Command') return } if (command.indexOf('Docs.Add') !== 0 && command.indexOf('docs.add') !== 0) { return 'Not Add Command' } @@ -1134,17 +1113,7 @@ function newSuperalgosDocSpace() { function checkDeleteCommand() { if (command.toLowerCase() === 'docs.help docs.delete') { - renderCommandResultsPage( - [ - "docs.delete command syntax: ", - "Option 1: docs.delete Node from Project: Node Type", - "Example: docs.delete Node from Superalgos: Task Manager", - "Option 2: docs.delete Concept from Project: Concept Name", - "Example: docs.delete Concept from Superalgos: Attaching Nodes", - "Option 3: docs.delete Topic from Project: Topic->Section Name->Page Number", - "Example: docs.delete Topic from Superalgos: Contributing->Code->2" - ] - ) + navigateTo('Superalgos', 'Topic', 'Docs Delete Command') return } if (command.indexOf('Docs.Delete') !== 0 && command.indexOf('docs.delete') !== 0) { return 'Not Delete Command' }