Book
This commit is contained in:
1 parent
b543605fd2
commit
d16c521b58
4 files changed
+35
-1
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Docs Basics",
|
||||
"pageNumber": "15",
|
||||
"type": "Docs Books",
|
||||
"definition": {
|
||||
"text": "A book is page in the Docs that contains chapters. Chapters points to a Docs Topics and are rendered as the index table of the topic they point to.",
|
||||
"updated": 1609771773385
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"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."
|
||||
}
|
||||
]
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"topic": "Docs Basics",
|
||||
"pageNumber": "15",
|
||||
"pageNumber": "16",
|
||||
"type": "Docs Paragraph Styles",
|
||||
"definition": {
|
||||
"text": "Each paragraph at a Docs Page, need to be assigend a style. The most commonly used style is the Docs Text Style.",
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"topic": "Docs Paragraph Styles",
|
||||
"pageNumber": "24",
|
||||
"type": "Docs Chapter Style",
|
||||
"definition": {
|
||||
"text": "This style is used in Docs Books to define a new chapeter for that book. The style renders in the book's page the index of the Docs Topics referenced.",
|
||||
"updated": 1609771567815
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"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."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -429,6 +429,10 @@ function newSuperalgosDocsDocumentPage() {
|
||||
|
||||
buildOrderedTopicPageIndex(chapterName)
|
||||
|
||||
if (orderedTopicPageIndexArray.length === 0) {
|
||||
return 'Chapter paragraph style Syntax Error. The Topic <i>' + chapterName + '</i> could not be found. Check the Docs Chapter Style Syntax. This error message will dissapear as soon as you fix the problem.'
|
||||
}
|
||||
|
||||
let key = 'auto-generated-paragraph-' + autoGeneratedParagraphIndex
|
||||
paragraph = {
|
||||
style: "Title",
|
||||
|
||||
Reference in new issue
Block a user