推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
simple2025
0D
V2EX  ›  Python

sphinx build 太慢有什么办法提速吗?

  •  
  •   simple2025 · Jun 26, 2023 · 1248 views
    This topic created in 1086 days ago, the information mentioned may be changed or developed.

    我现在有 1.6K 个 rst 文件, build 至少 160S,好慢 有什么办法提速吗

    2 replies    2023-06-29 11:37:01 +08:00
    fbichijing
        1
    fbichijing  
       Jun 28, 2023
    这么久吗?!
    虽然一直在使用 sphinx ,但是平时的文件肯定没有这么多。
    我记得 sphinx build 的时候会检测哪些文件有更改,你每次写的时候都更新了那么多的文档的吗?
    simple2025
        2
    simple2025  
    OP
       Jun 29, 2023
    @fbichijing 可能是我用了太多 include 命令,现在就是这么慢啊,郁闷了,我也感觉啊,我应该有缓存的啊,为什么 build 要这么久,也没有 clean,然后 build
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5550 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 85ms · UTC 06:27 · PVG 14:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.