Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indentation fixes #1776

Merged
merged 3 commits into from
Oct 14, 2022
Merged

Indentation fixes #1776

merged 3 commits into from
Oct 14, 2022

Conversation

mrienstra
Copy link
Contributor

@mrienstra mrienstra commented Oct 11, 2022

What kind of changes does this PR include?

  • Minor content fixes (broken links, typos, etc.)

Description

Found and fixed various indentation issues.

Many of these were found using this regex:

^(?!\d+\. +[^ \n])(?!setup: \|)[^ \n].+\n+ {3,}

(could also be written ^(?!\d+\. +[^ \n]|setup: \|)[^ \n].+\n+ {3,})

I changed some tabs to spaces -- when they were located with the regex above -- but I'm leaving the bulk of that work for another PR.

Whenever I was unsure, I looked at other code samples and the withastro/astro codebase to see which formatting conventions are (seemingly) preferred by Astro maintainers.

@netlify
Copy link

netlify bot commented Oct 11, 2022

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0fa231a
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/6349d5fad9c41800090fe355
😎 Deploy Preview https://deploy-preview-1776--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 hacktoberfest-accepted Mark a PR as accepted to contribute towards Hacktoberfest label Oct 11, 2022
@sarah11918 sarah11918 added the improve documentation Enhance existing documentation (e.g. add an example, improve description) label Oct 13, 2022
@sarah11918 sarah11918 merged commit 6b72121 into withastro:main Oct 14, 2022
@mrienstra mrienstra deleted the patch-5 branch October 14, 2022 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Mark a PR as accepted to contribute towards Hacktoberfest improve documentation Enhance existing documentation (e.g. add an example, improve description)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants