all repos — py-vite @ 4eda54f6c1361ddb9049d3370b8a0881f343277d

the original vite, written in python

docs: update
icyphox icyph0x@protonmail.com
Sun, 18 Mar 2018 11:17:45 +0530
commit

4eda54f6c1361ddb9049d3370b8a0881f343277d

parent

0627560c23aa1a845e084dade55d0351c9560e67

1 files changed, 7 insertions(+), 7 deletions(-)

jump to
M README.mdREADME.md

@@ -6,19 +6,19 @@

Usage ----- -``` {.sourceCode .console} +```console $ vite.py new <project-path> ``` Write your Markdown files in the `pages` directory and execute -``` {.sourceCode .console} +```console $ vite.py build <project-path> ``` **OR** -``` {.sourceCode .console} +```console $ make.py # at the project directory ```

@@ -27,11 +27,11 @@

Configuration ------------- -| Not very sophisticated, but basic configuration can be acheived using +Not very sophisticated, but basic configuration can be acheived using `config.py` found in the project directory. -| Example config: +Example config: -``` {.sourceCode .python} +```python # config.py title = '' author = ''

@@ -44,7 +44,7 @@ ----------

Vite uses Jinja2 templating. A basic example would be: -``` {.sourceCode .html} +```html <title> {{ title }} </title> <body>