From 89f04ac21b969b306d7950c36189463215322912 Mon Sep 17 00:00:00 2001 From: Jon Gallant <2163001+jongio@users.noreply.github.com> Date: Sat, 11 Jul 2026 11:33:48 -0700 Subject: [PATCH] Add docs command builder Add a static command builder page for common azd rest flags and link it from navigation and the home page. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- web/src/components/Layout.astro | 1 + web/src/pages/builder.astro | 358 ++++++++++++++++++++++++++++++++ web/src/pages/index.astro | 7 + 3 files changed, 366 insertions(+) create mode 100644 web/src/pages/builder.astro diff --git a/web/src/components/Layout.astro b/web/src/components/Layout.astro index 94e41c5..d6cdf72 100644 --- a/web/src/components/Layout.astro +++ b/web/src/components/Layout.astro @@ -30,6 +30,7 @@ const hubUrl = 'https://jongio.github.io/azd-extensions/'; const navLinks = [ { label: 'Getting Started', href: `${base}getting-started` }, { label: 'Examples', href: `${base}examples` }, + { label: 'Builder', href: `${base}builder` }, { label: 'Reference', href: `${base}reference` }, ]; --- diff --git a/web/src/pages/builder.astro b/web/src/pages/builder.astro new file mode 100644 index 0000000..8c1bee4 --- /dev/null +++ b/web/src/pages/builder.astro @@ -0,0 +1,358 @@ +--- +import Layout from '../components/Layout.astro'; + +const description = 'Build an azd rest command by choosing method, URL, auth, body, query, output, and diagnostic flags.'; +--- + + +
+ + +
+
+
+ Request +
+ + + + + +
+
+ +
+ Authentication and output +
+ + + + + +
+
+ +
+ Body, headers, and query +
+ + + +
+ + + + +
+ +
+ Common switches +
+ + + + + + +
+
+
+ + +
+
+
+ + + + diff --git a/web/src/pages/index.astro b/web/src/pages/index.astro index 069d0a4..cc18f15 100644 --- a/web/src/pages/index.astro +++ b/web/src/pages/index.astro @@ -59,6 +59,11 @@ const description = "azd rest - Make authenticated Azure REST API calls with aut title="Response Formatting" description="Pretty-printed JSON by default. Raw, compact JSON, or binary output modes. Save responses to file." /> + See more examples → + + Build a command →