1
0
mirror of https://github.com/minio/docs.git synced 2025-07-28 19:42:10 +03:00

Add docs switch menu (#881)

Fixes https://github.com/minio/docs/issues/842

Also made some changes to the dark-mode/read-mode icons to maintain the
consistency with KES docs UI.

**Preview:**
<img width="627" alt="Screenshot 2023-06-15 at 14 19 32"
src="https://github.com/minio/docs/assets/13393018/708d8991-c6af-406f-a474-65449c38c06c">

<img width="627" alt="Screenshot 2023-06-15 at 14 19 36"
src="https://github.com/minio/docs/assets/13393018/63f9db43-1408-4e96-81ad-9ecb7c39b9f0">


**Updating the list:**

Edit the `docs` array in `default.conf.py@268`.
This commit is contained in:
Rushan
2023-06-16 10:36:35 +00:00
committed by GitHub
parent afc7a03071
commit edbbe90742
18 changed files with 191 additions and 52 deletions

View File

@ -264,7 +264,24 @@ html_short_title = 'MinIO Object Storage for ' + platform_fmt
html_permalinks_icon = ''
html_context = {
'doc_platform': platform.lower()
'doc_platform': platform.lower(),
'docs': [
# The first item has to be the current docs site #
{
'name': 'MinIO Documentation',
'current': True
},
{
'name': 'KES Documentation',
'url': 'https://min.io/docs/kes',
'external': True
},
#{
#'name': 'DirectPV Documentation',
#'url': '',
#'external': True
#}
]
}
# -- Options for Sphinx Tabs -------------------------------------------------