Skip to content

Commit 667b16f

Browse files
authored
Merge pull request #3 from PyThaiNLP/wannaphong/imrpove-page
Improve website
2 parents 2c2ac85 + 0ca87f6 commit 667b16f

File tree

3 files changed

+42
-3
lines changed

3 files changed

+42
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ jobs:
2828
BRANCH: gh-pages # The branch the action should deploy to.
2929
FOLDER: site # The folder the action should deploy.
3030
CLEAN: true # Automatically remove deleted files from the deploy branch
31+
- name: Enable search functionality
32+
run: |
33+
echo "search: true" >> mkdocs.yml

_config.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
theme: jekyll-theme-minimal
1+
theme: jekyll-theme-minimal
2+
3+
# Enhanced navigation settings
4+
navigation:
5+
- home: index.md
6+
- models:
7+
- Chunk Parser: docs/Chunk Parser.md
8+
- CLS: docs/CLS.md
9+
- NER: docs/NER.md
10+
- Encoder: docs/encoder.md
11+
- Part of Speech: docs/Part of speech.md
12+
- Thai2Fit: docs/thai2fit.md
13+
- Tokenizer: docs/tokenizer.md
14+
- Transliteration: docs/transliteration.md
15+
- WangChanGLM: docs/WangChanGLM.md
16+
17+
# Enhanced user interface settings
18+
ui:
19+
search: true
20+
toc: true
21+
theme: dark

docs/index.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,25 @@
22

33
These model cards contain technical details of the models developed and used in PyThaiNLP.
44

5-
PyThaiNLP Homepages: [https://pythainlp.github.io/](https://pythainlp.github.io/).
5+
## Sections
66

7-
GitHub: [PyThaiNLP/Model-Cards](https://github.com/PyThaiNLP/Model-Cards)
7+
- [Chunk Parser](Chunk%20Parser.md)
8+
- [CLS](CLS.md)
9+
- [NER](NER.md)
10+
- [Encoder](encoder.md)
11+
- [Part of Speech](Part%20of%20speech.md)
12+
- [Thai2Fit](thai2fit.md)
13+
- [Tokenizer](tokenizer.md)
14+
- [Transliteration](transliteration.md)
15+
- [WangChanGLM](WangChanGLM.md)
16+
17+
## PyThaiNLP Homepages
18+
19+
[PyThaiNLP Homepages](https://pythainlp.github.io/)
20+
21+
## GitHub
22+
23+
[PyThaiNLP/Model-Cards](https://github.com/PyThaiNLP/Model-Cards)
824

925
**Cite**
1026

0 commit comments

Comments
 (0)