Adding an Astro + X guide
If you’d like to add a new guide to using Astro with a third-party CMS, backend service or deploy host, the first step is to create a new “stub” page.
Creating a stub page involves adding a logo and creating a short page of content using a template. New stubs do not require much editing effort and can often be merged into docs quickly.
We recommend first creating a stub and linking to other guides (official guides, starter templates and tutorials, as well as community blog posts or videos) so that the new page will be available soon. Then, if you want to write a full guide that requires testing and editing from our Docs team, additional content can be added at a later date.
Submissions for full guides without first creating a stub page may be refused.
Creating a Stub page
- Upload an SVG logo optimized with SVGOMG to the
public/logos/
folder named for your service- e.g.
keystatic.svg
- e.g.
- Add an entry for your service in the
src/data/logos.ts
data file of the form:- e.g.
keystatic: { file: 'keystatic.svg', padding: '0' },
- e.g.
- Create a new MDX page named for your service in the CMS guides content folder
- e.g.
keystatic.mdx
- e.g.
- Use an existing guide as a reference, and the following frontmatter values in your
.mdx
file: - Write a single line description of your service. This should be factual, and not marketing-speak:
- Use only the following
##
(<h2>
) headings in the body of the file as needed, and add any appropriate content.
You can use this past PR for CaisyCMS as a model: https://github.com/withastro/docs/pull/3749/files
If you decide to extend your stub into a full-guide, please consult the Recipe Writing Guide for more information about writing step-by-step guides for Astro docs.