feat(glossary): provide basic term glossary (#869)
* feat(glossary): provide basic term glossary Enabled a site-wide terminology glossary. * Added the `term` shortcode displaying term definition. * Added the /glossary page showing all term definitions. * Enabled a simplistic search of term definitions. * refactor(glossary): update glossary page links and add callout for Hugo support - Removed the glossary entry from the menu and adjusted weights for subsequent items. - Added informational callouts in the glossary documentation for multiple languages, directing users to the Hugo Glossary Quick Reference. - Updated links in the glossary documentation to point to the correct pages. * fix(glossary): update links to glossary page format across multiple languages - Changed links in the glossary documentation to use Hugo's relref format for consistency. - Updated links in Persian, Japanese, English, and Simplified Chinese glossary pages. --------- Co-authored-by: Xin <5097752+imfing@users.noreply.github.com> Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
12
docs/data/en/termbase.yaml
Normal file
12
docs/data/en/termbase.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# Terminology glossary
|
||||
#
|
||||
# Example usage of term.html shortcode:
|
||||
#
|
||||
# {{< term "SEO" >}}
|
||||
|
||||
- term: seo
|
||||
abbr: SEO
|
||||
definition: "Search engine optimization – improving the visibility of a web page in search engines"
|
||||
- term: static site generator
|
||||
definition: "Software engines processing text input to generate static web pages"
|
||||
12
docs/data/fa/termbase.yaml
Normal file
12
docs/data/fa/termbase.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# واژهنامه اصطلاحات
|
||||
#
|
||||
# نمونهای از استفاده از term.html:
|
||||
#
|
||||
# {{< term "SEO" >}}
|
||||
|
||||
- term: seo
|
||||
abbr: SEO
|
||||
definition: "بهینهسازی موتور جستجو – افزایش دیدهشدن یک صفحهٔ وب در نتایج موتورهای جستجو"
|
||||
- term: "سازندهٔ سایت ایستا"
|
||||
definition: "موتورهایی که ورودی متنی را پردازش کرده و صفحات وب ایستا تولید میکنند"
|
||||
12
docs/data/ja/termbase.yaml
Normal file
12
docs/data/ja/termbase.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# 用語集
|
||||
#
|
||||
# term.html ショートコードの使用例:
|
||||
#
|
||||
# {{< term "SEO" >}}
|
||||
|
||||
- term: seo
|
||||
abbr: SEO
|
||||
definition: "検索エンジン最適化 — ウェブページの検索エンジンでの可視性を向上させる手法"
|
||||
- term: "静的サイトジェネレーター"
|
||||
definition: "テキスト入力を処理して静的なウェブページを生成するソフトウェアエンジン"
|
||||
12
docs/data/zh-cn/termbase.yaml
Normal file
12
docs/data/zh-cn/termbase.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
# 术语词汇表
|
||||
#
|
||||
# term.html shortcode 的使用示例:
|
||||
#
|
||||
# {{< term "SEO" >}}
|
||||
|
||||
- term: seo
|
||||
abbr: SEO
|
||||
definition: "搜索引擎优化——提高网页在搜索引擎中的可见度"
|
||||
- term: "静态网站生成器"
|
||||
definition: "将文本输入处理为静态网页的生成引擎"
|
||||
Reference in New Issue
Block a user