| 1 |
[project] |
| 2 |
nav = [ |
| 3 |
{"Home" = "index.md"}, |
| 4 |
{"Installation" = "install.md"}, |
| 5 |
{"Configuration" = [ |
| 6 |
{"Basics" = "config/basic.md"}, |
| 7 |
{"Sections" = [ |
| 8 |
"config/section/index.md", |
| 9 |
{"foomuuri" = "config/section/foomuuri.md"}, |
| 10 |
{"zone" = "config/section/zone.md"}, |
| 11 |
{"zone-zone" = "config/section/zonezone.md"}, |
| 12 |
{"zone-any, any-zone, any-any" = "config/section/any.md"}, |
| 13 |
{"macro" = "config/section/macro.md"}, |
| 14 |
{"iplist" = "config/section/iplist.md"}, |
| 15 |
{"snat" = "config/section/snat.md"}, |
| 16 |
{"dnat" = "config/section/dnat.md"}, |
| 17 |
{"template" = "config/section/template.md"}, |
| 18 |
{"hook" = "config/section/hook.md"}, |
| 19 |
{"zonemap" = "config/section/zonemap.md"}, |
| 20 |
{"prerouting, postrouting, forward, input, output" = "config/section/special.md"}, |
| 21 |
{"invalid, rpfilter, smurfs" = "config/section/invalid.md"}, |
| 22 |
{"target, group" = "config/section/targetgroup.md"}, |
| 23 |
]}, |
| 24 |
{"Rule" = [ |
| 25 |
"config/rule/index.md", |
| 26 |
{"Matchers" = "config/rule/matcher.md"}, |
| 27 |
{"Statements" = "config/rule/statement.md"}, |
| 28 |
{"Logging" = "config/rule/logging.md"}, |
| 29 |
{"Rate Limit" = "config/rule/ratelimit.md"}, |
| 30 |
{"Miscellaneous" = "config/rule/misc.md"}, |
| 31 |
]}, |
| 32 |
]}, |
| 33 |
{"Examples" = [ |
| 34 |
{"Host Firewall" = "example/host-firewall.md"}, |
| 35 |
{"Router Firewall" = "example/router-firewall.md"}, |
| 36 |
{"Advanced Filtering" = "example/advanced.md"}, |
| 37 |
{"Multiple ISP" = "example/multiple-isp.md"}, |
| 38 |
]}, |
| 39 |
{"Tools" = [ |
| 40 |
{"Connectivity Monitor" = "tool/monitor.md"}, |
| 41 |
]}, |
| 42 |
{"FAQ" = "faq.md"}, |
| 43 |
] |
| 44 |
|
| 45 |
site_name = "Foomuuri" |
| 46 |
site_url = "https://foomuuri.foobar.fi/latest" |
| 47 |
repo_url = "https://github.com/FoobarOy/foomuuri" |
| 48 |
copyright = "Copyright 2023-2026, Kim B. Heino, Foobar Oy and contributors." |
| 49 |
|
| 50 |
[project.extra.version] |
| 51 |
provider = "mike" |
| 52 |
alias = true |
| 53 |
|
| 54 |
[project.theme] |
| 55 |
custom_dir = "overrides" |
| 56 |
|
| 57 |
features = [ |
| 58 |
"content.code.copy", |
| 59 |
"content.code.select", |
| 60 |
"navigation.footer", |
| 61 |
"navigation.indexes", |
| 62 |
"navigation.path", |
| 63 |
"navigation.tabs", |
| 64 |
"navigation.top", |
| 65 |
"navigation.tracking", |
| 66 |
"search.highlight", |
| 67 |
"toc.integrate", |
| 68 |
] |
| 69 |
|
| 70 |
[project.markdown_extensions.toc] |
| 71 |
toc_depth = 2 |
| 72 |
|
| 73 |
# Palette toggle for automatic mode |
| 74 |
[[project.theme.palette]] |
| 75 |
media = "(prefers-color-scheme)" |
| 76 |
toggle.icon = "lucide/sun-moon" |
| 77 |
toggle.name = "Switch to light mode" |
| 78 |
|
| 79 |
# Palette toggle for light mode |
| 80 |
[[project.theme.palette]] |
| 81 |
media = "(prefers-color-scheme: light)" |
| 82 |
scheme = "default" |
| 83 |
toggle.icon = "lucide/sun" |
| 84 |
toggle.name = "Switch to dark mode" |
| 85 |
|
| 86 |
# Palette toggle for dark mode |
| 87 |
[[project.theme.palette]] |
| 88 |
media = "(prefers-color-scheme: dark)" |
| 89 |
scheme = "slate" |
| 90 |
toggle.icon = "lucide/moon" |
| 91 |
toggle.name = "Switch to system preference" |
| 92 |
|
| 93 |
[project.markdown_extensions.pymdownx.highlight] |
| 94 |
anchor_linenums = true |
| 95 |
line_spans = "__span" |
| 96 |
pygments_lang_class = true |
| 97 |
[project.markdown_extensions.pymdownx.inlinehilite] |
| 98 |
[project.markdown_extensions.pymdownx.snippets] |
| 99 |
[project.markdown_extensions.pymdownx.superfences] |
| 100 |
custom_fences = [ |
| 101 |
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" } |
| 102 |
] |