diff --git a/.github/workflows/docs-gh-pages.yml b/.github/workflows/docs-gh-pages.yml index 6a7e817..7a0a66d 100644 --- a/.github/workflows/docs-gh-pages.yml +++ b/.github/workflows/docs-gh-pages.yml @@ -6,6 +6,7 @@ on: - master paths: - tdlight-api-openapi.yaml + workflow_dispatch: jobs: docs: @@ -25,6 +26,7 @@ jobs: mkdir docs cp -r icons/ docs/icons/ cp tdlight-api-openapi.yaml docs/tdlight-api-openapi.yaml + cp build.html docs/build.html cd docs # Download the release curl -sL -o $RELEASE_TAG https://api.github.com/repos/swagger-api/swagger-ui/tarball/$RELEASE_TAG diff --git a/README.md b/README.md index 9e157d7..d786a6a 100644 --- a/README.md +++ b/README.md @@ -239,7 +239,7 @@ The simplest way to use it is with this docker command: docker run -p 8081:8081 --env TELEGRAM_API_ID=API_ID --env TELEGRAM_API_HASH=API_HASH tdlight/tdlightbotapi ``` -The simplest way to build `Telegram Bot API server` is to use our [Telegram Bot API server build instructions generator](https://tdlib.github.io/telegram-bot-api/build.html). +The simplest way to build `Telegram Bot API server` is to use our [Telegram Bot API server build instructions generator](https://tdlight-team.github.io/tdlight-telegram-bot-api/build.html). If you do that, you'll only need to choose the target operating system to receive the complete build instructions. In general, you need to install all `Telegram Bot API server` [dependencies](#dependencies) and compile the source code using CMake: diff --git a/build.html b/build.html index 7c31d38..facbd02 100644 --- a/build.html +++ b/build.html @@ -401,9 +401,9 @@ function onOptionsChanged() { commands.push('exit'); } } - commands.push('git clone --recursive https://github.com/tdlib/telegram-bot-api.git'); + commands.push('git clone --recursive https://github.com/tdlight-team/tdlight-telegram-bot-api.git'); - commands.push('cd telegram-bot-api'); + commands.push('cd tdlight-telegram-bot-api'); if (use_vcpkg) { commands.push('git clone https://github.com/Microsoft/vcpkg.git'); @@ -484,9 +484,9 @@ function onOptionsChanged() { } commands.push('cd ../..'); if (install_dir !== '/usr/local') { - install_dir = 'telegram-bot-api'; + install_dir = 'tdlight-telegram-bot-api'; } - commands.push((use_powershell ? 'dir ' : 'ls -l ') + install_dir + '/bin/telegram-bot-api*'); + commands.push((use_powershell ? 'dir ' : 'ls -l ') + install_dir + '/bin/tdlight-telegram-bot-api*'); document.getElementById('buildCommands').innerHTML = ''; }