Debian Codegraph @

docs/mkdocs.yml

raw symbols SCIP
1 site_name: "ebpf-go Documentation"
2 site_description: Pure-Go library to read, modify and load eBPF programs and attach them to various hooks in the Linux kernel.
3 site_author: Cilium Community
4
5 # Rendered in header.
6 repo_url: https://github.com/cilium/ebpf
7 repo_name: cilium/ebpf
8 edit_uri: edit/main/docs/ebpf/
9
10 # Directory to look for Markdown files within docs/.
11 docs_dir: ebpf
12
13 theme:
14 logo: ebpf-go.png
15 favicon: ebpf-go.png
16 name: material
17
18 icon:
19 # GitHub link in the header.
20 repo: fontawesome/brands/github-alt
21 # Edit button at the top of each page.
22 edit: material/pencil-ruler
23
24 features:
25 # Display sections in the navbar.
26 - navigation.sections
27 # Anchor tracking, updates the address bar with the active anchor.
28 - navigation.tracking
29 # Use XHR instead of fully reloading the page when navigating around.
30 - nagivation.instant
31 # Clipboard button in code blocks.
32 - content.code.copy
33 # Enable annotations in code blocks.
34 - content.code.annotate
35 # Button to edit page on GitHub.
36 - content.action.edit
37 # Better (faster) tooltips, replacing the browser's rendering logic.
38 - content.tooltips
39
40 palette:
41 # Palette toggle for light mode
42 - media: "(prefers-color-scheme: light)"
43 scheme: default
44 toggle:
45 icon: material/lightbulb-off
46 name: Switch to dark mode
47
48 # Palette toggle for dark mode
49 - media: "(prefers-color-scheme: dark)"
50 scheme: slate
51 toggle:
52 icon: material/lightbulb-on
53 name: Switch to light mode
54
55 # Template overrides.
56 custom_dir: overrides
57
58 nav:
59 - 'Home': index.md
60 - 'Guides':
61 - 'Getting Started': guides/getting-started.md
62 - 'Portable eBPF': guides/portable-ebpf.md
63 - 'Windows support': guides/windows-support.md
64 - 'Concepts':
65 - 'Loading eBPF Programs': concepts/loader.md
66 - 'Global Variables': concepts/global-variables.md
67 - 'Resource Limits': concepts/rlimit.md
68 - 'Section Naming': concepts/section-naming.md
69 - 'Feature Detection': concepts/features.md
70 - 'Object Lifecycle': concepts/object-lifecycle.md
71 - 'Contributing':
72 - contributing/index.md
73 - contributing/architecture.md
74 - contributing/new-feature.md
75 - contributing/new-example.md
76 - contributing/windows.md
77 - 'Users': users.md
78 - 'Go Reference': https://pkg.go.dev/github.com/cilium/ebpf
79 - 'GitHub':
80 - 'Repository': https://github.com/cilium/ebpf
81 - 'Issue Tracker': https://github.com/cilium/ebpf/issues
82 - 'Discussions': https://github.com/cilium/ebpf/discussions
83 - 'About': about.md
84
85 extra:
86 social:
87 - icon: fontawesome/brands/github
88 link: https://github.com/cilium/ebpf
89
90 extra_css:
91 - stylesheets/extra.css
92
93 watch:
94 - examples/
95 - includes/
96 - overrides/
97 - macros.py
98
99 plugins:
100 - search
101 - macros:
102 # This opens macros.py in docs/.
103 module_name: macros
104 # Make the mkdocs build fail if any errors occur.
105 # Otherwise, any errors would be rendered to the build output.
106 on_error_fail: true
107 include_yaml:
108 - vars.yml
109 # Updated/authors displayed in footer.
110 # Layout is customized in overrides/partials/source-file.html.
111 - git-revision-date-localized:
112 type: timeago
113 # /dev/shm is unavailable on Netlify builders and this plugin uses
114 # python's multiprocessing, which uses /dev/shm for IPC.
115 enable_parallel_processing: false
116 - git-authors:
117 show_email_address: false
118 authorship_threshold_percent: 10
119 exclude:
120 - index.md
121
122 # Enable syntax highlighting in mkdocs-material.
123 markdown_extensions:
124 # Automatic tooltips for abbreviations/glossary.
125 - abbr
126 # Setting attributes on code fences (e.g. ``` go linenums='1')
127 - attr_list
128 # Special content blocks like '!!! note'
129 - admonition
130 # Definition lists using indented descriptions
131 - def_list
132 - footnotes
133 # Collapsible admonitions
134 - pymdownx.details
135 # Syntax highlighting in code blocks
136 - pymdownx.highlight:
137 anchor_linenums: true
138 - pymdownx.inlinehilite
139 # Glossary
140 - pymdownx.snippets:
141 auto_append:
142 - includes/glossary.md
143 # Superfences enables nested and tabbed code blocks and Mermaid support
144 - pymdownx.superfences:
145 custom_fences:
146 - name: mermaid
147 class: mermaid
148 format: !!python/name:pymdownx.superfences.fence_code_format
149 # Content tabs for code snippets, checklists, etc.
150 - pymdownx.tabbed:
151 alternate_style: true
152 # Emoji and icons like :fontawesome-brands-golang:
153 - pymdownx.emoji:
154 emoji_index: !!python/name:material.extensions.emoji.twemoji
155 emoji_generator: !!python/name:material.extensions.emoji.to_svg
156 options:
157 custom_icons:
158 - overrides/.icons
159 # Table of Contents
160 - toc:
161 permalink: true