0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/docs
Caleb Jasik 2a7654edf3
Docs/ Add MetaData component for Open Graph and Twitter embeds (#784)
* Docs/ Add MetaData component for Open Graph and Twitter embeds

* Switch twitter card type to `summary_large_image`

* Add a version tag to the default-og-image url for cache busting

* Update docs/src/config.ts

Co-authored-by: Fred K. Schott <fkschott@gmail.com>

* Incorporate changes from review

* Construct `canonicalImageSrc` from `Astro.site`, which is not useful now, but could be if #788 is implemented

Co-authored-by: Fred K. Schott <fkschott@gmail.com>
2021-07-20 21:52:26 -05:00
..
public Docs/ Add MetaData component for Open Graph and Twitter embeds (#784) 2021-07-20 21:52:26 -05:00
reference [ci] yarn format 2021-07-15 19:57:50 +00:00
src Docs/ Add MetaData component for Open Graph and Twitter embeds (#784) 2021-07-20 21:52:26 -05: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 Changed URLs to match the release (#711) 2021-07-16 06:59:46 -04:00
package.json Changed URLs to match the release (#711) 2021-07-16 06:59:46 -04:00
README.md merge in docs site (#705) 2021-07-15 14:13:35 -04:00
snowpack.config.mjs [ci] yarn format 2021-07-20 04:07:49 +00:00
vercel.json [ci] yarn format 2021-07-20 19:05:48 +00: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 start 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.