Skip to content

Commit 4c8b241

Browse files
committed
Trocando o make html para o make publish no travis.yml para utilizar o publishconf.py e mostrar o SITEURL absoluto
1 parent 26fdd49 commit 4c8b241

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python:
77
install:
88
- pip install -r requirements.txt --use-mirrors
99
script:
10-
- make html
10+
- make publish
1111
notifications:
1212
email:
1313
on_success: never

pelicanconf.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
SITENAME = u'PythonClub'
77
SITEURL = 'http://pythonclub.com.br'
88

9-
# DISQUS_SITENAME = ''
109
GITHUB_URL = 'https://github.com/pythonclub/pythonclub.github.io'
1110
DISQUS_SITENAME = 'pythonclub'
1211

@@ -35,17 +34,17 @@
3534
('Github', 'https://github.com/pythonclub/pythonclub.github.io'),
3635
)
3736

38-
# static
37+
# Static
3938
STATIC_PATHS = ['images', 'extras/CNAME']
4039
EXTRA_PATH_METADATA = {
4140
'extras/CNAME': {'path': 'CNAME'}
4241
}
4342

44-
# plugins
43+
# Plugins
4544
PLUGIN_PATH = 'plugins'
4645
# PLUGINS = ['cjk-auto-spacing', 'gzip_cache', 'neighbors', 'optimize_images', 'sitemap']
4746

48-
# theme
47+
# Theme
4948
THEME = 'theme'
5049

5150
# Uncomment following line if you want document-relative URLs when developing

publishconf.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
sys.path.append(os.curdir)
1111
from pelicanconf import *
1212

13-
SITEURL = ''
1413
RELATIVE_URLS = False
1514

16-
FEED_ALL_ATOM = 'feeds/all.atom.xml'
17-
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
15+
# FEED_ALL_ATOM = 'feeds/all.atom.xml'
16+
# CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
1817

1918
DELETE_OUTPUT_DIRECTORY = True
2019

0 commit comments

Comments
 (0)