-
Notifications
You must be signed in to change notification settings - Fork 53
/
config.yaml
48 lines (48 loc) · 1.37 KB
/
config.yaml
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
baseURL: 'https://docs.momentum-mod.org/'
title: Momentum Mod Documentation
description: Momentum Mod Documentation
theme: hugo-book
enableGitInfo: true
disablePathToLower: true
params:
# Theme is set based on light/dark mode preference set in the browser/OS
BookTheme: auto
BookToC: true
BookRepo: https://github.com/momentum-mod/docs
BookCommitPath: commit
BookDateFormat: 'Jan 2, 2006'
BookEditPath: edit/master
BookComments: false
BookLogo: 'images/masthead.png'
# This isn't part of Hugo-Book, it's a hack we do to use to use a different
# string here than the `title` property. ("Momentum Mod Documentation" in
# the branding looks bad.)
BrandTitle: Documentation
taxonomies:
category: categories
tag: tags
permalinks:
# Hugo pages are grouped into "archetype" so the docs pages need to live in
# content/docs/ rather than just content/. So this slice removes the "docs"
# bit from the URL. Hugo is neat!
docs: /:sections[1:]/:filename/
menu:
after:
- name: Tags
pageRef: /tags/
weight: 10
- name: Categories
pageRef: /categories/
weight: 20
- name: Main Site
url: 'https://momentum-mod.org'
weight: 30
- name: Github
url: 'https://github.com/momentum-mod'
weight: 40
- name: Discord
url: 'https://discord.gg/momentummod'
weight: 50
markup:
highlight:
style: onedark