def test(options):
# Copy to the local site
src_path = path(options.sphinx.builddir) / 'html'
os.chdir(src_path)
server_address = ('', 8080)
httpd = http.server.HTTPServer(server_address,
http.server.SimpleHTTPRequestHandler)
httpd.serve_forever()
return
评论列表
文章目录