forked from hltj/kotlin-web-site-cn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysettings.py
27 lines (23 loc) · 1.26 KB
/
mysettings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from src.markdown.makrdown import jinja_aware_markdown
CACHE_TYPE = "null"
PREFERRED_URL_SCHEME = 'http'
SERVER_NAME = 'localhost:5000'
FLATPAGES_EXTENSION = '.md'
FLATPAGES_HTML_RENDERER = jinja_aware_markdown
FREEZER_IGNORE_404_NOT_FOUND = True
FLATPAGES_AUTO_RELOAD = True
FREEZER_STATIC_IGNORE = ["*"]
ERROR_404_HELP = False
GITHUB_URL = 'https://github.com/JetBrains/kotlin'
TWITTER_URL = 'https://twitter.com/kotlin'
SLACK_URL = 'https://surveys.jetbrains.com/s3/kotlin-slack-sign-up'
REDDIT_URL = 'https://www.reddit.com/r/Kotlin/'
STACK_OVERFLOW_URL = 'https://stackoverflow.com/questions/tagged/kotlin'
BLOG_URL = 'https://blog.jetbrains.com/kotlin/'
FORUM_URL = 'https://discuss.kotlinlang.org/'
BUGTRACKER_URL = 'https://youtrack.jetbrains.com/issues/KT'
EDIT_ON_GITHUB_URL = 'https://github.com/JetBrains/kotlin-web-site/edit/master/'
PDF_URL = '/docs/kotlin-docs.pdf'
SITE_GITHUB_URL = 'http://github.com/JetBrains/kotlin-web-site'
CODE_URL = 'https://github.com/JetBrains/kotlin-examples/tree/master'
TEXT_USING_GRADLE = "In this tutorial, we're going to be using Gradle but the same can be accomplished using either IntelliJ IDEA project structure or Maven. For details on setting up Gradle to work with Kotlin, see [Using Gradle](/docs/reference/using-gradle.html)."