diff --git a/Projects/Superalgos/Schemas/Docs-Topics/contributing-001.json b/Projects/Superalgos/Schemas/Docs-Topics/contributing-001.json new file mode 100644 index 000000000..d3e69aa1c --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/contributing-001.json @@ -0,0 +1,15 @@ + + { + "type": "Contributing - Page 1 Title", + "definition": "There are many ways to contribute", + "pageNumber": 1, + "paragraphs": [ + { + "style": "Title", + "text": "This is the title of the first page" + } + ] + } + + + diff --git a/Projects/Superalgos/Schemas/Docs-Topics/contributing-002.json b/Projects/Superalgos/Schemas/Docs-Topics/contributing-002.json new file mode 100644 index 000000000..bc9c287cf --- /dev/null +++ b/Projects/Superalgos/Schemas/Docs-Topics/contributing-002.json @@ -0,0 +1,15 @@ + + { + "type": "Contributing - Page 2 Title", + "definition": "These are other ways to contribute. These are other ways to contribute. These are other ways to contribute. These are other ways to contribute. These are other ways to contribute. These are other ways to contribute. ", + "pageNumber": 1, + "paragraphs": [ + { + "style": "Title", + "text": "bla bla bla bla blaaaaa" + } + ] + } + + + diff --git a/Projects/Superalgos/Schemas/Docs-Topics/contributing.json b/Projects/Superalgos/Schemas/Docs-Topics/contributing.json deleted file mode 100644 index 0cdd8b6c3..000000000 --- a/Projects/Superalgos/Schemas/Docs-Topics/contributing.json +++ /dev/null @@ -1,8 +0,0 @@ - - { - "type": "Contributing", - "definition": "There are many ways to contribute" - } - - - diff --git a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js index 4e71d3e8d..3b3ede6e2 100644 --- a/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js +++ b/Projects/Superalgos/UI/Spaces/Docs-Space/DocsSpace.js @@ -680,7 +680,7 @@ function newSuperalgosDocSpace() { documentIndex = { phraseCount: {}, // here we have an object with properties matching it paragraph style, and each property is a map of phrases and their total count. schemaDocument: SCHEMAS_BY_PROJECT.get(project).array.docsTopicSchema[i], - documentCategory: 'Topics', + documentCategory: 'Topic', project: project } indexDocument(documentIndex) @@ -953,11 +953,11 @@ function newSuperalgosDocSpace() { nodeName = '' } if (nodeName === '') { - linkLabel = nodeType - }else { - linkLabel = nodeType + ' ('+ nodeName + ')' - } - path = path + link + linkLabel + '' + linkLabel = nodeType + } else { + linkLabel = nodeType + ' (' + nodeName + ')' + } + path = path + link + linkLabel + '' } } @@ -1163,18 +1163,24 @@ function newSuperalgosDocSpace() { /* Title */ HTML = HTML + '
' + objectBeingRendered.type + ' |
| ' - HTML = HTML + '' - HTML = HTML + ' | ' - HTML = HTML + ''
- HTML = HTML + ' ' + addToolTips(schemaDocument.definition) + ' '
- HTML = HTML + ' | '
- HTML = HTML + '
| ' + HTML = HTML + '' + HTML = HTML + ' | ' + } + HTML = HTML + ''
+ HTML = HTML + ' ' + addToolTips(schemaDocument.definition) + ' '
+ HTML = HTML + ' | '
+ HTML = HTML + '