Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-30 15:44:42 +01:00
parent 6724673da2
commit a1b6ce8c5f
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -104,7 +104,7 @@ pipeline {
sh "\
set -e; \
cd tdlight/target-release/apidocs; \
find . -name '*.html' -exec sed -i -r 's/<head>/<head>\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style>\\n\\t#memberSummary_tabpanel{overflow-x: auto;}\\n\\tli.blockList{overflow-x: auto;}\\n\\t#search{width: 400px;max-width: 65vw;}\\n\\t.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList{white-space:normal;word-break:break-word;}\\n<\\/style>/' {} \\;; \
find . -name '*.html' -exec sed -i -r 's/<\\/title>/<\\/title>\\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style>\\n\\t#memberSummary_tabpanel{overflow-x: auto;}\\n\\tli.blockList{overflow-x: auto;}\\n\\t#search{width: 400px;max-width: 65vw;}\\n\\t.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList{white-space:normal;word-break:break-word;}\\n<\\/style>/' {} \\;; \
git init; \
git remote add origin https://${USER}:${encodedPass}@git.ignuranza.net/tdlight-team/tdlight-docs; \
git config user.email \"andrea@warp.ovh\"; \