Skip to content

Commit d6b3ef2

Browse files
Reorganize Menus: Get Started and Concepts (no tutorials) (#261)
* get started and concept changes from #250 4751da3 * fix / remove title case from welcome page * fix nav (rm top deploy and concepts workflow), fix run title * tutorials don't exist in this PR * remove the docs/shinylive pages and images (moved to get-started) * re-direct+re-name learn shiny to get started * replace screenshot of template dashboard with actual dashboard * make dashboard example 90% width, fix trailing :::: link to create and run * remove *.quarto_ipynb * add reactivity example and clean up template example * fix link to shiny create video in get started to link to docs * add emojis to get started to match concepts * round of edits + the component buttons aren't right * make the buttons a bit smaller (still not flowing correctly) * match colors to top menu, leave a reference to posit blue * don't use bullets with emojis, just list with the emojis * fix font awesome, and buttons not flowing correctly * fix typo * remove copy+pasted repeted text * write a short blurb about the shiny example * 200px button size a bit too big. moving to 150px * split up welcome, now with more links * add a point to open source * fix same typo in #268 * chore: Use quarto v1.7.23 * feat: initial shiny app preview * feat: cards design for gallery links * chore(welcome): Tweak CTA section * fix gallery image link and remove anchor * chore: remove component section, plus more edits * rename: what_is_shiny -> what-is-shiny * chore(what-is-shiny): style link buttons, use bsicons, small edits * fix(css): Fix source code blocks in tab content * fix(css): Fix margins on code blocks in tabs only when direct children * chore: simplify gallery highlight listing template * Update get-started/install.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/install.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/create-run.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/create-run.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/create-run.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/create-run.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/create-run.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * edits to what is shiny * some copy edits and changes * move around text in extensibility * fix css on mobile * delete ipynb file * add posit connect cloud help in debug * add and update links * feat: home page links, text color, etc. * theming link to built-in theming link * alt text for code, with image update, code, and settings for reproducibility * Update get-started/what-is-shiny.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/what-is-shiny.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * Update get-started/install.qmd Co-authored-by: Garrick Aden-Buie <[email protected]> * copy edit what is shiny page * what is shiny copy edit and links * update shiny create video * add fixed.py to error app examples * debug with positron and vscode debugger and images * link for positon and vs code * add hover overlay to code and app for gallery * add wording about production-ready * add missing linebreak * update install instructions to include uv * fix links to components page where components not loading * add code comment to copy + paste solution * fix grammar * turn off repo actions for index and what is shiny page * revert get-started index gallery to ec5d46f * point to template page whenever possible * fix link similar to #282 * tweak(gallery-cards): Adjust alignment and links * feat: editable code block Co-authored-by: Daniel Chen <[email protected]> * chore: use assets/code-welcome.py as source of truth for app code * chore: adjust selection color in code block * update why shiny bullets * chore(why-shiny): Formatting and add link * chore: add aliases for moved/renamed files * clean up linking styles * chore(what-is-shiny): Edit and improve Extensibility section * chore: tweak wording --------- Co-authored-by: Daniel Chen <[email protected]> Co-authored-by: Garrick Aden-Buie <[email protected]>
1 parent 5c8b454 commit d6b3ef2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+1153
-356
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88

99
env:
10-
QUARTO_VERSION: 1.6.42
10+
QUARTO_VERSION: 1.7.23
1111

1212
jobs:
1313
build:

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
"flake8.args": [
4545
"--ignore=E501,E203"
4646
],
47-
"quarto.path": "~/.local/share/qvm/versions/v1.6.42/bin/quarto"
47+
"quarto.path": "~/.local/share/qvm/versions/v1.7.23/bin/quarto"
4848
}

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ VENV = venv
1313
PYBIN = $(VENV)/bin
1414

1515

16-
QUARTO_VERSION ?= 1.6.42
16+
QUARTO_VERSION ?= 1.7.23
1717
QUARTO_PATH = ~/.local/share/qvm/versions/v${QUARTO_VERSION}/bin/quarto
1818

1919
.PHONY: install-quarto
@@ -23,7 +23,7 @@ install-quarto:
2323
@echo "Error: qvm is not installed. Please visit https://github.com/dpastoor/qvm/releases/ to install it." >&2 \
2424
exit 1; \
2525
fi
26-
qvm install ${QUARTO_VERSION}
26+
qvm install v${QUARTO_VERSION}
2727
@echo "🔹 Updating .vscode/settings.json"
2828
@awk -v path="${QUARTO_PATH}" '/"quarto.path":/ {gsub(/"quarto.path": ".*"/, "\"quarto.path\": \"" path "\"")} 1' .vscode/settings.json > .vscode/settings.json.tmp && mv .vscode/settings.json.tmp .vscode/settings.json
2929
@echo "🔹 Updating .github/workflows/deploy-docs.yml"

_quarto.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ project:
1919
- api/core
2020
- api/testing
2121
- templates
22+
- get-started
2223
resources:
2324
- /pypi/**
2425
- /robots.txt
@@ -73,7 +74,9 @@ website:
7374
logo-alt: The logo for Shiny for Python
7475
search: true
7576
left:
76-
- text: "Learn Shiny"
77+
- text: "Get Started"
78+
file: get-started/index.qmd
79+
- text: "Concepts"
7780
file: docs/overview.qmd
7881
- text: "Components"
7982
menu:
@@ -86,13 +89,6 @@ website:
8689
- text: "Templates"
8790
file: templates/index.qmd
8891
icon: code-square
89-
- text: "Deploy"
90-
menu:
91-
- text: "Overview"
92-
href: docs/deploy.qmd
93-
- docs/deploy-cloud.qmd
94-
- docs/deploy-on-prem.qmd
95-
- docs/shinylive.qmd
9692
- text: "Gallery"
9793
file: gallery/index.qmd
9894
- text: "Playground"
@@ -227,8 +223,25 @@ website:
227223
href: "/layouts/arrange/index.html#column-nesting"
228224
- text: "Controlling for Page Size"
229225
href: "/layouts/arrange/index.html#controlling-for-page-width-and-height"
226+
- id: get-started
227+
style: "floating"
228+
collapse-level: 1
229+
align: left
230+
contents:
231+
- get-started/index.qmd
232+
- get-started/what-is-shiny.qmd
233+
- get-started/install.qmd
234+
- get-started/create-run.qmd
235+
- get-started/debug.qmd
236+
- section: "Deploy"
237+
contents:
238+
- text: "Overview"
239+
href: get-started/deploy.qmd
240+
- get-started/deploy-cloud.qmd
241+
- get-started/deploy-on-prem.qmd
242+
- get-started/shinylive.qmd
230243

231-
- id: docs
244+
- id: concepts
232245
style: "floating"
233246
collapse-level: 2
234247
align: left
@@ -237,10 +250,6 @@ website:
237250
contents:
238251
- docs/overview.qmd
239252
- docs/user-interfaces.qmd
240-
- section: "<span class='emoji-icon'>💻</span> __Workflow__"
241-
contents:
242-
- docs/install-create-run.qmd
243-
- docs/debug.qmd
244253
- section: "<span class='emoji-icon'>🤖</span> __Generative AI__"
245254
contents:
246255
- docs/genai-inspiration.qmd

docs/_metadata.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sidebar: get-started
1+
sidebar: concepts

docs/assets/shiny-create.mp4

-3.87 MB
Binary file not shown.

docs/debug.qmd

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)