Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple page support is missing?! #13

Open
danwos opened this issue Mar 4, 2017 · 2 comments
Open

Multiple page support is missing?! #13

danwos opened this issue Mar 4, 2017 · 2 comments

Comments

@danwos
Copy link

danwos commented Mar 4, 2017

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?

@mickevi
Copy link

mickevi commented Mar 14, 2017

I have the same problem

@danwos
Copy link
Author

danwos commented Mar 14, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants