Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #96764

Re: Automating Sphinx generated documentation

Path csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <lac@openend.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'sphinx': 0.07; 'cc:addr:python-list': 0.09; 'moss': 0.09; 'received:openend.se': 0.09; 'received:theraft.openend.se': 0.09; '.rst': 0.16; 'cc:addr:lac': 0.16; 'cc:addr:openend.se': 0.16; 'from:addr:lac': 0.16; 'from:addr:openend.se': 0.16; 'from:name:laura creighton': 0.16; 'jacob': 0.16; 'make,': 0.16; 'message-id:@fido.openend.se': 0.16; 'received:fido': 0.16; 'received:fido.openend.se': 0.16; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; 'cc:no real name:2**0': 0.22; 'subject:skip:d 10': 0.27; 'this.': 0.28; 'received:se': 0.29; 'url:python': 0.33; 'skip:- 10': 0.34; 'url:org': 0.36; 'subject:: ': 0.37; 'charset :us-ascii': 0.37; 'skip:- 20': 0.39; 'your': 0.60; 'header :Message-Id:1': 0.61; 'header:In-reply-to:1': 0.84
To David Aldrich <David.Aldrich@EMEA.NEC.COM>
cc "python-list@python.org" <python-list@python.org>, lac@openend.se
From Laura Creighton <lac@openend.se>
Subject Re: Automating Sphinx generated documentation
In-reply-to <41302A7145AC054FA7A96CFD03835A0A0B9D749B@EX10MBX02.EU.NEC.COM>
References <41302A7145AC054FA7A96CFD03835A0A0B9D749B@EX10MBX02.EU.NEC.COM>
Comments In-reply-to David Aldrich <David.Aldrich@EMEA.NEC.COM> message dated "Thu, 17 Sep 2015 11:07:29 -0000."
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-ID <11691.1442493361.1@fido>
Date Thu, 17 Sep 2015 14:36:01 +0200
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.3.9 (theraft.openend.se [82.96.5.2]); Thu, 17 Sep 2015 14:36:06 +0200 (CEST)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.697.1442493376.8327.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1442493376 news.xs4all.nl 23770 [2001:888:2000:d::a6]:48844
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3081
X-Received-Body-CRC 1428426139
Xref csiph.com comp.lang.python:96764

Show key headers only | View raw


If you have watchdog installed:
https://pypi.python.org/pypi/watchdog
Jacob Kaplan Moss came up with this very nice one liner to do this.
$ watchmedo shell-command \
              --patterns="*.txt" \
              --ignore-pattern='_build/*' \
              --recursive \
              --command='make html'
							
change to .rst if that is what your Sphinx docs make, etc.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Automating Sphinx generated documentation Laura Creighton <lac@openend.se> - 2015-09-17 14:36 +0200

csiph-web