Skip to content

Commit 9811137

Browse files
rhagensondhimmel
authored andcommittedSep 18, 2019
Fix broken references to webpage.py
Merges manubot/rootstock#269 Follows up 188e51a * python webpage.py -> manubot webpage * clarify CI use of manubot webpage in deploy.sh
1 parent 0dc5ea8 commit 9811137

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ bash build/build.sh
5656
# This is required to view local images in the HTML output.
5757

5858
# Configure the webpage directory
59-
python build/webpage.py
59+
manubot webpage
6060

6161
# You can now open the manuscript webpage/index.html in a web browser.
6262
# Alternatively, open a local webserver at http://localhost:8000/ with the
@@ -66,7 +66,7 @@ python -m http.server
6666
```
6767

6868
Sometimes it's helpful to monitor the content directory and automatically rebuild the manuscript when a change is detected.
69-
The following command, while running, will trigger both the `build.sh` and `webpage.py` scripts upon content changes:
69+
The following command, while running, will trigger both the `build.sh` script and `manubot webpage` command upon content changes:
7070

7171
```sh
7272
bash build/autobuild.sh

‎build/autobuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55

66
watchmedo shell-command \
77
--wait \
8-
--command='bash build/build.sh && python build/webpage.py' \
8+
--command='bash build/build.sh && manubot webpage' \
99
content

‎webpage/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ In general, a version is identified by the commit hash of the source content tha
1919

2020
The `*.ots` files in version directories are OpenTimestamps which can be used to verify manuscript existence at or before a given time.
2121
[OpenTimestamps](https://opentimestamps.org/) uses the Bitcoin blockchain to attest to file hash existence.
22-
The `deploy.sh` script run during continuous deployment creates the `.ots` files.
22+
The `deploy.sh` script run during continuous deployment creates the `.ots` files through its `manubot webpage` call.
2323
There is a delay before timestamps get confirmed by a Bitcoin block.
2424
Therefore, `.ots` files are initially incomplete and should be upgraded at a later time, so that they no longer rely on the availability of a calendar server to verify.
25-
`webpage.py`, which is run during continuous deployment, identifies files matched by `webpage/v/**/*.ots` and attempts to upgrade them.
25+
The `manubot webpage` call during continuous deployment identifies files matched by `webpage/v/**/*.ots` and attempts to upgrade them.
2626
You can also manually upgrade timestamps, by running the following in the `gh-pages` branch:
2727

2828
```sh

0 commit comments

Comments
 (0)
Please sign in to comment.