blob: c7265bb7bd73b2ea4ebf01f39f753f5b7cdf2d83 [file] [log] [blame]
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import datetime as dt
SITENAME = 'Apache Allura'
SITEURL = '//allura.apache.org'
AUTHOR = ''
DESCRIPTION = 'Allura is an open source implementation of a software forge, a site that manages source code repositories, bug reports, discussions, and more for projects.'
KEYWORDS = []
DEFAULT_LANG = 'en'
LOCALE = 'POSIX'
TIMEZONE = 'UTC'
PATH = 'content'
OUTPUT_PATH = '../'
DELETE_OUTPUT_DIRECTORY = True
# don't delete source files
OUTPUT_RETENTION = [
"_src",
"README.md",
]
STATIC_PATHS = [
'extra',
'images',
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/.htaccess': {'path': '.htaccess'},
}
DIRECT_TEMPLATES = ['index', '404', 'news', 'download']
ARTICLE_SAVE_AS = 'posts/{date:%Y}-{slug}.html'
ARTICLE_URL = 'posts/{date:%Y}-{slug}.html'
# don't generate archive pages for these
AUTHOR_SAVE_AS = ''
CATEGORY_SAVE_AS = ''
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
CATEGORY_FEED_ATOM = None
TAG_FEED_ATOM = 'feeds/tag.{slug}.atom.xml'
CURRENT_YEAR = dt.date.today().year
RELEASE_VERSION = '1.16.0'
RELEASE_DATE = 'Nov 2023'
RELEASE_NEWS = 'posts/2023-allura-1.16.0.html'
DIST_URL = 'https://downloads.apache.org/allura/'
FORGE_ALLURA_URL = 'https://forge-allura.apache.org/'
FEATURES_URL = '{}p/allura/wiki/Features/'.format(FORGE_ALLURA_URL)
FEATURES_COMPARISON_URL = '{}p/allura/wiki/Feature%20Comparison/'.format(FORGE_ALLURA_URL)
GIT_URL = '{}p/allura/git/'.format(FORGE_ALLURA_URL)
WIKI_URL = '{}p/allura/wiki/'.format(FORGE_ALLURA_URL)
TICKETS_URL = '{}p/allura/tickets/'.format(FORGE_ALLURA_URL)