sphinx-confluence
sphinx-confluence copied to clipboard
Multiple page support is missing?!
Is it correct that this plugin is only able to build a single file (the master index file) and not linked/mentioned ones in toctree directives?
If I try to use it, sphinx claims that all my documentation files are not part of a toctree and therefore they get not build. I guess this is because the toctree directives is overwritten by this extension. Any ideas how to avoid this?
I have the same problem
I have found a small workaround by doing a little code change.
So create a fork and comment this line out:
# A lot of other code
app.add_directive('image', ImageConf)
# app.add_directive('toctree', TocTree)
app.add_directive('jira_issues', JiraIssuesDirective)
See https://github.com/Arello-Mobile/sphinx-confluence/blob/master/sphinx_confluence/init.py#L564 for the complete code
However, this makes the toctree disappear in the resulting confluence pages. But at least every pages gets built.