publishconf.py

Tue, 15 Mar 2016 16:23:22 +0100

author
David Douard <david.douard@logilab.fr>
date
Tue, 15 Mar 2016 16:23:22 +0100
changeset 38
71e96f955e7a
parent 0
e7f601f9db69
child 144
202ad178f68f
permissions
-rw-r--r--

[10MHz] typos

0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/env python
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 # -*- coding: utf-8 -*- #
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 from __future__ import unicode_literals
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 # This file is only used if you use `make publish` or
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 # explicitly specify it as your config file.
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 import os
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 import sys
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10 sys.path.append(os.curdir)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 from pelicanconf import *
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 SITEURL = 'https://whatever.sdfa3.org'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14 RELATIVE_URLS = False
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16 FEED_ALL_ATOM = 'feeds/all.atom.xml'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 DELETE_OUTPUT_DIRECTORY = True
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
20
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
21 # Following items are often useful when publishing
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
22
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
23 #DISQUS_SITENAME = ""
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
24 #GOOGLE_ANALYTICS = ""

mercurial