This is my contribution to Superalgos

This commit is contained in:
Luis Fernando Molina committed 2021-01-15 11:52:50 +01:00
1 parent 4dba3767a4
commit 9b6d0a9a21
2 files changed
+12 -17

No files matched your search

@@ -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
}
@@ -186,7 +186,7 @@ function newSuperalgosDocsDocumentPage() {
*/
generateTopicPreviousAndNextPageNavigation()
HTML = HTML = HTML + '<div class="docs-topic-index">' // Container for Topic Navigation including buttons, title and index
HTML = HTML + '<div class="docs-topic-index">' // Container for Topic Navigation including buttons, title and index
HTML = HTML + '<h3 class="docs-h3">' + thisObject.docsSchemaDocument.topic + ' &mdash; TOC</h3>'
@@ -194,7 +194,7 @@ function newSuperalgosDocsDocumentPage() {
generateTopicMultiPageIndex()
HTML = HTML = HTML + '</div>' // END Container for Topic Navigation
HTML = HTML + '</div>' // END Container for Topic Navigation
}
if (UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.category === 'Tutorial') {
@@ -212,7 +212,7 @@ function newSuperalgosDocsDocumentPage() {
generateTutorialPreviousAndNextPageNavigation()
HTML = HTML = HTML + '<div class="docs-topic-index">' // Container for Tutorial Navigation including buttons, title and index
HTML = HTML + '<div class="docs-topic-index">' // Container for Tutorial Navigation including buttons, title and index
HTML = HTML + '<h3 class="docs-h3">' + thisObject.docsSchemaDocument.tutorial + ' &mdash; TOC</h3>'
@@ -220,7 +220,7 @@ function newSuperalgosDocsDocumentPage() {
generateTutorialMultiPageIndex()
HTML = HTML = HTML + '</div>' // END Container for Tutorial Navigation
HTML = HTML + '</div>' // END Container for Tutorial Navigation
}
if (UI.projects.superalgos.spaces.docsSpace.currentDocumentBeingRendered.category === 'Review') {
@@ -238,7 +238,7 @@ function newSuperalgosDocsDocumentPage() {
generateReviewPreviousAndNextPageNavigation()
HTML = HTML = HTML + '<div class="docs-topic-index">' // Container for Review Navigation including buttons, title and index
HTML = HTML + '<div class="docs-topic-index">' // Container for Review Navigation including buttons, title and index
HTML = HTML + '<h3 class="docs-h3">' + thisObject.docsSchemaDocument.review + ' &mdash; TOC</h3>'
@@ -246,7 +246,7 @@ function newSuperalgosDocsDocumentPage() {
generateReviewMultiPageIndex()
HTML = HTML = HTML + '</div>' // END Container for Review Navigation
HTML = HTML + '</div>' // END Container for Review Navigation
}
HTML = HTML + '</div>' // 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 + '<div class="docs-topic-index">' // Container for Topic Index
HTML = HTML + '<div class="docs-topic-index">' // Container for Topic Index
let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex
paragraph = {
@@ -697,7 +692,7 @@ function newSuperalgosDocsDocumentPage() {
}
}
HTML = HTML = HTML + '</div>' // Container for Topic Index
HTML = HTML + '</div>' // Container for Topic Index
}
}