Skip to content

Commit a3ccdaf

Browse files
author
gdj0nes
committed
CHG: naming
1 parent cb766ce commit a3ccdaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/scripts/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
{
1818
"dir": "annotation_import",
19-
"title": "Annotation Import",
19+
"title": "Annotation import",
2020
"order": 3
2121
},
2222
{

examples/scripts/tutorials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def upload_doc(path, section):
2828

2929
payload = {
3030
"hidden": True,
31-
"title": title.replace(' ', '-') + f'-{section["slug"]}',
31+
"title": f'{section["slug"]}-' + title.replace(' ', '-'),
3232
"category": CATEGORY_ID,
3333
"parentDoc": section['id'],
3434
"body": body

0 commit comments

Comments
 (0)