formatting python script
This commit is contained in:
parent
5405c3f3dd
commit
9bdac8a8fd
@ -5,20 +5,20 @@ import json
|
|||||||
|
|
||||||
bookstack_url = "https://wiki.bookstack.local" # Bookstack Base URL
|
bookstack_url = "https://wiki.bookstack.local" # Bookstack Base URL
|
||||||
header = {'Authorization': 'Token <<TokenID>>:<<TokenSecret>>'} # API Token
|
header = {'Authorization': 'Token <<TokenID>>:<<TokenSecret>>'} # API Token
|
||||||
verify_ssl = True # Set to False if you have a selfsigned certificate
|
verify_ssl = True # Set to False if you have a selfsigned certificate
|
||||||
|
|
||||||
# create the structure of the book
|
# create the structure of the book
|
||||||
|
|
||||||
chapters = {
|
chapters = {
|
||||||
"Chapter 1": {
|
"Chapter 1": {
|
||||||
"Page 1": "No content yet",
|
"Page 1": "No content yet",
|
||||||
},
|
},
|
||||||
"Chapter 2": {
|
"Chapter 2": {
|
||||||
"Page 1": "No content yet",
|
"Page 1": "No content yet",
|
||||||
"Page 2": "No content yet",
|
"Page 2": "No content yet",
|
||||||
"Page 3": "No content yet",
|
"Page 3": "No content yet",
|
||||||
"Page 4": "No content yet",
|
"Page 4": "No content yet",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
# Initialize variables
|
# Initialize variables
|
||||||
|
Loading…
Reference in New Issue
Block a user