From 13c6e52e6ba88f02ef8a188410822404fa586012 Mon Sep 17 00:00:00 2001 From: Angus Date: Sat, 30 Aug 2025 09:07:31 +0800 Subject: [PATCH 1/2] Update BrowserBuild.md to add the aaps-ci-preparation.html download link and backup download instructions. --- docs/EN/SettingUpAaps/BrowserBuild.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/EN/SettingUpAaps/BrowserBuild.md b/docs/EN/SettingUpAaps/BrowserBuild.md index 875650c81f57..706ec5d027d5 100644 --- a/docs/EN/SettingUpAaps/BrowserBuild.md +++ b/docs/EN/SettingUpAaps/BrowserBuild.md @@ -77,18 +77,17 @@ GitHub now displays your personal copy of AndroidAPS. Leave this web browser tab ``` - Download the preparation file from here: +- [aaps-ci-preparation.html](https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html) - +```{admonition} Note +:class: note -```{eval-rst} -.. raw:: html - -        aaps-ci-preparation.html +1. If you open this page in a web view or some browsers, the HTML file might not download. Copy this URL and open it in your browser to download: + `https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html` + Or visit the latest release page: + https://github.com/Angus-repo/aaps-ci-preparation/releases/latest +2. Backup download: [`aaps-ci-preparation.html`](../_static/CI/aaps-ci-preparation.html) ``` -
-
-
- AndroidAPS build requires private keys, that are stored in a Java KeyStore (JKS): From ab198f4e04ef4d940deeb1ccffc35d191966e0e3 Mon Sep 17 00:00:00 2001 From: Angus Date: Sat, 30 Aug 2025 09:29:13 +0800 Subject: [PATCH 2/2] Update BrowserBuild.md to add the aaps-ci-preparation.html download link and backup download instructions. --- docs/EN/SettingUpAaps/BrowserBuild.md | 29 +++++++++++++++++++-------- docs/shared.conf.py | 1 + requirements.txt | 3 ++- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/docs/EN/SettingUpAaps/BrowserBuild.md b/docs/EN/SettingUpAaps/BrowserBuild.md index c685580d98f8..78063e4dcd84 100644 --- a/docs/EN/SettingUpAaps/BrowserBuild.md +++ b/docs/EN/SettingUpAaps/BrowserBuild.md @@ -76,18 +76,31 @@ GitHub now displays your personal copy of AndroidAPS. Leave this web browser tab :::{include} BrowserBuildFileManagerPlus.md ``` -- Download the preparation file from here: -- [aaps-ci-preparation.html](https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html) +- Download the preparation file from here: [aaps-ci-preparation.html](https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html) -```{admonition} Note +````{admonition} Note :class: note -1. If you open this page in a web view or some browsers, the HTML file might not download. Copy this URL and open it in your browser to download: - `https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html` - Or visit the latest release page: - https://github.com/Angus-repo/aaps-ci-preparation/releases/latest -2. Backup download: [`aaps-ci-preparation.html`](../_static/CI/aaps-ci-preparation.html) +1. If you open this page from within an app (via a web view), the HTML file may not download. Please copy the URL and open it in your browser instead: +```text +https://github.com/Angus-repo/aaps-ci-preparation/releases/download/release-v1.1.2/aaps-ci-preparation.html ``` +Or visit the latest release page: +```text +https://github.com/Angus-repo/aaps-ci-preparation/releases/latest +``` + +2.Backup copy hosted on this site: + - If the external link is also unavailable, you can use this backup file to download. + + +```{eval-rst} +.. raw:: html + +        aaps-ci-preparation.html +``` + +```` AndroidAPS build requires private keys, that are stored in a Java KeyStore (JKS): diff --git a/docs/shared.conf.py b/docs/shared.conf.py index fc25324f5f56..a66c1b1af1f0 100644 --- a/docs/shared.conf.py +++ b/docs/shared.conf.py @@ -44,6 +44,7 @@ 'notfound.extension', 'sphinxcontrib.jquery', 'sphinx_design',# That is for tabs + 'sphinx_copybutton' ] myst_enable_extensions = [ diff --git a/requirements.txt b/requirements.txt index 38125d55edc2..0383591f016a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,5 @@ sphinx-togglebutton myst_parser==3.0.1 urllib3==2.5.0 sphinx-notfound-page==1.0.4 -sphinx_design==0.6.1 \ No newline at end of file +sphinx_design==0.6.1 +sphinx-copybutton==0.5.2 \ No newline at end of file