Bug Fixed - rapaginate working

This commit is contained in:
Luis Fernando Molina committed 2021-01-11 20:56:34 +01:00
1 parent b0de0dcfd3
commit d793e63e52
19 files changed
+54 -60

No files matched your search

+2
View File
@@ -455,10 +455,12 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
switch (category) {
case 'Topic': {
fileName = schemaDocument.topic.toLowerCase() + '-' + pageNumber.substring(pageNumber.length - 3, pageNumber.length) + '-' + schemaDocument.type.toLowerCase()
fileName = cleanFileName(fileName)
break
}
case 'Tutorial': {
fileName = schemaDocument.tutorial.toLowerCase() + '-' + pageNumber.substring(pageNumber.length - 3, pageNumber.length) + '-' + schemaDocument.type.toLowerCase()
fileName = cleanFileName(fileName)
break
}
}
@@ -1,44 +0,0 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "4",
"type": "Docs Error Category Not Valid",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
"updated": 1609159174480
},
"paragraphs": [
{
"style": "Anchor",
"text": "Anchor Category Not Valid"
},
{
"style": "Error",
"text": "The category you have specidied is not a valid Docs Page Category.",
"updated": 1609160924575
},
{
"style": "Success",
"text": "Check which are the valid categories at the command's page.",
"updated": 1610382670261
},
{
"style": "Title",
"text": "Applies to",
"updated": 1609162854123
},
{
"style": "List",
"text": "Docs Goto Command",
"updated": 1609177229589
},
{
"style": "List",
"text": "Docs Add Command",
"updated": 1609180006853
},
{
"style": "List",
"text": "Docs Delete Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "1",
"pageNumber": 1,
"type": "Docs Error Intro",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "2",
"pageNumber": 2,
"type": "Docs Error Too Few Parameters",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -39,6 +39,14 @@
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Repaginate Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "3",
"pageNumber": 3,
"type": "Docs Error Project Does Not Exist",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -37,6 +37,10 @@
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Repaginate Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "4",
"pageNumber": 4,
"type": "Docs Error Category Not Valid",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -39,6 +39,14 @@
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Repaginate Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "5",
"pageNumber": 5,
"type": "Docs Error Page Not Found",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "6",
"pageNumber": 6,
"type": "Docs Error Page With No Paragraphs",
"definition": {
"text": "While executing a command, you might receive different types of error messanges. These are described below. ",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "7",
"pageNumber": 7,
"type": "Docs Error Only In English",
"definition": {
"text": "Command not available because you are not set in English language.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "8",
"pageNumber": 8,
"type": "Docs Error Missing Colon",
"definition": {
"text": "You forgot the colon character \":\" that is part of the syntax of the command. ",
@@ -34,6 +34,14 @@
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Repaginate Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "9",
"pageNumber": 9,
"type": "Docs Error Missing To",
"definition": {
"text": "The word \"to\" is part of the syntax of the command and you did not include it.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "10",
"pageNumber": 10,
"type": "Docs Error Missing From",
"definition": {
"text": "The word \"from\" is part of the syntax of the command and it is missing.",
@@ -28,6 +28,14 @@
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Delete Command"
},
{
"style": "List",
"text": "Docs Repaginate Command"
}
]
}
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "11",
"pageNumber": 11,
"type": "Docs Error Changes Not Saved",
"definition": {
"text": "It was not possible to save your changes.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "12",
"pageNumber": 12,
"type": "Docs Error Page Already Exists",
"definition": {
"text": "The page you are trying to add already exists at Docs.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "13",
"pageNumber": 13,
"type": "Docs Error Page Does Not Exist",
"definition": {
"text": "The page you are trying to delete does not exist.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "14",
"pageNumber": 14,
"type": "Docs Error Page Number Mismatch",
"definition": {
"text": "The Docs Page Number provided does not match with the Docs Page Number found at the page you want to delete. ",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "15",
"pageNumber": 15,
"type": "Docs Error Topic Mismatch",
"definition": {
"text": "The Docs Topic Name provided does not match with the Docs Topic Name found at the page you want to delete.",
@@ -1,6 +1,6 @@
{
"topic": "Docs Commands Errors",
"pageNumber": "16",
"pageNumber": 16,
"type": "Docs Error Tutorial Mismatch",
"definition": {
"text": "The Docs Tutorial Name provided does not match with the Docs Tutorial Name found at the page you want to delete.",