Conversation

Replying to and
They place enormous value on authority / trust attributed to the domain by their algorithms. It's increasingly difficult to compete with prominent domains in the search results even if there are far more links to your relevant results, etc. It's a consequence of their anti-spam.
1
If there's no viewport configuration, it opens up on mobile as a zoomed out desktop site rather than scaling it to the screen. Setting up the viewport metadata states that it's a mobile friendly site and sizes it to the screen. Sidebar would definitely need to be changed, etc.
1
Replying to and
It's not a competition for top search result. The official doc is the top search result. It's the inline snippet (I forget what Google calls them) from a non-authoritative source *above the search results* that's the problem.
2
Replying to and
I think the authority / trust of the domain matters even more for the inline answers though. There are many cases where popular, mainstream sites give them bogus information but they're far more likely to use those than small sites since the algorithms don't trust them enough.
2
It would definitely have a better chance of ranking higher in results and being used for answers if it was a more modern site though including being mobile friendly (often just means adding <meta name="viewport" content="width=device-width, initial-scale=1"/> for minimal sites).
1
Replying to and
My goal isn't to get git-scm in the featured snippet. It's to get Google to stop adding new spam vectors. The featured inline answer snippets are actively harmful. I highlighted this one as an example of that, not in hopes of getting someone else featured there.
1
Replying to and
It's their intent though. They are perfectly happy with having the results contain Wikipedia, StackOverflow, Quora and a bunch of big corporate sites. They delegate moderation of user content / spam to these sites. Their anti-spam approach is increasingly locking out small sites.
2
1
I would describe their overall approach to anti-spam as simply distrusting non-major sites which often ends up delegating the problem to the major sites with user generated content (Wikipedia, StackOverflow, Quora, etc.) where moderation / anti-spam is someone else's problem.
1
So, for example, once there's an FAQ on grapheneos.org, I wouldn't expect it to show up in many search results or ever get used for their inline answers. If someone copy-pasted the content to a StackOverflow answer, that would go right to the top. It's the sad reality.
1
1
Their search algorithm often prefers my Reddit links to my content over my content, because they trust reddit.com pages simply linking to grapheneos.org but not grapheneos.org itself. The same goes for GitHub. They penalize doing any self-hosting.