-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
255f30b
commit 032b40d
Showing
3 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
# generate multilingual file | ||
for file in ReadMe-*.md; do | ||
typedoc --readme $file | ||
|
||
typedoc --readme $file | ||
|
||
mv docs/index.html ${file%.md}.html | ||
|
||
mv docs/index.html ${file%.md}.html | ||
done | ||
|
||
# generate docs | ||
typedoc source/ | ||
|
||
# copy html file to docs folder, replace link | ||
for file in ReadMe-*.html; do | ||
# example: mv ReadMe-zh.html docs/zh.html | ||
mv $file docs/"${file#ReadMe-}" | ||
|
||
# example: mv ReadMe-zh.html docs/zh.html | ||
mv $file docs/"${file#ReadMe-}" | ||
|
||
# example: replace ReadMe-zh.md zh.html | ||
replace "./${file%.html}.md" "./${file#ReadMe-}" docs/*.html | ||
|
||
done | ||
# example: replace ReadMe-zh.md zh.html | ||
replace "./${file%.html}.md" "./${file#ReadMe-}" docs/*.html | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
032b40d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for web-cell ready!
✅ Preview
https://web-cell-i2jrlz7ee-techquery.vercel.app
Built with commit 032b40d.
This pull request is being automatically deployed with vercel-action