mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-11-30 07:32:53 +01:00
Fix docs generation
This commit is contained in:
parent
d2f6201abc
commit
04ea059120
2
.github/workflows/docs-gh-pages.yml
vendored
2
.github/workflows/docs-gh-pages.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
# Move index.html
|
||||
mv dist/index.html .
|
||||
# Fix references in index.html
|
||||
sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" index.html
|
||||
sed -i "s|https://petstore.swagger.io/v2/swagger.json|$SWAGGER_YAML|g" ./dist/swagger-initializer.js
|
||||
sed -i "s|href=\"./|href=\"dist/|g" index.html
|
||||
sed -i "s|src=\"./|src=\"dist/|g" index.html
|
||||
sed -i "s|dist/favicon|icons/favicon|g" index.html
|
||||
|
Loading…
Reference in New Issue
Block a user