Skip to content

Commit 78c0d91

Browse files
author
Jon Wayne Parrott
authored
Update landing page (#326)
Use friendlier language Be more authoritative Briefly explain the various types of documentation here.
1 parent a4b21fe commit 78c0d91

4 files changed

Lines changed: 101 additions & 87 deletions

File tree

‎nox.py‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ def build(session):
1717
session.run('make', 'clean', 'html')
1818

1919

20+
@nox.session
21+
def preview(session):
22+
session.reuse_existing_virtualenv = True
23+
build(session)
24+
session.chdir('build/html')
25+
session.run('python', '-m', 'http.server')
26+
27+
2028
def linkmonitor(session, command):
2129
if not os.path.exists(os.path.join('build', 'html')):
2230
session.error('HTML output not available, run nox -s build first.')

0 commit comments

Comments
 (0)