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

Ensure FAQ is indexed by search engines #1

Open
simonw opened this issue Nov 26, 2022 · 2 comments
Open

Ensure FAQ is indexed by search engines #1

simonw opened this issue Nov 26, 2022 · 2 comments

Comments

@simonw
Copy link

simonw commented Nov 26, 2022

A frustrating thing about GitHub repositories is that GitHub have https://github.com/robots.txt configure such that only the contents of README.md can be crawled by search engines such as Google.

All other files in the repo - including FAQ.md - are blocked from being crawled!

See here:

The two potential solutions I can see for this are:

  • Include configuration for publishing a copy of the FAQ using GitHub Pages, which can be indexed by search engine crawlers
  • Move the built FAQ content into the README itself
@pradyunsg
Copy link

pradyunsg commented Nov 29, 2022

Is including a link to the FAQ from the README sufficient?

All other files in the repo - including FAQ.md - are blocked from being crawled!

My reading is that tree pages are blocked, so file listings but not the individual files? If the search engine can get to the page, it’d index it — that’s my mental model at least.

@willmcgugan
Copy link
Owner

You can configure the FAQ.md to go where you like. For Textual I was going to put it in the docs directory, so it gets built with GitHub pages.

It would also be possible to add some kind of marker that inserted the FAQ in to the README. Although TBH I'm not sure I'd want to go to that effort. Hoping the community contributes such features!

willmcgugan pushed a commit that referenced this issue Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants