Skip to content

content collections in styling, markdown pages#2409

Merged
sarah11918 merged 7 commits intomainfrom
collections-in-more-pages
Jan 19, 2023
Merged

content collections in styling, markdown pages#2409
sarah11918 merged 7 commits intomainfrom
collections-in-more-pages

Conversation

@sarah11918
Copy link
Copy Markdown
Member

@sarah11918 sarah11918 commented Jan 18, 2023

This PR starts to sprinkle in content collections in appropriate places throughout the docs.

  1. Markdown/MDX: Content collections is now the recommended suggestion for creating pages, so it is now listed under the ## Markdown and MDX Pages heading.

  2. Pages: Content collections is now mentioned in Pages

  3. Styling of content collections came up in discussion, which is really no different than styling your Markdown content anywhere it occurs. So, in order to support new collections users this PR adds a section on Markdown styling to the Styling page. And, the Markdown/MDX page links TO it, rather than duplicating content.

TODO: Link to this new styling markdown section FROM the content collections page itself. This page already has a complicated PR in the works, so this will be added later to this PR or in a future one.

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 18, 2023

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 1981e03
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63c99148aac7fa00080f9ed3
😎 Deploy Preview https://deploy-preview-2409--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@sarah11918 sarah11918 added the improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) label Jan 19, 2023
Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Thanks for going through and doing this @sarah11918! Hopefully these comments show up ok and if they don't... I'll blame it on my phone.

sarah11918 and others added 2 commits January 19, 2023 11:23
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

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

Thanks, Sarah! Let's get those sprinkles 💖

@sarah11918 sarah11918 merged commit 1d0823f into main Jan 19, 2023
@sarah11918 sarah11918 deleted the collections-in-more-pages branch January 19, 2023 19:10
trueberryless added a commit to trueberryless/withastro-docs that referenced this pull request Oct 22, 2024
yanthomasdev added a commit that referenced this pull request Nov 4, 2024
* update translation #1442

* update translation #1434

* update translation #1510

* update translation #1538

* Update src/content/docs/de/basics/astro-pages.mdx

* Update src/content/docs/de/basics/astro-pages.mdx

* Update src/content/docs/de/basics/astro-pages.mdx

* Update src/content/docs/de/basics/astro-pages.mdx

* Update src/content/docs/de/basics/astro-pages.mdx

* update translation #1638

* update translation #2091

* update translation #2133

* update translation #2409

* update translation #2371

* update translation #4610

* update translation #5128

* update translation #5205

* update translation #5240

* update translation #5364

* update translation #5765

* update translation #6267

* remove paragraph where I cant find when it was deleted in original version

* update translation #6620

* update translation #8495

* update translation #8573

* update translation #9336

* update translation #9336 2/2

didnt save file locally, so git didnt add

* fix all visual differences by comparing manually against original english version

* fix broken links in `astro-pages.mdx`

* Breaking changes to other files! fixing links which link to the �stro-pages.mdx file

* but now...

* Update src/content/docs/de/basics/astro-pages.mdx

Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com>

* Update src/content/docs/de/basics/astro-pages.mdx

Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com>

* Update src/content/docs/de/basics/astro-pages.mdx

Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com>

* revert Update markdown-content.mdx

@lunaria-track:src/content/docs/de/basics/astro-pages.mdx

---------

Co-authored-by: Max <51922004+Maxframe@users.noreply.github.com>
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants