forked from github/pelican
Merge pull request #1437 from mlissner/patch-1
Updates docs for Python 3
This commit is contained in:
commit
e302642d06
1 changed files with 9 additions and 2 deletions
|
|
@ -36,12 +36,19 @@ HTML files directly::
|
|||
|
||||
Because the above method may have trouble locating your CSS and other linked
|
||||
assets, running a simple web server using Python will often provide a more
|
||||
reliable previewing experience::
|
||||
reliable previewing experience.
|
||||
|
||||
For Python 2, run::
|
||||
|
||||
cd output
|
||||
python -m SimpleHTTPServer
|
||||
|
||||
Once the ``SimpleHTTPServer`` has been started, you can preview your site at
|
||||
For Python 3, run::
|
||||
|
||||
cd output
|
||||
python -m http.server
|
||||
|
||||
Once the basic server has been started, you can preview your site at
|
||||
http://localhost:8000/
|
||||
|
||||
Deployment
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue