Skip to content

docs-live-langs builds infinitely #523

Open
@sneakers-the-rat

Description

@sneakers-the-rat

The first build seems to go fine, but then if you make a change, each of the non-english languages detects changes in the others and rebuilds in an infinite loop:

[es] [sphinx-autobuild] Detected changes (_build/html/ja/.buildinfo, _build/html/ja/search.html, _build/html/ja/_static/copybutton.js, _build/html/ja/_static/basic.css, _build/html/ja/_static/documentation_options.js)
...
[ja] [sphinx-autobuild] Detected changes (_build/html/es/search.html, _build/html/es/genindex.html, _build/html/es/_static/basic.css, _build/html/es/objects.inv, _build/html/es/_static/documentation_options.js)

should ignore the entire _build directory. it should already be doing this, because the full command run looks like this:

SPHINX_LANG=ja SPHINX_ENV=development sphinx-autobuild -b html . _build/html/ja -D language=ja --ignore */_build/* --ignore */.nox/* --ignore */build_assets/* --ignore */tmp/* --port=0

so maybe those *'s are getting expanded by the shell, or sphinx-autobuild doesn't allow multiple --ignore flags, idk

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working or is wrong in our content or buildtranslationsTranslation and localization of content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions