|
Ran
|
Jobs
1
|
Files
61
|
Run time
1min
|
Badge
README BADGES
|
push
github
Add documentation for the core component (#2582) This pull request introduces several improvements and refactors to the documentation codebase, focusing on enhancing code organization, navigation, and the extensibility of content collections. The most significant changes include the addition of a new `modules` collection, updates to navigation and pagination components to support the new collection structure, and improvements to code example and code block components for better usability and flexibility. **Content Collections and Schema** * Added a new `modules` collection in `config.ts` with its own schema and loader, allowing documentation to support both packages and modules as separate content types. * Updated the export in `config.ts` to register both `packages` and `modules` collections. **Navigation and Pagination Components** * Refactored `CollectionNavi.astro` and `CollectionPagi.astro` to use `id` instead of `slug` for entry URLs, and made them compatible with both `packages` and `modules` collections by introducing a generic `path` prop. [[1]](diffhunk://#diff-3f2ef63ff201aedb6d36b5e4cd4c41078L36-R44) [[2]](diffhunk://#diff-<a class=hub.com/sebnitu/vrembem/commit/b3dfe2ee38a7b025dc665625c429bce275e89db5">b3dfe2ee32b0f3a5e9d79d9d611c32dd1L6-R26) [[3]](diffhunk://#diff-b3dfe2ee38a7b025dc665625c429bce275e89db52b0f3a5e9d79d9d611c32dd1L37-R36) * Improved navigation styling and semantics in `Navi.astro`, including renaming the "Docs" tab to "Packages" and updating external link icon usage for consistency. **Code Example and Code Block Components** * Enhanced `CodeExample.astro` to support multiple file tabs and display their contents using the `CodeBlock` component, improving the ability to show multi-file code samples. [[1]](diffhunk://#diff-<a class=hub.com/sebnitu/vrembem/commit/406a07c8b6903e565cb3300c6e70894048ab8645">406a07c8b326b08c41303c192d1f83f59R2-R22) [[2]](diffhunk://#diff-406a07c8b6903e565cb3300c6e70894048ab8645326b08c41303c192d1f83f59R112-R125) [[3]](diffhunk://#diff-406a07c8b6903e565cb3300c6e7... (continued)
583 of 610 branches covered (95.57%)
Branch coverage included in aggregate %.
32 of 32 new or added lines in 4 files covered. (100.0%)
947 of 947 relevant lines covered (100.0%)
37.78 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 20113236890.1 | 61 |
98.27 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|