forked from CodeYourFuture/curriculum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
64 lines (57 loc) · 2.12 KB
/
config.toml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
baseURL = "/"
title = "CodeYourFuture Curriculum"
sectionPagesMenu = "main"
enableEmoji = true
defaultContentLanguage = 'en'
defaultContentLanguageInSubdir = false
[languages]
[languages.en]
contentDir = 'content/en'
languageCode = 'en-GB'
languageName = 'English'
[menus]
[[menus.secondary]]
name = "Guides 👈🏾"
weight = 1
url = "/guides"
[[menus.secondary]]
name = "Join Us 👋🏿"
weight = 2
url = "https://codeyourfuture.io/volunteers/"
[[menus.secondary]]
name = "Support 🫶🏼"
weight = 3
url = "https://codeyourfuture.io/donate/"
[params]
description = "A free and open source software development programme."
org = "https://github.com/CodeYourFuture"
repo = "https://github.com/CodeYourFuture/curriculum/"
tree = "https://github.com/CodeYourFuture/curriculum/tree/main/"
edit = "https://github.com/CodeYourFuture/curriculum/edit/main/"
root = "curriculum"
orgapi = "https://api.github.com/repos/CodeYourFuture/"
# We use a proxy which concatenates paginated responses, otherwise we miss results.
# Daniel is currently hosting this code https://github.com/illicitonion/github-issue-proxy but we should work out a long-term maintainable solution to this problem.
issuesorgapi = "https://github-issue-proxy.illicitonion.com/repos/CodeYourFuture/"
[markup]
[markup.tableOfContents]
endLevel = 2
ordered = true
startLevel = 2
[markup.highlight]
lineNos = false
codeFences = true
guessSyntax = true
[markup.goldmark.renderer]
# Enable HTML codeblocks, e.g. for <details> blocks
unsafe = true
hardWraps = true
disableKinds = ["taxonomy", "term"]
footnote= true
[caches.getjson]
# Disable caching of fetches - we want every build to get up to date content for issues, so that if people make clarifications or fixes to issues, we pick them up.
maxAge = 0
[security.funcs]
# Allow accessing a GitHub bearer token to avoid rate limits when doing HTTP fetches to the GitHub API.
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos.
getenv = ["^CYF_CURRICULUM_GITHUB_BEARER_TOKEN$"]