Skip to main content

Module components

Module components 

Source

Re-exports§

pub use docs_layout::DocsLayout;
pub use docs_layout::DocsLayout;
pub use docs_layout::SearchButton;
pub use docs_layout::SearchButton;
pub use docs_page::DocsPageContent;
pub use docs_page::DocsPageContent;
pub use mobile_drawer::MobileDrawer;
pub use mobile_drawer::MobileDrawer;
pub use page_nav::DocsPageNav;
pub use page_nav::DocsPageNav;
pub use search_modal::SearchModal;
pub use search_modal::SearchModal;
pub use sidebar::DocsSidebar;
pub use sidebar::DocsSidebar;
pub use theme_toggle::ThemeToggle;
pub use theme_toggle::ThemeToggle;

Structs§

CurrentTheme
DrawerOpen
Newtype wrapper for the drawer-open signal, so it can coexist with Signal<bool> (used for search_open) in the context system.
LayoutOffsets
Layout offset values computed by DocsLayout and consumed by child components (e.g. DocsPageContent) via context.

Functions§

DocsLayout
Documentation layout shell.
DocsPageContent
Documentation page content renderer.
DocsPageNav
Page navigation (previous/next).
DocsSidebar
Documentation sidebar navigation.
MobileDrawer
Slide-in sidebar drawer for mobile screens.
SearchButton
Reusable search button component for headers.
SearchModal
Full-screen search modal triggered by Cmd/Ctrl+K or the search button.
ThemeToggle
Light/dark theme toggle button.