Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
fix(mkdocs): theme updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sambacha committed May 2, 2024
1 parent ca8656f commit a4c9bcb
Show file tree
Hide file tree
Showing 3 changed files with 728 additions and 19 deletions.
63 changes: 46 additions & 17 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json

repo_name: MEV-Protocol/platform-docs
repo_url: https://github.com/MEV-Protocol/platform-docs
site_author: MEV.io
Expand All @@ -11,29 +13,56 @@ theme:
name: material
custom_dir: .docs/overrides/
features:
- toc.follow
- toc.integrate
- content.footnote.tooltips
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tabs.link
# - content.code.select
# - content.footnote.tooltips
# - content.tabs.link
- content.tooltips
- navigation.indexes
- navigation.instant
- navigation.instant.prefetchn
# - navigation.instant.preview
- navigation.instant.progress
- navigation.tracking
# - header.autohide
# - navigation.expand
- navigation.footer
- navigation.indexes
# - navigation.instant
# - navigation.instant.prefetch
# - navigation.instant.progress
# - navigation.prune
- navigation.sections
- navigation.tabs
# - navigation.tabs.sticky
- navigation.top
- navigation.tabs.sticky
- navigation.sections
- navigation.path
- search.suggest
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
primary: blue-grey
accent: teal
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
font:
text: Roboto
code: Roboto Mono

extra_css:
- stylesheets/extra.css
Expand Down Expand Up @@ -120,7 +149,7 @@ nav:
- Payment Methods: Developers/payment-methods.md
- SDK: Developers/sdk.md
- Learning:
- Flashbots Comparison: Learning/flashbots-comparison.md
# - Flashbots Comparison: Learning/flashbots-comparison.md
- Auction Design: Learning/aup_auction.md
- Forward Contracts: Learning/Forward-Contracts.md
# Disable Article
Expand Down
Loading

0 comments on commit a4c9bcb

Please sign in to comment.