mmengine/docs/zh_cn/cp_origin_docs.sh
Mashiro 910778a94e
[Docs] Fix cannot show changelog.md in chinese documents. (#606)
* [Fix] Fix error path of changelog.md in docs/zh_cn/index.rsts

* Fix stupid commit

* run bash script during build docs

* run bash script during build docs

* run bash script during build docs

* translate notes to 说明

* update auth
2022-10-14 16:56:34 +08:00

10 lines
232 B
Bash
Executable File

#!/usr/bin/env bash
# Copy *.md files from docs/ if it doesn't have a Chinese translation
for filename in $(find ../en/ -name '*.md' -printf "%P\n");
do
mkdir -p $(dirname $filename)
cp -n ../en/$filename ./$filename
done