aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-06chore: remove docs example (#7306)Gravatar Nate Moore 32-2229/+0
2023-03-09fix sidebar group titles css (#6289)Gravatar Djobbo-Victor 1-1/+1
Co-authored-by: Djobbo Maïga <4998293+AlfieGoldson@users.noreply.github.com>
2023-03-06chore: update branding assets (#6436)Gravatar Nate Moore 1-1/+1
2023-02-21fix(examples/docs): future-proof Discord link (#6325)Gravatar Eric P Sheets 1-1/+1
2023-01-30Fix `edit this Page` on `examples/docs` (#6028)Gravatar Rychart Redwerkz 1-1/+1
* 🐛 Fix path from `pages` to `content/docs` * 🐛 Fix path from `pages` to `content/docs`
2023-01-18Migrate blog and docs starters to content collections (#5858)Gravatar Ben Holmes 21-74/+94
* docs: update README for `content/` * chore: update env * feat: update blog to use content collections * chore: remove with-content starter * fix: single quotes -> double * feat: update docs starter to content collections * refactor: config -> consts * chore: import type * edit: Astro will -> Use Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: remove unused null check * nit: spacing * nit: `as Props` 1 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * nit: `as Props` 2 Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * chore: consistent CONSTS usage * chore: `type` imports at top * chore: consistent quote usage on YAML * chore: remove `as Props` from docs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2023-01-17Update blog example env name (#5877)Gravatar Bjorn Lu 2-4/+10
2023-01-09[ci] formatGravatar bluwy 2-2/+2
2022-11-17fix: Docs Site - Table of contents highlight not working (#5411)Gravatar Rishi Raj Jain 3-40/+106
* fix: Docs Site - Table of contents highlight not working * Add html-escaper devDep * add html-escaper via pnpm
2022-11-15fix(template): delete extra css. (#5403)Gravatar 李瑞丰 1-1/+0
2022-11-08[ci] formatGravatar Princesseuh 4-90/+98
2022-10-19fix KNOWN_LANGUAGES option child element (#5118)Gravatar Antony R Mott 1-1/+1
2022-10-17Fix missing image src in config for examples docs (#5109)Gravatar Sujaykumar 1-1/+1
2022-09-29[ci] formatGravatar matthewp 1-1/+3
2022-09-29fix trailing slash mismatch in dev vs build in docs example (#4912)Gravatar Rishi Raj Jain 1-1/+1
2022-09-06fix: add unique key to elements in map (#4607)Gravatar Halí V 1-1/+1
2022-08-31[ci] formatGravatar Jutanium 1-21/+19
2022-08-31Update templates to avoid devDependencies and :global (#4576)Gravatar Dan Jutan 3-41/+48
* devDependencies => dependencies * :global -> is:global * update lockfile * remove unneeded markdown dependency * fix remaining merge conflicts * update lockfile
2022-08-31Revert "Update templates to avoid devDependencies and :global (#4544)" (#4575)Gravatar Dan Jutan 3-48/+41
This reverts commit ca2d0728e421a19492dd88aa35c37626c6a2897a.
2022-08-31Update templates to avoid devDependencies and :global (#4544)Gravatar Dan Jutan 3-41/+48
* devDependencies => dependencies * :global -> is:global * update lockfile * remove unneeded markdown dependency
2022-08-29fix: improve docs example (#4355)Gravatar Julius Marminge 18-162/+225
* fix: improve docs example * final touches * chore: prettier * lockfile * ci? * downgrade types node * fresh lockfile * lockfile and npmrc * remove debug log * Merge branch 'main' into docs-template-ts * merging lockfiles suck * update lockfile * satisfy linter
2022-08-19Fix typo in the docs example (#4382)Gravatar Vincent Uden 1-2/+2
2022-08-17Switch examples favicon to use svg (#4331)Gravatar Nate Moore 1-1/+0
* chore(examples): switch favicon to svg * chore: astro.svg => favicon.svg * Update examples/basics/README.md Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Nate Moore <nate@astro.build> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-08-12[ci] formatGravatar bholmesdev 2-2/+6
2022-08-12fix: content -> frontmatter, content.headings -> headings (#4294)Gravatar Ben Holmes 4-18/+17
2022-08-08Add Astro.generator (#4012)Gravatar Nate Moore 1-0/+1
* feat: add generator property and component * chore: remove `Generator` component * chore: update generator description * chore: include generator in examples * chore: update lockfile * chore: format * fix: do not reference core from server runtime * chore: remove component test Co-authored-by: Nate Moore <nate@astro.build>
2022-08-06[ci] formatGravatar FredKSchott 10-46/+46
2022-08-05Move types to a .d.ts file inside examples projects (#4171)Gravatar Erika 1-0/+1
* Move types to a .d.ts file to avoid making types explicit * Rename to proper types * Move to proper place * Add noEmit to tsconfig.json * Add back removed code by accident
2022-08-05[markdown] Harder, better, faster, stronger `vite-plugin-markdown` (#4137)Gravatar Ben Holmes 2-5/+6
* refactor: vite-plugin-md -> vite-plugin-md-legacy * wip: add vite-plugin-md * feat: always apply jsx renderer * fix: markHTMLString on VNode result * feat: apply new vite-plugin-markdown! * fix: add meta export to md * fix: remove needless $$metadata export * fix: toggle to legacy plugin on flag * fix: pass fileId to renderMarkdown * test: raw and compiled content on plain md * fix: escape vite env refs * refactor: astro-md -> legacy-astro-flavored-md, astro-md-mode -> astro-markdown * fix: import.meta.env refs with tests * fix: add pkg.json to clientAddress * fix: prefer JSX integration over Astro runtime * Revert "fix: prefer JSX integration over Astro runtime" This reverts commit 3e5fa49344be9c857393da9af095faab152e92e1. * fix: remove .mdx check on importSource * chore: changeset * chore: remove TODO * fix: add back getHeadings * fix: add pkg.json to astro-head fixture * fix: default to Astro renderer for MDX and MD * feat: add "headings" and "frontmatter" to md layouts * refactor: remove legacy flag conditionals from legacy plugin * fix: add back MDX warning when legacy is off * test: getHeadings() glob * fix: add error on "astro.headings" access * feat: update docs example astro.headings => headings * refactor: readFile as string w/ utf-8 * chore: remove astro metadata TODO * refactor: stringify HTML once * fix: add pkg.json to glob-pages-css
2022-08-04Audit examples templates (#3940)Gravatar Erika 6-11/+11
* basics, framework-alpine, framework-solid, delete unused examples * framework-multiple * Remove non-standard file extensions, add missing .vscode folders * Remove robots.txt * Remove blog-multiple-authors * Rewrite components comments to be consistent * Update lockfile * Remove unnecessary usage of SCSS in subpath example * Fix props weirdness in portfolio example * Remove Lit from `framework-multiple` for now * Misc fixes * Update lockfile * I'm in lockfile hell, send help
2022-07-23[ci] formatGravatar natemoo-re 1-1/+3
2022-07-23Rename Markdown util `getHeaders()` to `getHeadings()` (#4031)Gravatar Nate Moore 5-24/+24
* Renamed getHeaders() to getHeadings(), according to RFC #208. * chore: update changeset * fix: expose MarkdownHeading type from `astro` Co-authored-by: Félix Sanz <me@felixsanz.com> Co-authored-by: Nate Moore <nate@astro.build>
2022-07-21Replace/Rename Astro.canonicalURL with new Astro.url helper (#3959)Gravatar Fred K. Schott 2-3/+6
* add Astro.url * Add examples of how to create the canonicalURL Co-authored-by: Matthew Phillips <matthew@skypack.dev>
2022-07-08Format astro files in examples (#3862)Gravatar Marcus Otterström 11-52/+84
2022-05-12[ci] formatGravatar matthewp 1-85/+78
2022-05-12Fixed search bar of the docs example not working (#3247)Gravatar Rafid Muhymin Wafi 1-76/+94
* fixed search bar not working * fixed search bar not working during build * fix search bar throwing error on production site
2022-05-10Fixing mobile header for docs example (#3335)Gravatar Tony Sullivan 2-5/+8
2022-04-03chore: updated examples to v0.26.0 (#2977)Gravatar Juan Martín Seery 4-6/+6
* New script behavior * Astro.request * Reverted `deno` to `node` * Updated subpath
2022-04-02update prettier width (#2968)Gravatar Fred K. Schott 7-13/+67
2022-03-29Implement the Astro.request RFC (#2913)Gravatar Matthew Phillips 1-1/+1
* Implement the Astro.request RFC * Disable console warnings eslint * Use our logger * Adds a changeset * Fix tests that depend on params, canonicalURL, URL Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-03-18Feat: change to shiki default md renderer (#2824)Gravatar Ben Holmes 3-114/+11
* feat: change Shiki to default * refactor: update blog styles for shiki * feat: update examples/docs styles for Shiki * refactor: remove Prism-ish examples/docs styles * refactor: simplify rules with `all: unset` * refactor: remove Prism styles * refactor: examples/with-md remove Prism-specific line-highlight * chore: add changeset * chore: update changeset versions * refactor: update syntax highlight test for scoped styles * fix: apply scoped style class to pre and span lines * feat: test that scoped styles cascade to shiki code * refactor: pass scopedClassName explicitly
2022-03-09Update examples for 0.24.0 (#2740)Gravatar Tony Sullivan 1-7/+6
* removing Astro.resolve, adding sass dev dependencies * updating tailwind example to use ESM style imports * moving from `<style global>@import` to ESM imports * updating lockfile to pick up examples sass deps * chore(lint): ESLint fix Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-09merge `next` into `main` (#2705)Gravatar Nate Moore 2-0/+2
* Unflag the static build (#2652) * Unflag the static build * Only set legacyBuild to false if experimentalSSR is true * Use legacy build when we have to * Put a few more tests into legacy mode * Last two * Make astro-basic use the legacy build * Adds a changeset * Mark the lit test as legacy * Update yarn lock * Update based on feedback * Add --legacy-build flag * Move astro-basic test to use static build (#2682) * Move some tests over to the static build (#2677) * Move some tests over to the static build * Fix assets tests * Fix the assets tests * Fix for the client:only components * Moves asset tests to the static build * Move postcss test over to static build * Bring back legacy build for astro-basic test * Move astro-basic test to use static build * Migrate more tests to the static build (#2693) * fix: disable HMR during build (#2684) * Migrate more tests to the static build * Only prepend links in non-legacy mode * Add the 0-css tests * Convert all CSS tests to the static build * Migrate Astro global tests * Remove .only * Fix static build tests * Migrate a few more * More tests * Move the lit test back to legacy * Increase the test timeout Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Improve `head` injection behavior (#2436) * feat: add renderHead util to server * feat: remove `layouts` from config, Vite plugin * fix: improve head injection during rendering * chore: update compiler * fix: do not escape links * chore: enter `pre` mode * Replace `send` with `sirv` (#2713) * remove send * Create thick-ravens-chew.md * I feel like I'm going to screw something up * working finally! * rewrite req.url * Add tiny bit of doc * Update .gitignore Co-authored-by: Evan Boehs <evan@boehs.org> * Move remaining tests to the static build (#2712) * Move lit test to the static build * Migrate astro-env plugin to work in the static build * Do not remove vite:define * Adds a changeset * Add a warning when passing the --experimental-static-build flag (#2718) * Add a warning when passing the --experimental-static-build flag * Disable the lint warning * [ci] release (next) (#2721) * [ci] release (next) * chore: update changeset Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Nate Moore <nate@skypack.dev> * 404 page (#2719) * Fix: build to 404.html in the static build * Adds a changeset * fix pnpm install missing peer deps * fix svelte version in workspace * fix lockfile * fix(webapi): add dev script * improve preview reliability (#2739) * improve preview reliability - fix broken tests * shamefully hoist to unblock * remove lit from test running * chore: update lockfile Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Evan Boehs <evan@boehs.org> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2022-01-24Use CONFIG.SITE.title for h1 in doc theme header (#2449)Gravatar Jang Rush 1-1/+1
Use SITE.title specified in config.ts as the h1 heading in Header.astro of doc theme. When SITE.title is null, use "Documentation" as the fallback value. Previously the h1 heading in doc theme header is hardcoded as "Documentation".
2022-01-24Allow not specfying section header in sidebar. (#2448)Gravatar Jang Rush 1-1/+8
Someone may forget to specify a section header in SIDEBAR, which would cause build error previously.
2022-01-19Fix visibility of focused skip link on docs site (#2405)Gravatar Chris Swithinbank 1-1/+1
* Fix visibility of focused skip link on docs site The `sr-only` utility class used on the “Skip to Content” link at the top of each page in the docs is designed to be paired with the `focus:not-sr-only` class. `focus:not-sr-only` was missing on the skip link, meaning it was never shown even when focused. * Fix visibility of focused skip link in docs example project Apply the same fix as ac890b56 to the same component in the docs starter project.
2022-01-18Update examples to move away from Astro.resolve on styles (#2393)Gravatar Matthew Phillips 1-3/+5
* Update examples to move away from Astro.resolve on styles * Prepend the subpath * Adds a changeset * Switch to @import for the starter
2022-01-14Fixes for blog and docs examples (#2373)Gravatar Matthew Phillips 1-1/+3
* Fixes for blog and docs examples * Adds a changeset * Upgrade the compiler version * Use a global style tag * Skip on windows temporarily
2021-12-22Use accessible indentation (#2253)Gravatar Jonathan Neal 26-1222/+1244
2021-11-24move styles to src (#2003)Gravatar Fred K. Schott 4-3/+610