Livid
272.76D
572.43D
V2EX  ›  Sphinx

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

  •  
  •   Livid ·
    PRO
    · Jan 31, 2013 · 6589 views
    This topic created in 4847 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   ·   3127 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:01 · PVG 23:01 · LAX 08:01 · JFK 11:01
    ♥ Do have faith in what you're doing.