From 368887ad339ed0c363382af0e0d85e0ace4b8a45 Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Tue, 24 Sep 2024 15:38:55 -0500 Subject: [PATCH 1/7] Adds publish to Connect Cloud button to readme --- examples/superzip/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/superzip/README.md b/examples/superzip/README.md index 08c9bae..54f5591 100644 --- a/examples/superzip/README.md +++ b/examples/superzip/README.md @@ -1,3 +1,5 @@ ## Data -The `superzip.csv` is the result of [this script](https://github.com/rstudio/shinycoreci-apps/blob/main/apps/063-superzip-example/global.R) \ No newline at end of file +[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fsuperzip%2Fapp.py&pythonVersion=3.11) + +The `superzip.csv` is the result of [this script](https://github.com/rstudio/shinycoreci-apps/blob/main/apps/063-superzip-example/global.R) From ae13eea2de1017891499dac1195d6ee348c59111 Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Tue, 24 Sep 2024 15:42:45 -0500 Subject: [PATCH 2/7] Adds button preview related files to .gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 27652a7..4bf5270 100644 --- a/.gitignore +++ b/.gitignore @@ -111,3 +111,7 @@ typings/ Untitled*.ipynb rsconnect-python/ + +# Deploy to Connect Cloud Button +*/*/README_FILES/* +*/*/README.html From cfd31edeaf854f422fb8041d6a68820961ce7007 Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Tue, 24 Sep 2024 16:14:14 -0500 Subject: [PATCH 3/7] Adds missing scikit-learn dependency to plotly example requirements.txt --- examples/plotly/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/plotly/requirements.txt b/examples/plotly/requirements.txt index 1ad9607..51b9c33 100644 --- a/examples/plotly/requirements.txt +++ b/examples/plotly/requirements.txt @@ -4,3 +4,4 @@ ipywidgets numpy pandas plotly +scikit-learn From 4880e03a2d12b6cbae1a20000315f8a9b2bef25d Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Tue, 24 Sep 2024 16:15:43 -0500 Subject: [PATCH 4/7] Adds Deploy to Connect Cloud button to plotly example README --- examples/plotly/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/plotly/README.md diff --git a/examples/plotly/README.md b/examples/plotly/README.md new file mode 100644 index 0000000..0bc3d87 --- /dev/null +++ b/examples/plotly/README.md @@ -0,0 +1,3 @@ +## Plotly app + +[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fplotly%2Fapp.py&pythonVersion=3.11) From 27528ad8b2b64d1a9794d82eb4fef431281995ff Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Thu, 26 Sep 2024 11:35:51 -0500 Subject: [PATCH 5/7] Adds Deploy to Connect button to outputs example app --- examples/outputs/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/outputs/README.md diff --git a/examples/outputs/README.md b/examples/outputs/README.md new file mode 100644 index 0000000..8bd7736 --- /dev/null +++ b/examples/outputs/README.md @@ -0,0 +1,3 @@ +## Outputs app + +[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Foutputs%2Fapp.py&pythonVersion=3.11) From 1f3c089f7edc075933ad2fbad70758deec58cd33 Mon Sep 17 00:00:00 2001 From: Garrett Grolemund Date: Wed, 2 Oct 2024 10:54:44 -0500 Subject: [PATCH 6/7] Moves button position. Updates images with CDN link. --- examples/outputs/README.md | 2 +- examples/plotly/README.md | 3 ++- examples/superzip/README.md | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/outputs/README.md b/examples/outputs/README.md index 8bd7736..2b14eee 100644 --- a/examples/outputs/README.md +++ b/examples/outputs/README.md @@ -1,3 +1,3 @@ ## Outputs app -[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Foutputs%2Fapp.py&pythonVersion=3.11) + diff --git a/examples/plotly/README.md b/examples/plotly/README.md index 0bc3d87..ddf863e 100644 --- a/examples/plotly/README.md +++ b/examples/plotly/README.md @@ -1,3 +1,4 @@ ## Plotly app -[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fplotly%2Fapp.py&pythonVersion=3.11) + + diff --git a/examples/superzip/README.md b/examples/superzip/README.md index 54f5591..19ed9d8 100644 --- a/examples/superzip/README.md +++ b/examples/superzip/README.md @@ -1,5 +1,7 @@ ## Data -[![](https://docs.posit.co/connect-cloud/images/cc-deploy.svg)](https://connect.posit.cloud/publish?framework=shiny&sourceRepositoryURL=https%3A%2F%2Fgithub.com%2Fposit-dev%2Fpy-shinywidgets&sourceRef=main&sourceRefType=branch&primaryFile=examples%2Fsuperzip%2Fapp.py&pythonVersion=3.11) + + + The `superzip.csv` is the result of [this script](https://github.com/rstudio/shinycoreci-apps/blob/main/apps/063-superzip-example/global.R) From 93d3994c6488138c9e72d6e16abbb74de119fe42 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Wed, 2 Oct 2024 14:29:52 -0400 Subject: [PATCH 7/7] Restrict ignore to `examples` apps --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4bf5270..cd1e69f 100644 --- a/.gitignore +++ b/.gitignore @@ -113,5 +113,5 @@ Untitled*.ipynb rsconnect-python/ # Deploy to Connect Cloud Button -*/*/README_FILES/* -*/*/README.html +examples/*/README_FILES/* +examples/*/README.html