Skip to content

Commit

Permalink
Added Dark mode and new navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Starystars67 committed Sep 30, 2023
1 parent 7917257 commit 16ef628
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/en/game/getting-started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Getting Started
5 changes: 5 additions & 0 deletions docs/en/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Home

Welcome to the new BeamMP Docs.

A new fancy homepage needs to be created for this page. :slight_smile:
38 changes: 36 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,31 @@ theme:
- search.highlight
- search.share
- content.code.annotate
- navigation.footer
- content.code.copy
- content.action.edit
- content.action.view
- navigation.instant
- navigation.footer
- navigation.tabs
- navigation.sections
- navigation.expand
- navigation.path
- toc.follow
icon:
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:
- stylesheets/custom.css
Expand Down Expand Up @@ -68,8 +83,27 @@ plugins:
- tags
- git-revision-date-localized:
enable_creation_date: true

markdown_extensions:
- attr_list
- pymdownx.emoji:
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

0 comments on commit 16ef628

Please sign in to comment.