Skip to content

Commit 8634cf9

Browse files
committed
Adaugare setari pentru GitHub Pages
1 parent f429395 commit 8634cf9

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

ghpsettings.py

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# -*- coding: utf-8 -*- #
2+
from __future__ import unicode_literals
3+
4+
from settings import *
5+
6+
####### DEBUG #######
7+
CACHE_CONTENT = False
8+
RELATIVE_URLS = True
9+
REAL_SITEURL = SITEURL = 'http://ropython.github.io/ropython-site'
10+
ASSET_DEBUG = False
11+
GOOGLE_ANALYTICS_ACCOUNT = '???'
12+
#####################

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ whitelist_externals =
1717
commands =
1818
run: []
1919
clean: cmd /c "rmdir /S /Q cache"
20-
build: pelican --output output --settings settings.py --delete-output-directory []
20+
build: pelican --output output --settings {posargs:}settings.py --delete-output-directory
2121
watch: pelican --output output --settings devsettings.py --delete-output-directory --autoreload []
2222
web: twistd -n web --path=output --port=80
2323
publish: ghp-import -m "Update gh-pages." output

0 commit comments

Comments
 (0)