diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js index 8a01632ae..0f9c82b1e 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/CommandInterface.js @@ -202,7 +202,7 @@ function newSuperalgosDocsCommmandInterface() { docsSchemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsTutorialSchema.get(type) break } - case 'Review': { + case 'review': { docsSchemaDocument = SCHEMAS_BY_PROJECT.get(project).map.docsReviewSchema.get(type) break } diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js index 2c73f6048..cd9423cf1 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocumentPage.js @@ -186,7 +186,7 @@ function newSuperalgosDocsDocumentPage() { */ generateTopicPreviousAndNextPageNavigation() - HTML = HTML = HTML + '
' // Container for Topic Navigation including buttons, title and index + HTML = HTML + '
' // Container for Topic Navigation including buttons, title and index HTML = HTML + '

' + thisObject.docsSchemaDocument.topic + ' — TOC

' @@ -194,7 +194,7 @@ function newSuperalgosDocsDocumentPage() { generateTopicMultiPageIndex() - HTML = HTML = HTML + '
' // END Container for Topic Navigation + HTML = HTML + '
' // END Container for Topic Navigation } if (UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.category === 'Tutorial') { @@ -212,7 +212,7 @@ function newSuperalgosDocsDocumentPage() { generateTutorialPreviousAndNextPageNavigation() - HTML = HTML = HTML + '
' // Container for Tutorial Navigation including buttons, title and index + HTML = HTML + '
' // Container for Tutorial Navigation including buttons, title and index HTML = HTML + '

' + thisObject.docsSchemaDocument.tutorial + ' — TOC

' @@ -220,7 +220,7 @@ function newSuperalgosDocsDocumentPage() { generateTutorialMultiPageIndex() - HTML = HTML = HTML + '
' // END Container for Tutorial Navigation + HTML = HTML + '
' // END Container for Tutorial Navigation } if (UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.category === 'Review') { @@ -238,7 +238,7 @@ function newSuperalgosDocsDocumentPage() { generateReviewPreviousAndNextPageNavigation() - HTML = HTML = HTML + '
' // Container for Review Navigation including buttons, title and index + HTML = HTML + '
' // Container for Review Navigation including buttons, title and index HTML = HTML + '

' + thisObject.docsSchemaDocument.review + ' — TOC

' @@ -246,7 +246,7 @@ function newSuperalgosDocsDocumentPage() { generateReviewMultiPageIndex() - HTML = HTML = HTML + '
' // END Container for Review Navigation + HTML = HTML + '
' // END Container for Review Navigation } HTML = HTML + '' // Common Style Container Ends @@ -341,14 +341,11 @@ function newSuperalgosDocsDocumentPage() { the documents that share the same key thatn the document we are rendering now. With the info on those picked document we will build the index. */ - let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex let paragraph - - for (let i = 0; i < orderedTopicPageIndexArray.length; i++) { let arrayItem = orderedTopicPageIndexArray[i] - key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex + let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex paragraph = { style: "Title", text: "" + arrayItem.type + "" @@ -390,12 +387,11 @@ function newSuperalgosDocsDocumentPage() { the documents that share the same key thatn the document we are rendering now. With the info on those picked document we will build the index. */ - let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex let paragraph for (let i = 0; i < orderedTutorialPageIndexArray.length; i++) { let arrayItem = orderedTutorialPageIndexArray[i] - key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex + let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex paragraph = { style: "Title", text: "" + arrayItem.type + "" @@ -436,12 +432,11 @@ function newSuperalgosDocsDocumentPage() { the documents that share the same key thatn the document we are rendering now. With the info on those picked document we will build the index. */ - let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex let paragraph for (let i = 0; i < orderedReviewPageIndexArray.length; i++) { let arrayItem = orderedReviewPageIndexArray[i] - key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex + let key = 'auto-generated-index-paragraph-' + autoGeneratedParagraphIndex paragraph = { style: "Title", text: "" + arrayItem.type + "" @@ -655,7 +650,7 @@ function newSuperalgosDocsDocumentPage() { } } - HTML = HTML = HTML + '
' // Container for Topic Index + HTML = HTML + '
' // Container for Topic Index let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex paragraph = { @@ -697,7 +692,7 @@ function newSuperalgosDocsDocumentPage() { } } - HTML = HTML = HTML + '
' // Container for Topic Index + HTML = HTML + '
' // Container for Topic Index } }