File tree 4 files changed +6
-6
lines changed 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
serve :
2
- python -m http.server --directory=_site 8888
2
+ python -m http.server
3
3
4
4
build :
5
- ./generate-html
5
+ ./generate-html.py
6
6
7
7
watch-build :
8
8
ls ** /* .md ** /* .html * .py | entr ./generate-html.py
9
9
10
10
update-book : # # assumes book repo is at ../book
11
11
cd ../book && make html
12
12
./copy-and-fix-book-html.py
13
- rsync -a -v ../book/images/ _site /book/images/
13
+ rsync -a -v ../book/images/ . /book/images/
Original file line number Diff line number Diff line change 6
6
import subprocess
7
7
8
8
BOOK_SOURCE = Path ('../book' )
9
- DEST = Path ('_site /book' )
9
+ DEST = Path ('. /book' )
10
10
11
11
CHAPTERS = [
12
12
c .replace ('.asciidoc' , '.html' )
Original file line number Diff line number Diff line change 11
11
TEMPLATE_FILE = "templates/blog_post_template.html"
12
12
FEED_TEMPLATE_FILE = "templates/rss_feed_template.xml"
13
13
BLOG_POSTS_PATH = Path ("posts" )
14
- OUTPUT_DIR = Path ("_site " )
14
+ OUTPUT_DIR = Path (". " )
15
15
16
16
17
17
Original file line number Diff line number Diff line change 7
7
Simple patterns for building complex apps
8
8
</description >
9
9
<link >https://cosmicpython.com</link >
10
- <lastBuildDate >Mon, 16 Mar 2020 15:40:36 -0000</lastBuildDate >
10
+ <lastBuildDate >Mon, 16 Mar 2020 16:19:23 -0000</lastBuildDate >
11
11
<pubDate >Sat, 4 Jan 2020 19:15:54 -0500</pubDate >
12
12
<atom : link href =" https://cosmicpython.com/rss.xml" rel =" self" type =" application/rss+xml" />
13
13
You can’t perform that action at this time.
0 commit comments