File tree 2 files changed +18
-3
lines changed
2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
# 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
+
Original file line number Diff line number Diff line change 1
1
from flask_frozen import Freezer
2
+ import os
2
3
3
4
from pythonvjs import app
4
-
5
+ from shutil import move , rmtree
5
6
freezer = Freezer (app )
6
7
app .config ['FREEZER_DESTINATION' ] = 'docs'
7
8
8
9
if __name__ == '__main__' :
10
+ if os .path .isdir (os .path .join ("docs" , "pythonvjs" , "show" )):
11
+ rmtree ("docs/" )
9
12
freezer .freeze ()
10
-
13
+ move (os .path .join ("docs" ,"pythonvjs" , "show" ), "docs" )
14
+ rmtree (os .path .join ("docs" , "pythonvjs" ))
You can’t perform that action at this time.
0 commit comments