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

duckdb docs (v1.1) - scrape v1 #2371

Merged
merged 3 commits into from
Nov 23, 2024
Merged

Conversation

sgoley
Copy link
Contributor

@sgoley sgoley commented Nov 22, 2024

If you’re adding a new scraper, please ensure that you have:

  • Tested the scraper on a local copy of DevDocs
  • Ensured that the docs are styled similarly to other docs on DevDocs
  • Added these files to the public/icons/your_scraper_name/ directory:
    • 16.png: a 16×16 pixel icon for the doc
    • [email protected]: a 32×32 pixel icon for the doc
    • SOURCE: A text file containing the URL to the page the image can be found on or the URL of the original image itself

Screenshots for proof of output:

Docs with sections:
image

Articles showing code blocks as expected:
image

Articles correctly being segregated to single topics / page:
image


Honestly, might have take this about as far as I can - I'm completely new to Ruby but wanted to give this a shot.
Link to offline docs:
https://duckdb.org/docs/guides/offline-copy.html

I ran this urlscraper on windows against localhost w/ Ruby 3.3.5.

@sgoley sgoley requested a review from a team as a code owner November 22, 2024 02:58
Copy link
Contributor

@simon04 simon04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@simon04 simon04 merged commit d0582c6 into freeCodeCamp:main Nov 23, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants