-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
111 lines (100 loc) · 4.22 KB
/
mkdocs.yml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Basic site data
site_name: Working with SC2
site_url: https://sc2mapster.github.io/mkdocs/
site_description: Tips and tricks for how to set up and work with Starcraft II (SC2) maps, modules, and libraries in a more streamlined, organized, intelligent, and efficient way.
site_author: folk, Talv, SC2Mapster repo team
# Copyright message at the bottom
copyright: Copyright belongs to the respective authors of each commit. All raw code snippets and art assets (unless owned by Blizzard) from all authors are forcefully relicensed under the UNLICENSE, read more at http://unlicense.org/. For more information on copyrights and licensing, read the README.md file in the git repository that contains the source code of this documentation.
# Top right repo link
repo_name: SC2+Storm Game Data
repo_url: https://github.com/SC2Mapster/SC2GameData
# Disables live editing
edit_uri: ''
# [3:00 AM] Talv: damn, getting started feels a bit overwhleming now
# [3:01 AM] Talv: I like that you outlined what you want put in each section, I think I might find suitable topic
# [3:02 AM] Talv: consider splitting getting started into sections, for each subject: galaxy, ui, styles, data etc.
# [3:06 AM] Talv: IMO all these code snippets that are currently there should be moved to relevant category
# [3:08 AM] Talv: with all the stuff you've outlined there, I think it might be worth to introduce another navigation level
# - I mean top menu. with Getting Started being the first entry, and then UI, Galaxy etc.
# Basic config and layout
docs_dir: docs
nav:
- Home: index.md
- Getting Started: setup.md
# - Getting Started:
# - 1. Introduction: getting-started/1-introduction.md
# - 2. Nomenclature: getting-started/2-nomenclature.md
# - 3. Editor Setup: getting-started/3-editor-setup.md
# - 4. Visual Studio Code: getting-started/4-vscode.md
# - 5. Initializing sc2edit: getting-started/5-sc2edit.md
# - 6. Scaffolding your project: getting-started/6-scaffolding.md
# - 7. Finishing touches: getting-started/7-done.md
- Triggers: triggers.md
- Galaxy: galaxy.md
- Trigger Debugging: debug.md
- Data: data.md
- Interface: ui.md
- Fonts and Styles: fonts.md
- Loading Screen: loadscreen.md
- Security and Banks: security.md
- Advanced Tools: tools.md
- Git/Version Control: git.md
- Advanced Editor: editor.md
# Theme configuration
theme:
name: 'material'
custom_dir: 'theme'
favicon: 'img/favicon.ico'
palette:
primary: 'blue grey'
accent: 'indigo'
font:
# Ideal font for headings is Berlingske Serif (non-free, $$$)
# Ideal font for paragraph is Tisa Pro (non-free, $$$)
# The above fonts are used if found, and if not, it falls back to the configured ones below.
# Look in theme/main.html for more information.
# Alternative paragraph fonts include Libre Baskerville, Gentium Basic, Cabin.
header: 'Lora'
text: 'Rubik'
code: 'IBM Plex Mono'
# TODO: Get a custom SVG/whatever here
logo:
icon: 'code'
feature:
tabs: false
# Links bottom right, there is no 'discord' type yet apparently. I think it uses fontawesome 5.0.x.
extra:
social:
- type: 'github'
link: 'https://github.com/SC2Mapster'
# Extensions recommended by the material theme. Personally, I have no idea if we should use them
markdown_extensions:
- admonition
- codehilite:
guess_lang: false
linenums: true
- toc:
permalink: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.smartsymbols
- pymdownx.superfences
# I need this CSS to unfuck the site for personal use
extra_css:
- css/folk.css
# Essentially internal mod_rewrite to make links like /setup/ instead of /setup.html
use_directory_urls: true
# Allow the CLI interface to continue operating when an error/warning occurs, instead of HUPing
strict: false
# Explicitly sets the local address for live reloads
dev_addr: '127.0.0.1:8000'
# Only |search| is enabled by default, there's some other plugins available, listed at
# https://github.com/mkdocs/mkdocs/wiki/MkDocs-Plugins
# Most notably, one that allows us to write macros. I don't think we need it.
plugins:
- search