Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

OpenNeeds IDE creates pickles in non-standard folder #21

Closed
twodrops opened this issue Jan 21, 2022 · 0 comments · Fixed by #26
Closed

OpenNeeds IDE creates pickles in non-standard folder #21

twodrops opened this issue Jan 21, 2022 · 0 comments · Fixed by #26

Comments

@twodrops
Copy link

twodrops commented Jan 21, 2022

OpenNeeds IDE creates pickles cache in doctrees folder. The standard folder is .doctrees
This affects reusing the cache created by other sphinx-builds to support incremental behavior.

I looked into it and saw this funny sphinx behavior.

/usr/bin/python -m sphinx -b html /docs /build
generates pickles in
.doctrees

/usr/bin/python -m sphinx.cmd.build -M html /docs /build
generates pickles in
doctrees

The pickles folder is normally changed with the -d sphinx parameter only.

The second invocation style is used by needls. As a quick fix the invocation style could be changed from -M to -b.

Ref: https://www.sphinx-doc.org/en/master/man/sphinx-build.html

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

Successfully merging a pull request may close this issue.

1 participant