V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
270.9D
572.84D
V2EX  ›  Sphinx

Sphinx 有可能像 Jekyll 那样每次有更改时就自动生成 HTML 么?

  •  
  •   Livid ·
    PRO
    · Jan 31, 2013 · 6577 views
    This topic created in 4843 days ago, the information mentioned may be changed or developed.
    4 replies    2022-01-16 22:25:37 +08:00
    luztak
        1
    luztak  
       Jan 31, 2013
    sphinx-quickstart 生成一个Makefile和一个make.bat
    之后可以make html直接生成
    应该比较接近了
    reorx
        2
    reorx  
       Jan 31, 2013   ❤️ 1
    用 watchdog 或者其他文件系统监测工具,监测 sphinx 文件夹的变化,当有 html 改动时,自动执行 make html。

    我嫌 watchdog 不好用,自己写过一个工具,虽然还没正式发布,也是可用的,有兴趣可以看一下:

    https://github.com/reorx/dragline
    whtsky
        3
    whtsky  
       Jan 31, 2013 via iPhone
    用Guard,自己写Guardfile实现..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3218 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 13:26 · PVG 21:26 · LAX 06:26 · JFK 09:26
    ♥ Do have faith in what you're doing.