style: eslint fix docs/

This commit is contained in:
harttle
2020-03-31 01:25:31 +08:00
parent bf23116ce5
commit c30766ffe1
18 changed files with 151 additions and 143 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ for file in $(find docs/source/api -name "*.md"); do
-e '1 s/</\&lt;/g' \
-e '1 s/>/\&gt;/g' \
-e '1 s/\*//g' \
-e '1 s/^# \(.*\)/---\ntitle: "\1"\n---/' \
-e '1 s/^# \(.*\)/---\ntitle: "\1"\nauto: true\n---/' \
$file
target=${file/\/_/\/}
if [ "$file" != "$target" ]; then