more commands explained
This commit is contained in:
1 parent
cf9cbe5b8a
commit
ad6af181f1
6 files changed
+86
-41
No files matched your search
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -993,18 +993,7 @@ function newSuperalgosDocSpace() {
|
||||
|
||||
function checkGotoCommand() {
|
||||
if (command.toLowerCase() === 'docs.help docs.goto') {
|
||||
renderCommandResultsPage(
|
||||
[
|
||||
"<b>docs.goto</b> command syntax: ",
|
||||
"Option 1: <i>docs.goto</i> Project Name->Node->Node Type[->Anchor Name]",
|
||||
"Example: docs.goto Superalgos->Node->Task Manager",
|
||||
"Option 2: <i>docs.goto</i> Project Name->Concept->Concept Name[->Anchor Name]",
|
||||
"Example: docs.goto Superalgos->Concept->Attaching Nodes->Anchor 1",
|
||||
"Option 3: <i>docs.goto</i> 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(
|
||||
[
|
||||
"<b>docs.add</b> command syntax: ",
|
||||
"Option 1: <i>docs.add</i> Node <i>to</i> Project: Node Type",
|
||||
"Example: docs.add Node to Superalgos: Task Manager",
|
||||
"Option 2: <i>docs.add</i> Concept <i>to</i> Project: Concept Name",
|
||||
"Example: docs.add Concept to Superalgos: Attaching Nodes",
|
||||
"Option 3: <i>docs.add</i> Topic <i>to</i> 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(
|
||||
[
|
||||
"<b>docs.delete</b> command syntax: ",
|
||||
"Option 1: <i>docs.delete</i> Node <i>from</i> Project: Node Type",
|
||||
"Example: docs.delete Node from Superalgos: Task Manager",
|
||||
"Option 2: <i>docs.delete</i> Concept <i>from</i> Project: Concept Name",
|
||||
"Example: docs.delete Concept from Superalgos: Attaching Nodes",
|
||||
"Option 3: <i>docs.delete</i> Topic <i>from</i> 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' }
|
||||
|
||||
Reference in new issue
Block a user