Skip to content

move middleware API section to api-reference page#5468

Merged
sarah11918 merged 8 commits into
mainfrom
middleware-api
Nov 24, 2023
Merged

move middleware API section to api-reference page#5468
sarah11918 merged 8 commits into
mainfrom
middleware-api

Conversation

@sarah11918
Copy link
Copy Markdown
Member

@sarah11918 sarah11918 commented Nov 21, 2023

Description (required)

This separates out the API reference for Middleware from the guide page, and puts it on the API reference (where it should be! 😄 )

Content HAS been revised:

  • Middleware guide content reordered for flow
  • Some explanations for content and using content.locals to store data have been brought up into main guide description, removed from API reference (since they are not part of astro:middleware itself, only used by it)
  • API reference is now exclusively stuff not elsewhere documented on the API page, and some code examples added

Related issues & labels (optional)

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Nov 24, 2023 0:38am

Copy link
Copy Markdown
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gut check passed!

Comment thread src/content/docs/en/guides/integrations-guide/netlify.mdx Outdated
Comment thread src/content/docs/en/guides/integrations-guide/netlify.mdx Outdated
Comment thread src/content/docs/en/reference/adapter-reference.mdx Outdated
Comment thread src/content/docs/en/reference/api-reference.mdx Outdated
Copy link
Copy Markdown
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🫡

@sarah11918 sarah11918 added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. help - leave feedback Let's crowd source this one! Looking for comments, suggestions, LGTMs! labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. help - leave feedback Let's crowd source this one! Looking for comments, suggestions, LGTMs!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants