Created
September 12, 2017 06:46
-
-
Save stlehmann/d946fcda73091cf5b1253561d384edf3 to your computer and use it in GitHub Desktop.
Run mkdocs server and open a webbrowser to show the contents.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import subprocess | |
import webbrowser | |
subprocess.Popen(['mkdocs', 'serve']) | |
time.sleep(3) | |
webbrowser.open('http://localhost:8000') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment