import os

# local access to ftp.gnome.org
ftp_gnome_org_local_copy = None

# private work directory
if 'HOME' in os.environ:
    private_dir = os.path.join(os.environ['HOME'], '.lgo')
else:
    private_dir = '/tmp/'

# where to cache downloaded files
download_cache_dir = os.path.join(private_dir, 'cache')

# where to output library.gnome.org files
output_dir = '/var/www/library.gnome.org/'

# minimum GNOME version to download
version_min = None

# maximum GNOME version to download
version_max = None

# modules to generate docs (leave as None to build all modules)
modules = None

# languages for docs (leave as None to build all languages)
languages = None

# documents to blacklist
blacklist = ['gnome-feedback', 'gnome-keyring-manager', 'gnome-nettool',
             'libempathy', 'libempathy-gtk']

# extra tarballs to process
extra_tarballs_file = os.path.join(__datadir__, 'extra-tarballs')
extra_tarballs = []
if os.path.exists(extra_tarballs_file):
    extra_tarballs = [x.strip() for x in open(
            extra_tarballs_file) if x.strip() and not x.startswith('#')]

# use latest version of tarball in a given serie (instead of the one
# explicitely written in jhbuild moduleset)
use_latest_version = True

# path to dbm file to hold all API symbols (useful for Apache RewriteMap)
# (None if not to be built)
symbols_dbm_filepath = None

# path to sqlite db to hold all API symbols (None if not to be built)
symbols_sqlite_filepath = None

# path to httxt2dbm tool
httxt2dbm_path = '/usr/sbin/httxt2dbm'

# fast mode, use stamp files next to extracted tarballs, so tarballs must
# not be browsed each time.  [experimental]
fast_mode = False

# also create tarballs with HTML files for download
create_tarballs = True

# location of nightly tarballs
nightly_tarballs_location = None

# channels to process, None to process all of them
channels = None

# document path template (known variables are %(channel)s and %(module)s
doc_path_template = '/%(channel)s/%(module)s/'

# xsl file to use to create index.html files
indexes_xsl_file = None
