Open aspiers opened 3 years ago
However the fact that the documentation of this third-party plugin is visible from hardhat.org naturally leads users to reasonably expect that searching for terms like
getNamedAccounts
via hardhat.org's search box would show the results from that documentation, and the fact that it doesn't is both confusing and inconvenient.
I think this is the core of the problem, and something we want to stop doing. Having third-party plugins READMEs as part of the site is problematic for several reasons, and this is another good one. So the "fix" will probably be just removing them and redirecting users to the repository.
That being said, it seems like our plugins aren't indexed either? So that's something we might want to fix.
I believe #1985 will lead to our plugins being indexed.
Community plugins' docs will no longer be displayed on our site once that PR is merged.
I believe #1985 will lead to our plugins being indexed.
Actually, we may need to get algolia to remove this line: https://github.com/algolia/docsearch-configs/blob/master/configs/hardhat.json#L7
This issue was marked as stale because it didn't have any activity in the last 30 days. If you think it's still relevant, please leave a comment indicating so. Otherwise, it will be closed in 7 days.
This is still relevant because, although community plugins docs are no longer part of our site, the search still doesn't seem to work for our own plugins.
For example if I enter
getNamedAccounts
in the search box on https://hardhat.org/, I get no matches:I assume this is because it is only documented in a third-party plugin:
https://hardhat.org/plugins/hardhat-deploy.html
However the fact that the documentation of this third-party plugin is visible from hardhat.org naturally leads users to reasonably expect that searching for terms like
getNamedAccounts
via hardhat.org's search box would show the results from that documentation, and the fact that it doesn't is both confusing and inconvenient.I guess there are probably some technical challenges in getting the search to index third-party plugin docs, but it would be awesome if that could be fixed!