feature(doc): complete all Chinese and English documents and fix many bugs

This commit is contained in:
Dillon
2020-03-08 21:02:21 +08:00
parent b1f2de1987
commit 296424cded
76 changed files with 13278 additions and 2445 deletions

View File

@@ -1,9 +1,9 @@
{{- /* Checkbox unchecked */ -}}
{{- $REin := `<input disabled="" type="checkbox">` -}}
{{- $REout := `<i class="far fa-square fa-fw"></i>` -}}
{{- $content := replaceRE $REin $REout . -}}
{{- $old := `<input disabled="" type="checkbox">` -}}
{{- $new := `<i class="far fa-square fa-fw"></i>` -}}
{{- $content := replace . $old $new -}}
{{- /* Checkbox checked */ -}}
{{- $REin = `<input checked="" disabled="" type="checkbox">` -}}
{{- $REout = `<i class="far fa-check-square fa-fw"></i>` -}}
{{- return replaceRE $REin $REout $content -}}
{{- $old = `<input checked="" disabled="" type="checkbox">` -}}
{{- $new = `<i class="far fa-check-square fa-fw"></i>` -}}
{{- return replace $content $old $new -}}