Browse files include execution (#113)

Most autobuild users will want to automatically update the webpage. See discussion at
#101 (comment)

Update README to better document autobuild.
  • Loading branch information...
dhimmel committed Feb 17, 2018
1 parent 29cd993 commit b7a9de896fa6e056a6adf983592166232349cf34
Showing with 10 additions and 7 deletions.
  1. +8 −5
  2. +2 −2 build/
@@ -46,13 +46,9 @@ Then, you can build the manuscript on POSIX systems by running the following com
# Activate the manubot conda environment (assumes conda version >= 4.4)
conda activate manubot
# Build the manuscript
# Build the manuscript, saving outputs to the output directory
sh build/
# Or monitor the content directory, and automatically rebuild the manuscript
# when a change is detected.
sh build/
# At this point, the HTML & PDF outputs will have been created. The remaining
# commands are for serving the webpage to view the HTML manuscript locally.
@@ -64,6 +60,13 @@ cd webpage
python -m http.server

Sometimes it's helpful to monitor the content directory and automatically rebuild the manuscript when a change is detected.
The following command, while running, will trigger both the `` and `` scripts upon content changes:

sh build/

### Continuous Integration

[![Build Status](](
@@ -1,6 +1,6 @@
# Automatically rebuild manuscript when content changes
# Automatically rebuild mansucript outputs and the webpage when content changes
# Depends on watchdog
watchmedo shell-command \
--wait \
--command='sh build/' \
--command='sh build/ && python build/' \

0 comments on commit b7a9de8

Please sign in to comment.