FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
fullstackpython.com/Makefile at master · reloadbrain/fullstackpython.com · GitHub
reloadbrain
/
fullstackpython.com
Public
forked from
mattmakai/fullstackpython.com
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
fullstackpython.com
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
34 lines (25 loc) · 1.12 KB
Breadcrumbs
fullstackpython.com
/
Makefile
Copy path
File metadata and controls
34 lines (25 loc) · 1.12 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
run
:
pelican -t theme -s settings.py -o generated/updated_site content
cp -R static-html/
*
generated/updated_site/
cp -R redirects/
*
generated/updated_site/
cp -R static/
*
generated/updated_site/
cp generated/updated_site/pages/
*
generated/updated_site/
rm -rf generated/updated_site/pages/
sed -i
'
'
'
s/\(^.*~~.*$$\)/<span class="highlight">\1<\/span>/g
'
generated/updated_site/blog/
*
.html
sed -i
'
'
'
s/~~//g
'
generated/updated_site/blog/
*
.html
bookbuild
:
pelican -t theme -s book_settings.py -o generated/book content
cp -R static-html/
*
generated/book/
cp -R static/
*
generated/book/
rm -rf generated/book/pages
pdf
: bookbuild
sed -i
'
'
'
s/\(^.*~~.*$$\)/<span class="highlight-line">\1<\/span>/g
'
generated/book/pdf-book.html
sed -i
'
'
'
s/"\/img\//"img\//g
'
generated/book/pdf-book.html
sed -i
'
'
'
s/~~//g
'
generated/book/pdf-book.html
cd
generated/book
;
prince pdf-book.html -o full_stack_python.pdf
update
:
python update_s3.py
rm -rf generated/current_site
cp -R generated/updated_site generated/current_site
init
:
pip install -r requirements.txt
Back
|
FazBrowse Home
|
New Git URL