Comments (3)
Quick comment: it's probably because of parallel read/merge and the fact that the files could possibly be discovered in a nondeterministic way. I can investigate this tomorrow.
from sphinx.
I can't reproduce this one, even with a somewhat smaller QEMU docs. I think the issue might comes from the fact that the QEMU docs has a lot of internal extensions and maybe some of the mess things up. Also, it appears that there is only one label in intersphinx being created for this driver title (you can inspect the inventory using python -m sphinx.ext.intersphinx FILE_OR_URL
).
For now, I'll close the issue until you find a MWE (otherwise this issue will likely be opened for years).
from sphinx.
A theory and a suggestion:
I think that a likely cause of this is variance in the order that source documentation files are read from the filesystem during Sphinx project build. That could explain why it's tricky to replicate on a single machine/filesystem -- because in isolation, that filesystem may return results in fairly-or-entirely deterministic order -- and also could mean that it's tricky to write a traditional unit test case for this, because uncovering the problem would be reliant on behaviour outside of the Sphinx codebase.
I'm wondering whether to commence work on a continuous integration test to attempt to smoke this out. If I did -- this is the suggestion part -- I'd probably begin by adding disorderfs
to the GitHub Actions unit test workflows - disorderfs
is a userspace-filesystem that can return filesystem results in randomized order, and is available as a Debian package.
from sphinx.
Related Issues (20)
- Minify css and js HOT 2
- Autosummary lists functions but does not generate documentation pages HOT 3
- New line and line-brack doesn't work in cnfluance. HOT 10
- add_css = getattr(app, "add_css_file", app.add_stylesheet) HOT 3
- <short description for the feature>
- Unify docutils type annotations HOT 10
- Intersphinx cannot link to section headers with uppercase names HOT 8
- Add toc entry autofunction
- pre_border-radius not translating to latexpdf for .. warning HOT 7
- Imported string constant has wrong docstring of `str` HOT 4
- In autosummary, expose complete objtype information to templates HOT 1
- Sphinx Viewcode.py IndexError list index out of range if child class file (.py) is smaller than parent class file. HOT 5
- Test suite: search: test fixture does not accurately represent the JS search index format HOT 2
- linkcheck inconsistent behavior from client HOT 1
- flaky unit test: test_build_linkcheck.test_connect_to_selfsigned_fails HOT 14
- HTML Search: partially-matched titles are not included in search results.
- [HTML search] optimization: don't loop over all document terms and title terms during search. HOT 1
- Nested toc produces multiply-defined labels in LaTeX output HOT 4
- Can't extend builtin theme if it doesn't have explicit layout.html HOT 22
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphinx.