feat: manual (#191)
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s
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:
parent
364a0c807d
commit
dc9f2b9e75
11 changed files with 788 additions and 41 deletions
14
public/manual/toc.json
Normal file
14
public/manual/toc.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"label": "หน้าแรก",
|
||||
"labelEN": "Home Page",
|
||||
"category": "jws",
|
||||
"page": [
|
||||
{
|
||||
"name": "chapter-01-main",
|
||||
"label": "หลัก",
|
||||
"labelEN": "Main"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue