Repository navigation
Conversation
Google Search Console flags "Invalid object type for field isPartOf" on moabb.neurotechx.com dataset pages: schema.org isPartOf expects a CreativeWork, while a Dataset names its DataCatalog with includedInDataCatalog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012hNr7oZchwDBcYHv7oeSkN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Google Search Console (property neurotechx.com, which covers moabb.neurotechx.com) reports one Datasets structured-data issue on the dataset pages: Invalid object type for field "isPartOf".
The JSON-LD in
docs/source/_templates/layout.htmlnames the MOABB catalogue withisPartOf, which schema.org defines for aCreativeWork. For aDataset, the catalogue goes inincludedInDataCatalog, which is what Google's Dataset guidelines use. This PR renames that one key. Changelog entry added under Bugs.Not changed here, for the maintainers to consider:
"license": "https://opensource.org/licenses/BSD-3-Clause", MOABB's code licence. The datasets themselves carry their own licences (many CC BY or CC BY-NC), so Dataset Search shows a licence that is not the data's. Per-dataset licences fromMETADATA, or dropping the field, would be accurate.creator.urlishttps://neurotechx.com, which now redirects tohttps://neurotechx.org./docs/URLs as 404, e.g./docs/generated/moabb.datasets.Lenaig2026.html(404 under both/docs/and/dev/),/docs/install/cite.html,/docs/index.html-2, andBNCI2014_001.html;with a trailing semicolon. I have not traced where those links come from.Not built locally (no docs build run); the change is one JSON key in the template.
🤖 Generated with Claude Code
https://claude.ai/code/session_012hNr7oZchwDBcYHv7oeSkN