Skip to content

Commit fbcd060

Browse files
committed
readme update
1 parent c1f6d13 commit fbcd060

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,13 @@
11
# pythonvjs
2-
Python versus JS: comparative tables
2+
This project is aimed to provide comprehensive comparative tables of Python and
3+
JS syntax and language features.
4+
5+
Current tables are available [here](http://ischurov.github.io/pythonvjs).
6+
7+
If you want to contribute, you can edit files in the `source` directory. It's in
8+
[qqmbr](http://github.com/ischurov/qqmbr) format, have to be easy editable with
9+
any text editor.
10+
11+
Site generation uses [Flask](http://flask.pocoo.org) and to provide static
12+
version we use [Frozen Flask](http://pythonhosted.org/Frozen-Flask/).
13+

freeze.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
from flask_frozen import Freezer
2+
import os
23

34
from pythonvjs import app
4-
5+
from shutil import move, rmtree
56
freezer = Freezer(app)
67
app.config['FREEZER_DESTINATION'] = 'docs'
78

89
if __name__ == '__main__':
10+
if os.path.isdir(os.path.join("docs", "pythonvjs", "show")):
11+
rmtree("docs/")
912
freezer.freeze()
10-
13+
move(os.path.join("docs","pythonvjs", "show"), "docs")
14+
rmtree(os.path.join("docs", "pythonvjs"))

0 commit comments

Comments
 (0)