diff --git a/docs/_quarto.yml b/docs/_quarto.yml index b481212bb..92c57cfee 100644 --- a/docs/_quarto.yml +++ b/docs/_quarto.yml @@ -26,10 +26,8 @@ website: contents: - href: index.qmd text: Home - - section: "Using DataHub" - contents: - - users/private-repo.qmd - - users/hubs.qmd + - href: hubs.qmd + text: JupyterHub Deployments - section: "Contributing to DataHub" contents: - admins/pre-reqs.qmd diff --git a/docs/users/hubs.qmd b/docs/hubs.qmd similarity index 100% rename from docs/users/hubs.qmd rename to docs/hubs.qmd diff --git a/docs/users/hubs/data100.qmd b/docs/hubs/data100.qmd similarity index 100% rename from docs/users/hubs/data100.qmd rename to docs/hubs/data100.qmd diff --git a/docs/users/hubs/data102.qmd b/docs/hubs/data102.qmd similarity index 100% rename from docs/users/hubs/data102.qmd rename to docs/hubs/data102.qmd diff --git a/docs/users/hubs/datahub.qmd b/docs/hubs/datahub.qmd similarity index 100% rename from docs/users/hubs/datahub.qmd rename to docs/hubs/datahub.qmd diff --git a/docs/users/hubs/edx.qmd b/docs/hubs/edx.qmd similarity index 100% rename from docs/users/hubs/edx.qmd rename to docs/hubs/edx.qmd diff --git a/docs/users/hubs/prob140.qmd b/docs/hubs/prob140.qmd similarity index 100% rename from docs/users/hubs/prob140.qmd rename to docs/hubs/prob140.qmd diff --git a/docs/users/hubs/r.qmd b/docs/hubs/r.qmd similarity index 100% rename from docs/users/hubs/r.qmd rename to docs/hubs/r.qmd diff --git a/docs/users/hubs/shiny.qmd b/docs/hubs/shiny.qmd similarity index 100% rename from docs/users/hubs/shiny.qmd rename to docs/hubs/shiny.qmd diff --git a/docs/users/hubs/stat159.qmd b/docs/hubs/stat159.qmd similarity index 100% rename from docs/users/hubs/stat159.qmd rename to docs/hubs/stat159.qmd diff --git a/docs/users/hubs/stat20.qmd b/docs/hubs/stat20.qmd similarity index 100% rename from docs/users/hubs/stat20.qmd rename to docs/hubs/stat20.qmd diff --git a/docs/users/images/RStudio-Logo-flat.svg b/docs/users/images/RStudio-Logo-flat.svg deleted file mode 100644 index b0401ca51..000000000 --- a/docs/users/images/RStudio-Logo-flat.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/users/images/desktop.png b/docs/users/images/desktop.png deleted file mode 100644 index bae26671d..000000000 Binary files a/docs/users/images/desktop.png and /dev/null differ diff --git a/docs/users/images/jupyterlab.png b/docs/users/images/jupyterlab.png deleted file mode 100644 index 54dac3571..000000000 Binary files a/docs/users/images/jupyterlab.png and /dev/null differ diff --git a/docs/users/images/rstudio.png b/docs/users/images/rstudio.png deleted file mode 100644 index ed98d31a6..000000000 Binary files a/docs/users/images/rstudio.png and /dev/null differ diff --git a/docs/users/images/vscode.png b/docs/users/images/vscode.png deleted file mode 100644 index 473165823..000000000 Binary files a/docs/users/images/vscode.png and /dev/null differ diff --git a/docs/users/private-repo.qmd b/docs/users/private-repo.qmd deleted file mode 100644 index 66b95354b..000000000 --- a/docs/users/private-repo.qmd +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: Accessing private GitHub repos ---- - -GitHub is used to store class materials (lab notebooks, lecture notebooks, etc), and -[nbgitpuller](https://jupyterhub.github.io/nbgitpuller/) is used to distribute it -to students. By default, nbgitpuller only supports public GitHub repositories. However, -Berkeley's JupyterHubs are set up to allow pulling from private repositories -as well. - -Public repositories are still preferred, but if you want to distribute a private repository -to your students, you can do so. - -1. Go to the GitHub app for the hub you are interested in. - - 1. [R Hub](https://github.com/apps/berkeley-r-hub-private-repo) - 2. [DataHub](https://github.com/apps/berkeley-datahub-private-repo) - 3. [PublicHealth Hub](https://github.com/apps/public-health-datahub-private-repo) - 4. [Biology Hub](https://github.com/apps/berkeley-biology-hub-private-repo) - 5. [EECS Hub](https://github.com/apps/berkeley-eecs-hub-private-repo) - 3. [Open an issue](https://github.com/berkeley-dsep-infra/datahub/issues) if you - want more hubs supported. - -2. Click the 'Install' button. - -3. Select the organization / user containing the private repository you want to distribute - on the JupyterHub. If you are not the owner or administrator of this organization, you might - need extra permissions to do this action. - -4. Select 'Only select repositories', and below that select the private repositories you want - to distribute to this JupyterHub. - -5. Click the 'Install' button. The JupyterHub you picked now has access to this private repository. - You can revoke this anytime by coming back to this page, and removing the repo from the list of - allowed repos. You can also totally uninstall the GitHub app. - -6. You can now make a link for your repo at [nbgitpuller.link](http://nbgitpuller.link). If you had - just created your repo, you might have to specify `main` instead of `master` for the branch - name, since [GitHub changed the name of the default branch](https://github.com/github/renaming) - recently. - -That's it! You're all set. You can distribute these links to your students, and they'll be -able to access your materials! You can also use more traditional methods (like the `git` commandline -tool, or RStudio's git interface) to access this repo as well. - -Note: *Everyone* on the selected JupyterHub can clone your private repo if you -do this. They won't be able to see that this repo exists, but if they get their -hands on your nbgitpuller link they can fetch that too. More fine-grained -permissions coming soon.