-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Describe the bug
sphinx 6.2 creates gigantic doctree files. as before, for me to move to this new version means I have to upgrade hardware. Can I get a rationale for this change?
Building SQLAlchemy docs with 6.2, small machine with 6g of ram runs out of space at:
(.venv) [classic@ln6 build]$ ls -l output/doctrees/
total 220496
drwxrwxr-x. 2 classic classic 4096 Apr 24 09:08 changelog
-rw-rw-r--. 1 classic classic 21185932 Apr 24 09:08 contents.doctree
-rw-rw-r--. 1 classic classic 21280576 Apr 24 09:08 copyright.doctree
drwxrwxr-x. 2 classic classic 4096 Apr 24 09:12 core
drwxrwxr-x. 2 classic classic 4096 Apr 24 09:13 dialects
-rw-rw-r--. 1 classic classic 45248036 Apr 24 09:14 errors.doctree
drwxrwxr-x. 2 classic classic 4096 Apr 24 09:15 faq
-rw-rw-r--. 1 classic classic 45893107 Apr 24 09:15 glossary.doctree
-rw-rw-r--. 1 classic classic 46006969 Apr 24 09:16 index.doctree
-rw-rw-r--. 1 classic classic 46121841 Apr 24 09:16 intro.doctree
drwxrwxr-x. 4 classic classic 4096 Apr 24 09:48 orm
5.3.0, the same directory as its building looks like:
[classic@ln6 output]$ ls -la doctrees/
total 21808
drwxrwxr-x. 8 classic classic 4096 Apr 24 10:25 .
drwxrwxr-x. 4 classic classic 4096 Apr 24 10:18 ..
drwxrwxr-x. 2 classic classic 4096 Apr 24 10:20 changelog
-rw-rw-r--. 1 classic classic 837532 Apr 24 10:20 contents.doctree
-rw-rw-r--. 1 classic classic 841317 Apr 24 10:20 copyright.doctree
drwxrwxr-x. 2 classic classic 4096 Apr 24 10:22 core
drwxrwxr-x. 2 classic classic 4096 Apr 24 10:23 dialects
-rw-rw-r--. 1 classic classic 6109180 Apr 24 10:25 environment.pickle
-rw-rw-r--. 1 classic classic 3751182 Apr 24 10:23 errors.doctree
drwxrwxr-x. 2 classic classic 4096 Apr 24 10:23 faq
-rw-rw-r--. 1 classic classic 3732915 Apr 24 10:23 glossary.doctree
-rw-rw-r--. 1 classic classic 3486487 Apr 24 10:23 index.doctree
-rw-rw-r--. 1 classic classic 3524307 Apr 24 10:23 intro.doctree
drwxrwxr-x. 4 classic classic 4096 Apr 24 10:25 orm
drwxrwxr-x. 2 classic classic 4096 Apr 24 10:25 tutorial
How to Reproduce
git clone https://github.com/sqlalchemy/sqlalchemy
cd doc/build
python -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/pip install sphinx==6.2.0
source .venv/bin/activate
make html
Environment Information
]$ sphinx-build --bug-report
Please paste all output below into the bug report template
Platform: linux; (Linux-5.3.11-100.fc29.x86_64-x86_64-with-glibc2.28)
Python version: 3.10.8 (main, Oct 20 2022, 16:09:08) [GCC 8.3.1 20190223 (Red Hat 8.3.1-2)])
Python implementation: CPython
Sphinx version: 6.2.0
Docutils version: 0.19
Jinja2 version: 3.1.2
Pygments version: 2.15.1
Sphinx extensions
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels