forked from Mirror/wren
Install the custom pygments lexer using python3.
This commit is contained in:
@ -66,7 +66,7 @@ for Wren. To install that, run:
|
|||||||
|
|
||||||
:::sh
|
:::sh
|
||||||
$ cd util/pygments-lexer
|
$ cd util/pygments-lexer
|
||||||
$ sudo python setup.py develop
|
$ sudo python3 setup.py develop
|
||||||
$ cd ../.. # Back to the root Wren directory.
|
$ cd ../.. # Back to the root Wren directory.
|
||||||
|
|
||||||
Now you can build the docs:
|
Now you can build the docs:
|
||||||
@ -79,7 +79,7 @@ server from there. Python includes one:
|
|||||||
|
|
||||||
:::sh
|
:::sh
|
||||||
$ cd build/docs
|
$ cd build/docs
|
||||||
$ python -m SimpleHTTPServer
|
$ python3 -m http.server
|
||||||
|
|
||||||
Running `make docs` is a drag every time you change a line of Markdown or SASS,
|
Running `make docs` is a drag every time you change a line of Markdown or SASS,
|
||||||
so there is also a file watching version that will automatically regenerate the
|
so there is also a file watching version that will automatically regenerate the
|
||||||
|
|||||||
@ -3,7 +3,7 @@ set -e
|
|||||||
|
|
||||||
# Install the Wren Pygments lexer.
|
# Install the Wren Pygments lexer.
|
||||||
cd util/pygments-lexer
|
cd util/pygments-lexer
|
||||||
sudo python setup.py develop
|
sudo python3 setup.py develop
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
# Build the docs.
|
# Build the docs.
|
||||||
|
|||||||
@ -8,5 +8,6 @@ Home-page: UNKNOWN
|
|||||||
Author: Robert Nystrom
|
Author: Robert Nystrom
|
||||||
Author-email: UNKNOWN
|
Author-email: UNKNOWN
|
||||||
License: UNKNOWN
|
License: UNKNOWN
|
||||||
|
Description-Content-Type: UNKNOWN
|
||||||
Description: UNKNOWN
|
Description: UNKNOWN
|
||||||
Platform: UNKNOWN
|
Platform: UNKNOWN
|
||||||
|
|||||||
Reference in New Issue
Block a user