Add Hashgraph Online docs scraper (standards-sdk + registry-broker)#2660
Open
kantorcodes wants to merge 2 commits intofreeCodeCamp:mainfrom
Open
Add Hashgraph Online docs scraper (standards-sdk + registry-broker)#2660kantorcodes wants to merge 2 commits intofreeCodeCamp:mainfrom
kantorcodes wants to merge 2 commits intofreeCodeCamp:mainfrom
Conversation
Signed-off-by: Michael Kantor <6068672+kantorcodes@users.noreply.github.com>
Signed-off-by: Michael Kantor <6068672+kantorcodes@users.noreply.github.com>
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.
Closes #2642
This adds a new
holscraper for Hashgraph Online documentation underhttps://hol.org/docs/, scoped to:libraries/standards-sdk/*registry-broker/*What was added
lib/docs/scrapers/hol.rblib/docs/filters/hol/clean_html.rblib/docs/filters/hol/entries.rbpublic/icons/docs/hol/16.pngpublic/icons/docs/hol/16@2x.pngpublic/icons/docs/hol/SOURCEThe scraper uses Docusaurus-specific HTML cleanup, section-level entry extraction (
h2/h3ids), and limits crawl scope to avoid non-reference content.Validation
Validated in Docker with Ruby 3.4.8:
bundle exec thor docs:list | grep -i holbundle exec thor docs:page hol libraries/standards-sdk/hcs-10/api/bundle exec thor docs:page hol registry-broker/api/client/bundle exec thor docs:generate hol --forceIf you’re adding a new scraper, please ensure that you have:
public/icons/docs/hol/directory:16.png: a 16×16 pixel icon for the doc16@2x.png: a 32×32 pixel icon for the docSOURCE: A text file containing the URL to the page the image can be found on or the URL of the original image itself