0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/docs
Matthew Phillips 788c769d78
Implementation of hoisted scripts (#1178)
* Implementation of hoisted scripts

* Use the facade id

* Adds docs on hoisted scripts

* Don't try to run rollup if there are no hoisted scripts

* Handle scripts possibly being undefined (client:only)

* Get rid of changes to the portfolio example

* Adds a changeset

* Remove a todo

* Fix lint errors

* Rename TransformResult property to hoistedScripts

* Move Hoisted Scripts docs to astro-components page

* Fixes lint errors

* Fix path join for windows
2021-08-27 10:12:27 -04:00
..
public Astro v0.19 release blog post (#1135) 2021-08-17 23:58:59 -07:00
reference Fix typos in the docs. (#1165) 2021-08-19 17:56:58 -06:00
src Implementation of hoisted scripts (#1178) 2021-08-27 10:12:27 -04:00
.prettierignore merge in docs site (#705) 2021-07-15 14:13:35 -04:00
.prettierrc [ci] yarn format 2021-07-20 04:07:49 +00:00
astro.config.mjs [ci] yarn format 2021-07-31 05:41:22 +00:00
CHANGELOG.md Version Packages (#1150) 2021-08-18 09:24:09 -07:00
package.json add "astro preview" command (#1226) 2021-08-26 12:08:52 -07:00
README.md add dev script, switch documentation from advising start to dev script (#1141) 2021-08-18 22:07:08 -07:00
snowpack.config.mjs [ci] yarn format 2021-07-20 04:07:49 +00:00
vercel.json Docs site cleanup (#948) 2021-07-30 22:39:15 -07:00

Astro Docs Astro logo

Contributing

Pull Requests

Every pull request needs to be reviewed by another contributor to the documentation to help with the overall quality of the documentation.

Running this project

  • Clone/Fork the project
  • This project uses yarn to manage dependencies. Make sure that you have yarn v1 installed.
  • Run yarn install to install latest dependencies.
  • Run yarn dev to start the dev server.
  • Run yarn build to build the final site for production.

The environment variable SNOWPACK_PUBLIC_GITHUB_TOKEN must be set to a personal access token with public_repo permissions to prevent rate-limiting.