docs
docs copied to clipboard
Astro documentation
[Inside Astro's typing file](https://github.com/withastro/astro/blob/main/packages/astro/src/%40types/astro.ts), we have a lot of JSDoc comments that have links to the documentation. Those links are shown to users directly in their editors when they hover,...
Currently, we have a [`.jsx` vs `.astro` comparsion](https://docs.astro.build/en/comparing-astro-vs-other-tools/#astro-vs-jsx) that covers the syntactic differences between the two languages. This is helpful, but there's another difference that I want to point out....
In response to Twitter comment: https://twitter.com/JoshuaYoes/status/1539038214219890689 > My work has a massive gatsby monorepo for several templates. Build times are ridiculous, thought about doing SSR but other factors make SSG...
#### What kind of changes does this PR include? - [ ] Minor content fixes (broken links, typos, etc.) - [x] New or updated content - [ ] Translated content...
- [ ] Increase the number of results returned by DocSearch (currently maxes out at 5). Maybe with [the `pagination` parameter](https://www.algolia.com/doc/api-reference/search-api-parameters/) passed to [`searchParameters`](https://docsearch.algolia.com/docs/api/#searchparameters-1)? What’s the number of results we...
The example code for `Astro.slots` doesn't seem to work, and I'm not sure whether the given example is wrong or the api has a bug. The code I tested is:...
Suggestions from @FredKSchott for ways to improve the `scripts/docgen.mjs` script that auto-generates the API reference from types in the Astro repo: - [ ] Instead of `STUB`, take an optional...
Documents how to exclude pages or directories from being built by prefixing their name with an underscore.
We have @Chrissdroid 's draft of our new troubleshooting page in this PR https://github.com/withastro/docs/pull/536 , and I had the idea that it would also be great to have a "How...
#### What kind of changes does this PR include? - New or updated content - Translated content #### Description - What does this PR change? Updated content according to this...