feat: manual (#191)
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

* feat: add markdown render deps

* feat: add manual route

* feat: example toc

* feat: add highlight js dependency

* feat: add view page

* feat: add translations for property and manual in English and Thai

* feat: enhance drawer menu with internationalization support and manual section

* feat: add conditional internationalization for sub-menu labels

* feat: add video support

* refactor: add stores and type

* fix: wrong path

* feat: improve layout structure and enhance scroll functionality in ViewPage

* fix: scroll not working

* chore: change variable name

* feat: show sub tile of manual

* feat: add translation for 'Table of Contents' in English and Thai

* feat: enhance layout and add conditional rendering for Table of Contents in ViewPage

* chore: clean

* refactor: use expansion

* refactor: show icon

* refactor: spacing

---------

Co-authored-by: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Co-authored-by: Thanaphon Frappet <thanaphon@frappet.com>
This commit is contained in:
puriphatt 2025-03-18 09:58:45 +07:00 committed by GitHub
parent 364a0c807d
commit dc9f2b9e75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 788 additions and 41 deletions

14
public/manual/toc.json Normal file
View file

@ -0,0 +1,14 @@
[
{
"label": "หน้าแรก",
"labelEN": "Home Page",
"category": "jws",
"page": [
{
"name": "chapter-01-main",
"label": "หลัก",
"labelEN": "Main"
}
]
}
]