Sorry, I hate to be that guy but my confluence docs build suddenly started creating blank drafts in my confluence doc "space" and I have no idea what change could cause that to happen. (also you should know that I only occasionally need to use confluence and I absolutely hate using anything related to atlassian/confluence/jira/bitbucket; the passkey mostly works but that's about it)
I do use a ton of sphinx on all my python projects so I am not unfamiliar with the tools, rather it's the upstream Atlassian nastiness that makes me sad :(
In order to use this thing I made a stand-alone docs build repo to contain doc sources, a tox file, and the confluence API key so building the docs and publishing the result is fairly clean, and of course it worked fine a few weeks ago. Sadly now all of my new content (ie, a handful of short .rst files) shows only the doc titles in confluence and when I click on a title I get a blank file in the editor and a PUBLISH button (unused so far because why would I want to publish an empty page).
Lastly it's even more sad that all of this is private/not available in public repos so I can only paste a few things here.
If you have any ideas I'll happily try them, so far I haven't found anything helpful searching the Intarweb.
build/publish with DRY_RUN true:
$ DEBUG=true tox -e docs
docs: commands_pre[0]> doorstop publish REQ docs/source/ds/reqs_tree.md
building tree...
publishing document REQ to '/home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/reqs_tree.md'...
published: /home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/reqs_tree.md
docs: commands_pre[1]> doorstop publish SDD docs/source/ds/sys_design.md
building tree...
publishing document SDD to '/home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/sys_design.md'...
published: /home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/sys_design.md
docs: commands_pre[2]> bash docs/sphinx_prep.sh docs/source/ds/reqs_tree.md
Processing markdown file: docs/source/ds/reqs_tree.md
Success
docs: commands_pre[3]> bash docs/sphinx_prep.sh docs/source/ds/sys_design.md
Processing markdown file: docs/source/ds/sys_design.md
Success
docs: commands[0]> make -C docs confluence
make: Entering directory '/home/user/my_stuff/work/work/TDS/confluence_pub/docs'
Running Sphinx v9.1.0
Using API file: /home/user/my_stuff/work/work/TDS/confluence_pub/confluence.api
Publish settings: {'API_PATH': 'confluence.api', 'DRY_RUN': 'true', 'API_USER': 'user@example.com', 'SPACE_KEY': 'DEVOPS', 'DEBUG': 'true'}
loading translations [en]... done
making output directory... done
myst v5.1.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'attrs_block', 'tasklist', 'amsmath', 'substitution', 'colon_fence', 'fieldlist', 'deflist', 'dollarmath'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive={'mermaid'}, number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, strikethrough_single_tilde=False, colon_fence_exact_match=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [confluence]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [100%] ubuntu-deploy
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
pre-process assets... [100%] autoinstall-cloud-init-workflow
pre-process assets: done
copying assets...
copying assets: done
writing output... [100%] ubuntu-deploy
building manifest... done
build succeeded.
make: Leaving directory '/home/user/my_stuff/work/work/TDS/confluence_pub/docs'
docs: OK (1.05=setup[0.03]+cmd[0.23,0.20,0.01,0.00,0.57] seconds)
congratulations :) (1.07 seconds)
same thing with DRY_RUN false:
$ DRY_RUN=false DEBUG=true tox -e docs
docs: commands_pre[0]> doorstop publish REQ docs/source/ds/reqs_tree.md
building tree...
publishing document REQ to '/home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/reqs_tree.md'...
published: /home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/reqs_tree.md
docs: commands_pre[1]> doorstop publish SDD docs/source/ds/sys_design.md
building tree...
publishing document SDD to '/home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/sys_design.md'...
published: /home/user/my_stuff/work/work/TDS/confluence_pub/docs/source/ds/sys_design.md
docs: commands_pre[2]> bash docs/sphinx_prep.sh docs/source/ds/reqs_tree.md
Processing markdown file: docs/source/ds/reqs_tree.md
Success
docs: commands_pre[3]> bash docs/sphinx_prep.sh docs/source/ds/sys_design.md
Processing markdown file: docs/source/ds/sys_design.md
Success
docs: commands[0]> make -C docs confluence
make: Entering directory '/home/user/my_stuff/work/work/TDS/confluence_pub/docs'
Running Sphinx v9.1.0
Using API file: /home/user/my_stuff/work/work/TDS/confluence_pub/confluence.api
Publish settings: {'API_PATH': 'confluence.api', 'DRY_RUN': 'false', 'API_USER': 'user@example.com', 'SPACE_KEY': 'DEVOPS', 'DEBUG': 'true'}
loading translations [en]... done
loading pickled environment... The configuration has changed (31 options: 'confluence_add_secnumbers', 'confluence_adv_ignore_nodes', 'confluence_adv_restricted', 'confluence_cloud', 'confluence_disable_notifications', ...)
done
myst v5.1.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions={'attrs_block', 'deflist', 'dollarmath', 'fieldlist', 'tasklist', 'colon_fence', 'substitution', 'amsmath'}, disable_syntax=[], all_links_external=False, links_external_new_tab=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive={'mermaid'}, number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_sort=True, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, strikethrough_single_tilde=False, colon_fence_exact_match=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
writing output...
building [confluence]: targets for 0 source files that are out of date
updating environment: 0 added, 2 changed, 0 removed
reading sources... [100%] ds/sys_design
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
pre-process assets... [100%] autoinstall-cloud-init-workflow
pre-process assets: done
copying assets...
copying assets: done
writing output... [100%] index
publishing documents... [100%] ds/sys_design
building intersphinx... done
publishing assets... [100%] objects.inv
Publish point: https://corp.atlassian.net/wiki/spaces/DEVOPS/pages/66424340483
building manifest... done
build succeeded.
make: Leaving directory '/home/user/my_stuff/work/work/TDS/confluence_pub/docs'
docs: OK (5.66=setup[0.04]+cmd[0.21,0.19,0.00,0.00,5.21] seconds)
congratulations :) (5.68 seconds)
Sorry, I hate to be that guy but my confluence docs build suddenly started creating blank drafts in my confluence doc "space" and I have no idea what change could cause that to happen. (also you should know that I only occasionally need to use confluence and I absolutely hate using anything related to atlassian/confluence/jira/bitbucket; the passkey mostly works but that's about it)
I do use a ton of sphinx on all my python projects so I am not unfamiliar with the tools, rather it's the upstream Atlassian nastiness that makes me sad :(
In order to use this thing I made a stand-alone docs build repo to contain doc sources, a tox file, and the confluence API key so building the docs and publishing the result is fairly clean, and of course it worked fine a few weeks ago. Sadly now all of my new content (ie, a handful of short .rst files) shows only the doc titles in confluence and when I click on a title I get a blank file in the editor and a PUBLISH button (unused so far because why would I want to publish an empty page).
Lastly it's even more sad that all of this is private/not available in public repos so I can only paste a few things here.
If you have any ideas I'll happily try them, so far I haven't found anything helpful searching the Intarweb.
build/publish with DRY_RUN true:
same thing with DRY_RUN false: