Wildan Nursahidan e2cc6eb7f2 Merge pull request #6 from DocuBook/dev-4eb3d42
chore: Sync package version v1.14.2

The original Search component was monolithic, handling state management, UI triggers, and modal content logic in a single file. This made it difficult to maintain and extend.

This commit refactors the component into three distinct, more focused components:
- `Search.tsx`: The new parent component that manages the dialog's open/close state and will serve as the entry point for selecting different search types (e.g., default, Algolia).
- `SearchTrigger.tsx`: A simple component responsible only for rendering the search button/input UI that opens the modal.
- `SearchModal.tsx`: Encapsulates all logic and UI for the search dialog itself, including the input field, results display, and keyboard navigation.

This separation of concerns improves readability, maintainability, and prepares the codebase for future scalability.
2025-08-05 18:00:38 +07:00
2025-05-29 02:20:36 +07:00
2025-08-05 10:50:41 +00:00
2025-05-25 03:20:17 +07:00
2025-05-31 02:11:57 +07:00
2025-05-28 11:21:37 +07:00
2025-05-03 21:10:51 +07:00
2025-05-31 02:11:57 +07:00
2025-05-03 21:02:02 +07:00
2025-05-03 21:10:51 +07:00
2025-05-03 21:10:51 +07:00
2025-05-28 11:21:37 +07:00
2025-05-29 02:20:36 +07:00
2025-05-03 21:10:51 +07:00

DocuBook

DocuBook is a documentation web project designed to provide a simple and user-friendly interface for accessing various types of documentation. This site is crafted for developers and teams who need quick access to references, guides, and essential documents.

Deploy with
Vercel

Features

  • Easy Navigation: Simple layout for quick navigation between pages.
  • Quick Search: Easily find documentation using a search function.
  • Responsive Theme: Responsive design optimized for devices ranging from desktops to mobile.
  • Markdown Content: Support for markdown-based documents.
  • SEO Friendly: Optimized structure for search visibility, enhancing accessibility on search engines.

Installation

npx @docubook/create@latest

command output

? Enter a name for your project directory: (docubook)

Creating a new Docubook project in /path/your/docubook from the main branch...
✔ Docubook project successfully created in /path/your/docubook!

Next steps:
1. Navigate to your project directory:
   cd docubook
2. Install dependencies:
   npm install
3. Start the development server:
   npm run dev
Description
No description provided
Readme 900 KiB
Languages
TypeScript 74.6%
MDX 18.5%
CSS 6.3%
JavaScript 0.6%