summaryrefslogtreecommitdiff
path: root/docs/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-02-07Remove docs from monorepo (#2517)Gravatar Jonathan Neal 128-14512/+0
* Remove docs from monorepo * Update PULL_REQUEST_TEMPLATE.md * Update relative doc references with links or todo
2022-02-07feat: Added the ability to add custom themes/languages to Shiki (#2518)Gravatar Juan Martín Seery 2-3/+10
* Replaced `shikiTheme` with `shikiConfig` * Code.astro now accepts custom themes/langs * Updated docs * Updated tests * Fixed language loading * Added customization examples * Updated documentation * Added more tests * Changelogs * Changed some spaces to tabs * Fixed typo in changesets * Moved tests fixtures * Rolled back changes to with-markdown-shiki * Removed lang example in docs * Optimized Code component * Try to fix windows errors * Try to see if this new tests work
2022-02-04[ci] yarn formatGravatar matthewp 1-4/+2
2022-02-04fix: import local plugins into markdown (#2534)Gravatar Juan Martín Seery 1-1/+3
* Replaced "UnifiedPluginImport" for a function * Updated tests * Updated docs * Updated examples * Added changeset * Fixed tests * Removed unused "UnifiedPluginImport" * Duplicated add-classes.mjs
2022-01-31Add Shiki as an alternative to Prism (#2497)Gravatar Juan Martín Seery 1-1/+21
* [ci] yarn format * Added shiki to markdown-remark * Upgraded astro shiki * Added minimal example * Changed defaults to match <Code /> * Replace `shiki` with `astro` classes * Added documentation * Updated Astro code to use new `codeToHtml` * Added changesets * Added basic test * Updated tests a bit Co-authored-by: JuanM04 <JuanM04@users.noreply.github.com>
2022-01-31Missing '&' in example of scoped styles (#2485)Gravatar Angie 1-1/+1
Style is written in SCSS, so there is missing '&' in nesting data-theme
2022-01-31Update deployment documentation for Vercel. (#2500)Gravatar Lee Robinson 2-8/+42
* Update deployment documentation for Vercel. * Update spanish docs too. * Apply suggestions from code review
2022-01-27update pages config doc description (#2478)Gravatar Marty Nelson 1-1/+1
2022-01-27Aligns docs on `pages` config with reality (#2477)Gravatar Marty Nelson 1-2/+2
2022-01-25[ci] yarn formatGravatar jonathantneal 1-1/+1
2022-01-25Add note about imports to migration guide (#2467)Gravatar Evan Boehs 1-0/+13
* Update 0.21.0.md * Improve grammar * add bug note
2022-01-25Change from Intall to Install in line 239 (#2457)Gravatar MostlyWhat 1-1/+1
Someone forgot to add an "s" into install, so I added one.
2022-01-20doc: fix "Astro Components" link reference (#2431)Gravatar Gustavo Paes 1-1/+1
* doc: fix Astro components link * doc: does not include a trailing slash Co-authored-by: Evan Boehs <evan@boehs.org> Co-authored-by: Evan Boehs <evan@boehs.org>
2022-01-19[ci] yarn formatGravatar jonathantneal 1-1/+1
2022-01-19Update Cloudflare pages to show gitlab support (#2357)Gravatar Obinna Ekwuno 1-2/+2
* Update Cloudflare pages to show gitlab support * Update deploy.md
2022-01-19[ci] yarn formatGravatar jonathantneal 1-1/+1
2022-01-19feat: add support for styled RSS feeds (#2371)Gravatar Nate Moore 1-1/+11
2022-01-19update image reference path (#2417)Gravatar Ramanathan10 1-1/+1
2022-01-19Fix arabic docs (#2408)Gravatar X7md 1-2/+0
* add logos for github dark mode * Hot fix (gh-*-mode-only) issue "that's an issue with wrapping an image in a link. We are currently still looking into how to best solve this. However, you can do the following which should work." - dipree * delete <td> 'cuz it was duplicate * [ci] yarn format * remove unnecessary code tag Co-authored-by: X7md <X7md@users.noreply.github.com>
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-19fix: path error in sample markdown code (#2401)Gravatar Jang Rush 1-1/+1
The path denoted in the markdown sample code is src/pages/index.md Thus, to refer to a layout component in src/layouts, we should use ../layouts/ instead of ../../layouts/.
2022-01-19Implement support for draft pages (#2392)Gravatar Pranav Karawale 2-1/+31
* feat: support draft pages * implemented support for draft pages * added integration test * updated relevant documentation (english only) * docs: explicitly mention "markdown draft pages" * chore: add changeset * chore: modify changeset - changed type to 'patch' - added more description
2022-01-18Fix "Island Architecture" phrase attribution (#2411)Gravatar John 3-6/+3
Remove incorrect statement that Jason Miller coined the phrase "Island Architecture." Fixes #2407
2022-01-18Update doc move away from Astro.resolve on styles (#2402)Gravatar Jang Rush 2-2/+6
see also #2393
2022-01-10Note that Astro also supports `<Fragment>` syntax (#2354)Gravatar Zade Viggers 1-16/+18
2022-01-10Update Cloudflare Pages guide (#2345)Gravatar Jacob Rask 1-2/+2
See https://developers.cloudflare.com/pages/framework-guides/astro
2022-01-06[ci] yarn formatGravatar natemoo-re 1-2/+2
2022-01-06Added "IntelliSense for TypeScript" (#2326)astro@0.22.7Gravatar Morritz 1-0/+17
Important knowledge to avoid type errors.
2022-01-04Rename [slug].astro to [...slug].astro (#2306)Gravatar Fred K. Schott 1-3/+2
2022-01-03Docs/move-english-docs-to-"en"-folder (#2268)Gravatar Caleb Jasik 43-125/+140
* Move english pages under `/en` and fix broken links hopefully * Add meta refresh tags for `/` to `/en/` url moves + make `/index.astro` work without js * update languageselect for new en format Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-12-22Use accessible indentation (#2253)Gravatar Jonathan Neal 36-1637/+1824
2021-12-22Update Configuration Reference documentation (#2239)Gravatar Jonathan Neal 1-16/+72
* Update Configuration Reference documentation * Update docs/src/pages/reference/configuration-reference.md Co-authored-by: Peter Singh <drgaud@hotmail.com> * nit: update initial config example * nit: update initial config example * clarify pages option * nit: update how the configuration reference is organized Co-authored-by: Peter Singh <drgaud@hotmail.com>
2021-12-21format (#2246)Gravatar Jonathan Neal 1-1/+2
2021-12-21Improve wording in documentation for `client:*` directives (#2232)Gravatar Alan 1-6/+8
* Make wording around `client:*` directives more clear A friend and I both found the wording on this page to be a touch ambiguous. When does the renderer JS download? Does Astro really delay all JS downloading until the component is ready to be hydrated, or just the component JS? I think these changes make the behavior crystal clear? * Make tense consistent for `client:only`
2021-12-19Fix minor typo in styling docs (#2233)Gravatar Tom VanAntwerp 1-1/+1
2021-12-16Support Node v14.15+ (#2202)Gravatar Jonathan Neal 18-18/+18
* Support Node v14.15+ * changeset * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * Update .changeset/new-hats-design.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> * ES2020 * update yarn.lock Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
2021-12-16chore: release pinned version of Svelte renderer (#2216)Gravatar Nate Moore 1-1/+4
* chore: release pinned version of Svelte renderer * chore(lint): Prettier fix Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-16chore: update tailwind to v3 and update the readme (#2209)Gravatar Abdullah Mzaien 1-2/+1
using `.cjs` for file extensions chore: update tailwind to v3 and update the readme
2021-12-15Update styling.md (#2207)Gravatar borisv 1-7/+7
Fixing minor spelling errors Removing void hint to Peter-Griffin gif
2021-12-15[ci] update lockfile (#2208)Gravatar Fred K. Schott 3-31/+24
* [ci] update lockfile * chore(lint): Prettier fix Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2021-12-14New translation for German docs Guides/Styling & CSS, updated config.js (#2179)Gravatar borisv 2-1/+647
* Create styling.md First translation for German docs. * Update config.ts Activating link to German docs - Guides/Styling & CSS * Update styling.md Missing text link to de/ - fixed * Update docs/src/pages/de/guides/styling.md Adds missing comma Co-authored-by: Kim Schneider <web@schneider.kim> * Update docs/src/pages/de/guides/styling.md Spelling correction Co-authored-by: Kim Schneider <web@schneider.kim> * Update docs/src/pages/de/guides/styling.md Removes extra space Co-authored-by: Kim Schneider <web@schneider.kim> * Update docs/src/pages/de/guides/styling.md Removes superfluous comma Co-authored-by: Kim Schneider <web@schneider.kim> * Update docs/src/pages/de/guides/styling.md Phrases suggestion more friendly))) Co-authored-by: Kim Schneider <web@schneider.kim> Co-authored-by: Kim Schneider <web@schneider.kim>
2021-12-14Update alias docs (#2204)Gravatar Jonathan Neal 1-32/+37
2021-12-13Replace quote character with standard apostrophe (#2142)Gravatar Luc 1-1/+1
2021-12-13Update astro-components.md (#2181)Gravatar Allen Joslin 1-1/+1
* Update astro-components.md be a little clearer right up front about what you can do I ran this code in stackBlitz minimal - which listed no renders. Note: I don't know enough yet about Astro to say why I could use React-style interpolation at compile time to insert a variable into the html -- so I can't add a phrase describing why it works... * Update docs/src/pages/core-concepts/astro-components.md Co-authored-by: Jonathan Neal <jonathantneal@hotmail.com>
2021-12-13[ci] yarn formatGravatar FredKSchott 1-1/+1
2021-12-13Fix Docs layout: theme in zh-tw (#2100)Gravatar YM 1-12/+12
2021-12-13Update astro-components.md (#2164)Gravatar Tegan Churchill 1-2/+2
* Update astro-components.md I don't get it, HTML entities are supported in JSX. * Update astro-components.md * Update astro-components.md Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-12-13fix(#2190): migration typo (#2191)Gravatar Nate Moore 2-2/+2
2021-12-07chore(lint): Prettier fixGravatar GitHub Action 1-26/+7
2021-12-07DOCS: Update "Publish to NPM" (#2134)Gravatar Jonathan Neal 1-95/+146
* DOCS: Update "Publish to NPM" * nit: fix files link * nit: update project root docs * Update docs/src/pages/guides/publish-to-npm.md Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>