Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 4437100

Browse files
committed
Fix: web is no longer a valid argument to generate
1 parent 082199d commit 4437100

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runestone/server/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click):
104104
root = tree.getroot()
105105
ElementInclude.include(root, base_url=main_file) # include all xi:include parts
106106
if gen:
107-
res = subprocess.call("pretext generate web")
107+
res = subprocess.call("pretext generate")
108108
if res != 0:
109109
click.echo("Failed to build")
110110
# build the book
@@ -141,6 +141,7 @@ def _build_ptx_book(config, gen, manifest, course, click=click):
141141
# Support Functions
142142
# -----------------
143143

144+
144145
def process_manifest(cname, mpath, click=click):
145146
"""
146147
cname - the name of the course

0 commit comments

Comments
 (0)