-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmkdocs.yml
182 lines (171 loc) · 4.58 KB
/
mkdocs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
# Project information
site_name: Arista EOS Downloader
site_author: Thomas Grimonet
site_description: A downloader CLI to download arista software images.
# copyright: Copyright © 2019 - 2024 Arista Networks
# Repository
repo_name: eos_downloader on Github
repo_url: https://github.com/titom73/eos-downloader
# Configuration
use_directory_urls: true
theme:
name: material
features:
- navigation.instant
- navigation.top
- content.tabs.link
- content.code.copy
# - toc.integrate
- toc.follow
- navigation.indexes
- content.tabs.link
highlightjs: true
hljs_languages:
- yaml
- python
- shell
icon:
repo: fontawesome/brands/github
logo: fontawesome/solid/network-wired
favicon: imgs/favicon.ico
font:
code: Fira Mono
language: en
include_search_page: false
search_index_only: true
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: blue
toggle:
icon: material/weather-night
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: blue
toggle:
icon: material/weather-sunny
name: Switch to light mode
# custom_dir: docs/overrides
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/titom73/eos-downloader
- icon: fontawesome/brands/docker
link: https://github.com/titom73/eos-downloader/pkgs/container/eos-downloader
- icon: fontawesome/brands/python
link: https://pypi.org/project/eos-downloader/
version:
provider: mike
default:
- stable
extra_css:
- stylesheets/extra.material.css
extra_javascript:
- https://cdnjs.cloudflare.com/ajax/libs/tablesort/5.2.1/tablesort.min.js
- https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.2/highlight.min.js
watch:
- docs
- eos_downloader
plugins:
- gh-admonitions
- mkdocstrings:
handlers:
python:
paths: [eos_downloader]
import:
- https://docs.python.org/3/objects.inv
- https://mkdocstrings.github.io/objects.inv
- https://mkdocstrings.github.io/griffe/objects.inv
options:
docstring_style: numpy
docstring_options:
ignore_init_summary: true
docstring_section_style: table
show_docstring_other_parameters: true
heading_level: 2
inherited_members: false
merge_init_into_class: true
separate_signature: true
show_root_heading: true
show_root_full_path: false
show_signature_annotations: true
filters: ["!^_[^_]"]
- search:
lang: en
- git-revision-date-localized:
type: date
- mike:
- glightbox:
background: none
shadow: true
touchNavigation: true
loop: false
effect: fade
slide_effect: slide
width: 90vw
markdown_extensions:
- admonition
- attr_list
- codehilite:
guess_lang: true
- pymdownx.arithmatex
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols
# - pymdownx.snippets:
# base_path:
# - docs/snippets
# - examples
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- smarty
- toc:
separator: "-"
# permalink: "#"
permalink: true
baselevel: 2
# TOC
docs_dir: docs/
nav:
- Home: README.md
- Usage:
- Get EOS package: usage/eos.md
- Get CVP package: usage/cvp.md
- Environment variables: usage/environment.md
- Version information: usage/info.md
- Software mapping: usage/mapping.md
- Code documentation:
- Models:
- Version: api/models/version.md
- Data: api/models/data.md
- Custom Types: api/models/custom_types.md
- Logics:
- Arista Server: api/logics/arista_server.md
- Arista XML API: api/logics/arista_xml_server.md
- Download Management: api/logics/download.md
- Helpers: api/helpers.md
- Defaults: api/defaults.md
- FAQ: faq.md