From 2136ab61b964d5e2a5118b7c727f32ccfe0041cf Mon Sep 17 00:00:00 2001 From: Patrick Sonnerat Date: Sat, 20 Jan 2024 15:58:32 +0100 Subject: [PATCH] Consecutive includes in tabs don't compile Moved Fork to Github create account --- docs/nightscout/github.md | 9 -------- docs/troubleshoot/atlas.md | 2 +- docs/troubleshoot/github.md | 20 ++--------------- docs/update/redeploy.md | 6 +---- docs/vendors/github/create.md | 35 ++++++++++++++++++++++++++++- docs/vendors/github/fork.md | 32 -------------------------- docs/vendors/heroku/new_user.md | 2 -- docs/vendors/northflank/new_user.md | 2 -- docs/vendors/render/new_user.md | 2 -- 9 files changed, 38 insertions(+), 72 deletions(-) delete mode 100644 docs/vendors/github/fork.md diff --git a/docs/nightscout/github.md b/docs/nightscout/github.md index e310fff4..a8611182 100644 --- a/docs/nightscout/github.md +++ b/docs/nightscout/github.md @@ -34,12 +34,3 @@ You don't need a GitHub account. ```
- ------- - -## Fork the Nightscout project - -```{include} /vendors/github/fork.md -``` - -
diff --git a/docs/troubleshoot/atlas.md b/docs/troubleshoot/atlas.md index 80f31cc6..9c9ed129 100644 --- a/docs/troubleshoot/atlas.md +++ b/docs/troubleshoot/atlas.md @@ -618,7 +618,7 @@ If you are using Loop, temporarily change a basal rate in Loop, and confirm your ## Data in the future -First try to [remove future items with the Admin Tools](/nightscout/admin_tools/#remove-future-items-from-database). +First try to [remove future items with the Admin Tools](/nightscout/admin_tools.md#remove-future-items-from-database). If it doesn't give the expected result: diff --git a/docs/troubleshoot/github.md b/docs/troubleshoot/github.md index 070772f8..6a375ccf 100644 --- a/docs/troubleshoot/github.md +++ b/docs/troubleshoot/github.md @@ -4,7 +4,7 @@ ## Lost access to GitHub -Not a big problem: +Not a big problem, just create another account if you can't recover access to the original one: ### Create a GitHub account @@ -12,18 +12,6 @@ Not a big problem: ``` -
- ------- - -### Fork the Nightscout project - -```{include} /vendors/github/fork.md - -``` - -
- You'll need to reconnect your app to GitHub.
@@ -40,11 +28,7 @@ When encountering update issues with GitHub, the easiest method it to delete it ``` -### Fork the Nightscout project - -```{include} /vendors/github/fork.md - -``` +### [Fork the Nightscout project](/troubleshoot/github.md#fork-the-nightscout-project)
diff --git a/docs/update/redeploy.md b/docs/update/redeploy.md index 7b234e25..920bd8d8 100644 --- a/docs/update/redeploy.md +++ b/docs/update/redeploy.md @@ -8,10 +8,6 @@ When encountering update issues with GitHub, the easiest method it to delete it ``` -## Fork the Nightscout project - -```{include} /vendors/github/fork.md - -``` +## [Fork the Nightscout project](/troubleshoot/github.md#fork-the-nightscout-project)
diff --git a/docs/vendors/github/create.md b/docs/vendors/github/create.md index 3f9dce64..da543d64 100644 --- a/docs/vendors/github/create.md +++ b/docs/vendors/github/create.md @@ -29,4 +29,37 @@ f) Leave the page that opened as it is. Don't close it.

-You have created your GitHub account.
+You have created your GitHub account. Now fork the Nightscout project.
+ +
+ +### Fork the Nightscout project + +a) Click here to log in at GitHub: [https://github.com/login](https://github.com/login). + Enter your username or email and your password. Click `Sign in`
+ +
+ +```{admonition} If you already have a fork of cgm-remote-monitor in GitHub +[**Delete**](/update/redeploy.md#delete-your-own-fork-of-cgm-remote-monitor) or [**update**](/vendors/github/update.md#update-your-nightscout-fork) your current cgm-remote-monitor fork before continuing.
+``` + +b) Open this link [https://github.com/nightscout/cgm-remote-monitor](https://github.com/nightscout/cgm-remote-monitor). Click on `Fork`
+ +
+ +Confirm with `Create fork`
+ +```{warning} +Make sure you deselect `Copy the master branch only`. +``` + +
+ +c) Wait for a moment
+ +
+ +d) You now have a copy (fork) of the Nightscout project repository in your own GitHub.
+ +
diff --git a/docs/vendors/github/fork.md b/docs/vendors/github/fork.md deleted file mode 100644 index 4e96a275..00000000 --- a/docs/vendors/github/fork.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -orphan: true ---- - -a) Click here to log in at GitHub: [https://github.com/login](https://github.com/login). - Enter your username or email and your password. Click `Sign in`
- -
- -```{admonition} If you already have a fork of cgm-remote-monitor in GitHub -[**Delete**](/update/redeploy.md#delete-your-own-fork-of-cgm-remote-monitor) or [**update**](/vendors/github/update.md#update-your-nightscout-fork) your current cgm-remote-monitor fork before continuing.
-``` - -b) Open this link [https://github.com/nightscout/cgm-remote-monitor](https://github.com/nightscout/cgm-remote-monitor). Click on `Fork`
- -
- -Confirm with `Create fork`
- -```{warning} -Make sure you deselect `Copy the master branch only`. -``` - -
- -c) Wait for a moment
- -
- -d) You now have a copy (fork) of the Nightscout project repository in your own GitHub.
- -
\ No newline at end of file diff --git a/docs/vendors/heroku/new_user.md b/docs/vendors/heroku/new_user.md index 36f4b152..0d574f94 100644 --- a/docs/vendors/heroku/new_user.md +++ b/docs/vendors/heroku/new_user.md @@ -73,8 +73,6 @@ If you don't see `MONGODB_URI` but see `MONGO_CONNECTION` (**NOT** `MONGO_COLLEC :::{tab-item} I don't have a GitHub Account ### Create a GitHub account ::: {include} /vendors/github/create.md -### Fork the Nightscout project -:::{include} /vendors/github/fork.md ::: :::{tab-item} I already have a GitHub Account diff --git a/docs/vendors/northflank/new_user.md b/docs/vendors/northflank/new_user.md index a2e1a184..e2bb7a0a 100644 --- a/docs/vendors/northflank/new_user.md +++ b/docs/vendors/northflank/new_user.md @@ -64,8 +64,6 @@ If you don't see `MONGODB_URI` but see `MONGO_CONNECTION` (**NOT** `MONGO_COLLEC :::{tab-item} I don't have a GitHub Account ### Create a GitHub account ::: {include} /vendors/github/create.md -### Fork the Nightscout project -:::{include} /vendors/github/fork.md ::: :::{tab-item} I already have a GitHub Account diff --git a/docs/vendors/render/new_user.md b/docs/vendors/render/new_user.md index 2c0aef3a..186a764b 100644 --- a/docs/vendors/render/new_user.md +++ b/docs/vendors/render/new_user.md @@ -57,8 +57,6 @@ If you don't see `MONGODB_URI` but see `MONGO_CONNECTION` (**NOT** `MONGO_COLLEC :::{tab-item} I don't have a GitHub Account ### Create a GitHub account ::: {include} /vendors/github/create.md -### Fork the Nightscout project -:::{include} /vendors/github/fork.md ::: :::{tab-item} I already have a GitHub Account