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

Add meta description to docs #2316

Merged
merged 3 commits into from
Feb 19, 2022
Merged

Add meta description to docs #2316

merged 3 commits into from
Feb 19, 2022

Conversation

StephanHoyer
Copy link
Member

rework of #2149

Description

added a meta description parser and meta descriptions to all docs pages

Motivation and Context

because google

How Has This Been Tested?

built the docs, inspected the output manually

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation change

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated docs/change-log.md

@StephanHoyer
Copy link
Member Author

closes #2149

@StephanHoyer
Copy link
Member Author

I mostly copied over the descriptions from @kylebackerio but I'm not 100% happy with them. Maybe I'll go over them tomorrow again.

Feel free to add some comments though

Copy link
Member

@dead-claudia dead-claudia left a comment

Choose a reason for hiding this comment

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

Found a couple small nits, but there's a few common themes with the rest of my suggestions:

  • I'd like the descriptions to remain consistent.
  • Meta descriptions are supposed to be describing the site or page, not necessarily the content itself. Of course there's a lot of overlap, but there is a subtle difference.
  • Some of your descriptions are a bit wordy.
  • Some of your descriptions are not quite accurate (missing details, incorrect details, etc.).

Apologies for the massive number of suggestions here.

docs/examples.md Outdated Show resolved Hide resolved
docs/fragment.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
docs/installation.md Outdated Show resolved Hide resolved
docs/buildQueryString.md Outdated Show resolved Hide resolved
docs/request.md Outdated Show resolved Hide resolved
docs/stream.md Outdated Show resolved Hide resolved
docs/trust.md Outdated Show resolved Hide resolved
docs/vnodes.md Outdated Show resolved Hide resolved
docs/withAttr.md Outdated Show resolved Hide resolved
docs/support.md Outdated Show resolved Hide resolved
docs/components.md Outdated Show resolved Hide resolved
docs/css.md Outdated Show resolved Hide resolved
docs/es6.md Outdated Show resolved Hide resolved
docs/examples.md Outdated Show resolved Hide resolved
docs/fragment.md Outdated Show resolved Hide resolved
docs/hyperscript.md Outdated Show resolved Hide resolved
docs/installation.md Outdated Show resolved Hide resolved
docs/jsonp.md Outdated Show resolved Hide resolved
docs/jsx.md Outdated Show resolved Hide resolved
docs/keys.md Outdated Show resolved Hide resolved
docs/mount.md Outdated Show resolved Hide resolved
docs/promise.md Outdated Show resolved Hide resolved
docs/prop.md Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
docs/render.md Outdated Show resolved Hide resolved
docs/request.md Outdated Show resolved Hide resolved
docs/route.md Outdated Show resolved Hide resolved
docs/signatures.md Outdated Show resolved Hide resolved
docs/stream.md Outdated Show resolved Hide resolved
docs/testing.md Outdated Show resolved Hide resolved
docs/vnodes.md Outdated Show resolved Hide resolved
docs/withAttr.md Outdated Show resolved Hide resolved
@StephanHoyer StephanHoyer force-pushed the meta-description branch 2 times, most recently from f4e4c88 to 5c9f932 Compare January 22, 2019 13:05
@StephanHoyer
Copy link
Member Author

@isiahmeadows I included all you suggestions and also fixed punctuation (hopefully). Also squashed all in on commit and rebased on next

Copy link
Member

@dead-claudia dead-claudia left a comment

Choose a reason for hiding this comment

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

LGTM mod a few nits and the missing <meta> description.

docs/generate.js Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
docs/support.md Outdated Show resolved Hide resolved
docs/version.md Outdated Show resolved Hide resolved
docs/api.md Show resolved Hide resolved
docs/change-log.md Outdated Show resolved Hide resolved
docs/code-of-conduct.md Show resolved Hide resolved
docs/components.md Show resolved Hide resolved
docs/contributing.md Show resolved Hide resolved
docs/mount.md Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
docs/signatures.md Outdated Show resolved Hide resolved
docs/support.md Outdated Show resolved Hide resolved
docs/version.md Outdated Show resolved Hide resolved
@StephanHoyer StephanHoyer force-pushed the meta-description branch 4 times, most recently from 9739375 to 1f4180a Compare February 18, 2022 09:03
docs/index.md Outdated Show resolved Hide resolved
docs/mount.md Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
Copy link
Contributor

@tbreuss tbreuss left a comment

Choose a reason for hiding this comment

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

Found some docs issues, nothing serious.

docs/framework-comparison.md Outdated Show resolved Hide resolved
docs/index.md Outdated Show resolved Hide resolved
docs/lifecycle-methods.md Outdated Show resolved Hide resolved
docs/mount.md Outdated Show resolved Hide resolved
docs/simple-application.md Show resolved Hide resolved
@StephanHoyer StephanHoyer merged commit 885b3f9 into next Feb 19, 2022
@StephanHoyer StephanHoyer deleted the meta-description branch February 19, 2022 11:06
@JAForbes JAForbes mentioned this pull request Apr 28, 2022
@orbitbot orbitbot added the patch label May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

4 participants