Skip to content

Commit

Permalink
top bar nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandl authored and andreashappe committed Oct 16, 2024
1 parent 8868f31 commit 384f653
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
hide:
- navigation
# - toc
---

# Welcome to the Playground

## Why are we doing this?
Expand Down
26 changes: 19 additions & 7 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
site_name: Offensive Graphs Playground
site_url: https://offensivegraphs.ai
repo_url: https://github.com/andreashappe/offensivegraphs

nav:
- Offensive Graphs Playground: index.md
- Getting Started:
Expand All @@ -9,14 +10,20 @@ nav:
- Using create_react_agent: blog/posts/2024-10-12-create_react_agent.md
- Attack Planning:
- Adding Plan-and-Execute Planner: blog/posts/2024-10-14-plan-and-exec.md

theme:
name: material
icon:
logo: material/graph
language: en
features:
- content.code.annotation
- content.code.copy
- navigation.expand
- navigation.instant.preview
- navigation.path
- navigation.sections # Enable this feature
- navigation.tabs
- navigation.top
- navigation.tracking
- search.highlight
Expand All @@ -25,26 +32,31 @@ theme:
language: en
palette:
- scheme: default
primary: '#003366' # Professional deep blue
accent: '#006699' # Complementary accent color
toggle:
icon: material/toggle-switch-off-outline
icon: material/weather-night
name: Switch to dark mode
primary: teal
accent: purple
- scheme: slate
primary: '#003366'
accent: '#006699'
toggle:
icon: material/toggle-switch
icon: material/white-balance-sunny
name: Switch to light mode
primary: teal

plugins:
- blog
- search
# - blog

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
line_spans: '__span'
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences

extra:
analytics:
provider: google
Expand Down

0 comments on commit 384f653

Please sign in to comment.