Skip to content

WebSupport ignores doctreedir argument #54

Open
@liborjelinek

Description

@liborjelinek

WebSupport class accepts doctreedir where .doctree files are placed. By default it should be <builddir>/doctrees/ where buildir is another WebSupport class parameter.

However I've noticed that doctreedir argument is ignored in the source code. Specifically in the sphinxcontrib.websupport.core.py:58 is this line

self.doctreedir = staticdir or path.join(self.builddir, 'doctrees')

I.e. doctrees are created under specified staticdir. It shoudl respect constructor parameter:

self.doctreedir = doctreedir or path.join(self.builddir, 'doctrees')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions