Skip to content

Add id attribute explanation.#2511

Merged
Jutanium merged 3 commits intowithastro:mainfrom
jazzypants1989:patch-1
Feb 2, 2023
Merged

Add id attribute explanation.#2511
Jutanium merged 3 commits intowithastro:mainfrom
jazzypants1989:patch-1

Conversation

@jazzypants1989
Copy link
Copy Markdown
Contributor

I was curious about what the id property was, because I was wondering why I would want to over-write it with my own custom slugs.

To clarify, I think using the filename makes a lot of sense and it was my guess, but the attribute's name "id" doesn't make that immediately clear.

Sorry if I did anything wrong. :)

What kind of changes does this PR include?

  • Minor content fixes (broken links, typos, etc.)
  • New or updated content
  • Translated content
  • Changes to the docs site code
  • Something else!

Description

  • Closes #
  • What does this PR change? Give us a brief description.
  • Did you change something visual? A before/after screenshot can be helpful.

I was curious about what the id property was, because I was wondering why I would want to over-write it with my own custom slugs.

To clarify, I think using the filename makes a lot of sense and it was my guess, but the attribute's name "id" doesn't make that immediately clear.

Sorry if I did anything wrong. :)
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 30, 2023

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 47d069d
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63dafa1c2f56ac00084d0679
😎 Deploy Preview https://deploy-preview-2511--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 30, 2023
@delucis delucis requested a review from sarah11918 February 1, 2023 09:58
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.

3 participants