Added Dark mode and new navigation

This commit is contained in:
Starystars67 2023-09-30 23:29:37 +01:00
parent 79172578c0
commit 16ef628ae4
3 changed files with 42 additions and 2 deletions

View File

@ -0,0 +1 @@
# Getting Started

View File

@ -0,0 +1,5 @@
# Home
Welcome to the new BeamMP Docs.
A new fancy homepage needs to be created for this page. :slight_smile:

View File

@ -15,9 +15,11 @@ theme:
- search.highlight - search.highlight
- search.share - search.share
- content.code.annotate - content.code.annotate
- navigation.footer - content.code.copy
- content.action.edit - content.action.edit
- content.action.view - content.action.view
- navigation.instant
- navigation.footer
- navigation.tabs - navigation.tabs
- navigation.sections - navigation.sections
- navigation.expand - navigation.expand
@ -25,6 +27,19 @@ theme:
- toc.follow - toc.follow
icon: icon:
repo: fontawesome/brands/github repo: fontawesome/brands/github
palette:
- scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: black
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
extra_css: extra_css:
- stylesheets/custom.css - stylesheets/custom.css
@ -68,8 +83,27 @@ plugins:
- tags - tags
- git-revision-date-localized: - git-revision-date-localized:
enable_creation_date: true enable_creation_date: true
markdown_extensions: markdown_extensions:
- attr_list - attr_list
- pymdownx.emoji: - pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg emoji_generator: !!python/name:material.extensions.emoji.to_svg
nav:
- Home: en/index.md
- Getting started:
- Playing BeamMP:
- Installation: en/game/getting-started.md
- Customizing your setup: en/game/tailoring.md
- Using BeamMP: en/game/playing.md
- Creating a Server:
- Installation: en/server/create-a-server.md
- FAQ:
- Installation: en/faq.md
- Guides:
- Mod Creation: en/guides/mod-creation.md
- BeamNG Documentation:
- Installation: en/beamng/index.md
- Contributing:
- Getting Started: en/contributing/index.md