-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Better JSDoc with @example #45
Comments
I am not sure if examples will improve SEO. I honestly have no idea. I just know that right now I get this kind of results: My best guess is that having a website wit the title matching "is-what" is the best thing. The examples just give Google more content and "fullness" to flesh out the webpages themselves so that GoogleBot doesn't think "empty website, not important" and instead thinks "full website, good ranking" |
btw something I noticed: I don't think you need to duplicate JSDoc and TS type annotations 🤔 /**
* Returns the object type of the given payload
*
* @param {*} payload
* @returns {string}
*/
export function getType(payload: any): string {
return Object.prototype.toString.call(payload).slice(8, -1)
} can just be 👇 /**
* Returns the object type of the given payload
*/
export function getType(payload: any): string {
return Object.prototype.toString.call(payload).slice(8, -1)
} |
I've come around to believe that having more content (i.e. examples) would also help improve SEO. Right now here's what it looks like on Google: https://www.google.com/search?q=is-what+site%3Agithub.io |
open question: will this ticket cover improving the SEO?
The text was updated successfully, but these errors were encountered: