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

infinite loop is back #1359

Closed
drammock opened this issue Jun 20, 2023 · 0 comments · Fixed by #1364
Closed

infinite loop is back #1359

drammock opened this issue Jun 20, 2023 · 0 comments · Fixed by #1364
Labels
kind: bug Something isn't working

Comments

@drammock
Copy link
Collaborator

drammock commented Jun 20, 2023

since merging #1330 the infinite loop is back. nox -s docs-live says this after the first build:

[I 230620 17:00:42 server:335] Serving on http://127.0.0.1:58219
[I 230620 17:00:42 handlers:62] Start watching changes
[I 230620 17:00:42 handlers:64] Start detecting changes
[I 230620 17:00:43 watcher:110] Running task: build (delay: None)
[sphinx-autobuild] Detected change: /opt/pydata-sphinx-theme/docs/api/index.rst

It's detecting a change in the output folder which sphinx_autobuild is supposed to ignore automatically: https://github.com/executablebooks/sphinx-autobuild/blob/ea4d04f4f68f564e65ac21843d4839ce24a6e0ae/src/sphinx_autobuild/cli.py#L38-L40 (!)

passing --re-ignore=api|locale doesn't work because the value gets re.escaped 🤦🏻. Hacking sphinx-theme-builder locally to not do the escaping it still doesn't work works, upstream PR opened (pradyunsg/sphinx-theme-builder#44). Possibly related to sphinx-doc/sphinx-autobuild#112 and sphinx-doc/sphinx-autobuild#123.

@trallard trallard added the kind: bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants