Skip to content

Commit 661c8bf

Browse files
committed
update document ui
1 parent dcf1eb0 commit 661c8bf

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ class MyDocUI(IDocumentationUI):
160160
After defining the custom `MyDocUI` class, it can be integrated into
161161
Ellar's OpenAPI module setup by specifying it in the `doc_ui` parameter.
162162

163+
It's important to note that `openapi_url` will be passed alongside with `template_context` provided in `MyDocUI`.
164+
163165
```python
164166
import os
165167

docs/stylesheets/extra.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@ nav.md-nav--primary ul.md-nav__list li.md-nav__item--active.md-nav__item--nested
2020
margin-right: auto;
2121
max-width: 80%;
2222
}
23+
24+
.md-tabs {
25+
background-color: #a50a3e !important;
26+
text-transform: uppercase;
27+
}

mkdocs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ theme:
2727
- navigation.indexes
2828
- navigation.instant
2929
- navigation.prune
30-
# - navigation.tabs
30+
- navigation.tabs
3131
- navigation.left
3232
- navigation.tracking
3333
palette:
@@ -134,11 +134,11 @@ nav:
134134

135135
- OPENAPI:
136136
- index: openapi/index.md
137-
- security: openapi/security.md
138-
- documentation-ui: openapi/documentation-ui.md
137+
- Security: openapi/security.md
138+
- Document UI: openapi/documentation-ui.md
139139
- WebSockets:
140-
- websockets: websockets/websockets.md
141-
- socketio: websockets/socketio.md
140+
- index: websockets/websockets.md
141+
- Socketio: websockets/socketio.md
142142

143143
markdown_extensions:
144144
- attr_list

0 commit comments

Comments
 (0)