Skip to content

Commit c0bff04

Browse files
Jon Wayne Parrottncoghlan
Jon Wayne Parrott
authored andcommitted
Update landing page (pypa#326)
Use friendlier language Be more authoritative Briefly explain the various types of documentation here.
1 parent ea2f65a commit c0bff04

File tree

4 files changed

+101
-87
lines changed

4 files changed

+101
-87
lines changed

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)