1
0
mirror of https://github.com/minio/docs.git synced 2025-08-05 03:41:24 +03:00

17 Commits

Author SHA1 Message Date
Rushan
7bef83f94b Center align search and title 2024-11-13 06:01:42 -08:00
Rushan
5757f1acf5 Update base theme to match the new website 2024-11-13 06:01:42 -08:00
Rushan
d54b54cafa Light/dark mode: avoid flickering on page reload (#995)
**Current behaviour:**


https://github.com/minio/docs/assets/13393018/1c8b5762-9ee5-45ec-9e44-88f99c1750dd

**Fix:**


https://github.com/minio/docs/assets/13393018/658f7858-d793-40ca-87de-8f519a12dffa
2023-09-11 09:30:27 -04:00
Rushan
edbbe90742 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`.
2023-06-16 14:36:35 +04:00
Rushan
376f37f69e Add search page (#687)
- Default Sphinx search page has been replaced with Algolia's 
- Enabled routing to sync the search results with URL

**Preview:**
<img width="1458" alt="Screenshot 2022-12-30 at 14 47 28"
src="https://user-images.githubusercontent.com/13393018/210061993-c906461e-87e2-426f-b956-462cfa77ed40.png">

**How to test:**
1. Click on a search result, navigate back using the browser back button
and check whether the search result modal is open and available.
2. Type a search keyword and press the enter key to navigate to the
search results page, where you can find all the results listed.

Note: You might need to start the local web server on the exact build
sub-directory to test the point number 2.
`build/[branch]/[platform]/html/` - ✔️
`build/` - 
2022-12-30 12:42:11 -06:00
Rushan
594a9cfb6e Replace Algolia DocSearch with InstantSearch (#621)
- Rendered only the relevant search results that has the match-level of
either `full` or `partial`.
- Added refinements to display results from other platforms (Active
platform is selected by default).
- Better title and hierarchical display.

![title](https://user-images.githubusercontent.com/13393018/198229684-3018b591-a54c-4b4f-80db-94c11e33ec65.svg)


- Added icons to represent the hierarchy level.

![icons](https://user-images.githubusercontent.com/13393018/198228150-143153bf-aa9a-4c41-baf8-bd9fa3d33bf2.png)
- Relevant results on full/partial match queries.
<img width="595" alt="Screenshot 2022-10-27 at 12 09 26"
src="https://user-images.githubusercontent.com/13393018/198228440-3a7b52a6-9f33-4778-a2ab-15b1454ede99.png">

- TODO: Keyboard shortcut to trigger/focus the search modal. (Will
address this with a new PR)
2022-11-02 09:21:21 -05:00
Rushan
51da56df3c UI Enhancements: scroll, component naming, and more (#582)
- Fixed the sidebar scroll - with this fix, you'll be able to scroll to
the end of the left sidebar at any given screen height.
- Renamed content-navigation component and CSS class names for better
consistency.
- Changed the footer style by including it as part of the main content
area. This change is required to have the scroll fix mentioned at point
no. 1.
- Reduced the hero height by a small margin, in order to have more
sidebar scroll room on smaller devices such as 13 inch laptop and all.
- Used higher contrast color on search modal's bg and scrollbar thumb to
have better color consistency.
- Made scrollbar thumbs visible by default.
- Set sidebar scroll position to match the active doc item.
- Added custom scrollbars for code blocks.
2022-09-27 09:31:41 -05:00
Rushan
5efcffbff1 Implement Algolia search (#553) 2022-09-16 13:46:52 -05:00
Rushan
6d97161b87 Update font and related changes (#549) 2022-09-09 10:45:22 -04:00
Rushan
1bb0e097b7 Add responsive wrappers for tables (#533)
* Add responsive wrappers for tables

* Add missing styles
2022-08-23 14:49:05 -05:00
Rushan
c6e1fc6124 Update theme as per the new design specs (#522) 2022-08-12 10:35:15 -05:00
Rushan
d602ed5b68 Update header and other related style properties 2022-01-31 14:12:55 -05:00
Rushan
1fad32d538 Re-align layout and make sidebar toggle visible by default 2021-08-02 08:48:40 -04:00
Rushan M
d330b2dc29 Update navigation 2021-06-14 19:38:11 -04:00
Rushan M
d5d39def55 Update top navigation 2021-04-13 20:48:23 -04:00
rushenn
d4c82ff57c Fix sidebars and add responsive support 2021-01-25 17:26:58 -05:00
Rushan
78108c0b40 New design implementation
Additional fixups
2021-01-14 19:40:19 -05:00