Compare commits

..

No commits in common. "main" and "v0.3.3" have entirely different histories.
main ... v0.3.3

2 changed files with 2 additions and 3 deletions

View File

@ -357,10 +357,9 @@ class MkdocsWithConfluence(BasePlugin):
"type": "page", "type": "page",
"title": page_name, "title": page_name,
"space": {"key": space}, "space": {"key": space},
"ancestors": [{"id": parent_page_id}],
"body": {"storage": {"value": page_content_in_storage_format, "representation": "storage"}}, "body": {"storage": {"value": page_content_in_storage_format, "representation": "storage"}},
} }
if parent_page_id:
data["ancestors"] = [{"id": parent_page_id}]
logger.debug(f"DATA: {data}") logger.debug(f"DATA: {data}")
if not self.dryrun: if not self.dryrun:
try: try:

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "mkdocs-with-confluence" name = "mkdocs-with-confluence"
version = "0.3.4" version = "0.3.3"
description = "MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API" description = "MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API"
authors = ["Nikolai Rodionov <allanger@zohomail.com>"] authors = ["Nikolai Rodionov <allanger@zohomail.com>"]
readme = "README.md" readme = "README.md"