sphinx-confluence icon indicating copy to clipboard operation
sphinx-confluence copied to clipboard

Multiple page support is missing?!

Open danwos opened this issue 7 years ago • 2 comments

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?

danwos avatar Mar 04 '17 10:03 danwos

I have the same problem

mickevi avatar Mar 14 '17 19:03 mickevi

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.

danwos avatar Mar 14 '17 19:03 danwos