V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
chenqh
V2EX  ›  Python

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

  •  
  •   chenqh · 316 天前 · 641 次点击
    这是一个创建于 316 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    2 条回复    2023-06-29 11:37:01 +08:00
    fbichijing
        1
    fbichijing  
       315 天前
    这么久吗?!
    虽然一直在使用 sphinx ,但是平时的文件肯定没有这么多。
    我记得 sphinx build 的时候会检测哪些文件有更改,你每次写的时候都更新了那么多的文档的吗?
    chenqh
        2
    chenqh  
    OP
       313 天前
    @fbichijing 可能是我用了太多 include 命令,现在就是这么慢啊,郁闷了,我也感觉啊,我应该有缓存的啊,为什么 build 要这么久,也没有 clean,然后 build
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1356 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 17:39 · PVG 01:39 · LAX 10:39 · JFK 13:39
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.