Plug-In

Plug-ins inogona kugadzirwa .i18n/conf.yml , senge:

addon:
  - i18n.addon/toc

Official Plug-In

Faili Zita Regungano

Plug-ins ese ari npm mapakeji.

Iyo pasuru inoenderana i18n.addon/toc pamusoro ndeye https://www.npmjs.com/package/@i18n.addon/toc

Iyo plugin inoshandisa yazvino vhezheni nekukasira uye inotarisa kune inogadziridza vhiki nevhiki.

Kana iwe uchida kugadzirisa shanduro, unogona kunyora i18n.addon/[email protected] .

Dudziro yekuraira mutsara i18n.site ichaisa iyo gungano faira replug-in package uye wobva wariita.

Mazita efaira akabvumirana ndeaya anotevera

htmIndex.js

htmIndex.js ichabaiwa kusvika pakupera .i18n/htm/index.js .

Iko __CONF__ ichatsiviwa nezita rezvigadziriso zvazvino (senge dev kana ol ).

afterTran.js

Ichadaidzwa mushure mekunge shanduro yapera, uye maparameter akapfuudzwa ndeaya anotevera.

Iko kukosha kwekudzoka iduramazwi, sekuti

{
  file:{
    //  path: txt, for example :
    // "_.json": "[]"
  }
}

file ndiyo yakabuda faira runyorwa, path ndiyo nzira yefaira, uye txt ndiyo yemukati yefaira.

Yakavakwa-Mukati Mabasa

Iyo yakavakirwa-mukati js nguva yekumhanya yakavakirwa pakuvandudzwa kwechipiri boa uye mabasa akavakirwa-mukati ndeaya anotevera :

Development Guide

Plug-in kuvandudza inogona kuva referensi https://github.com/i18n-site/addon