Skip to content

chore: add .gitattributes for line ending normalization#2681

Open
srpatcha wants to merge 2 commits intofreeCodeCamp:mainfrom
srpatcha:chore/add-gitattributes
Open

chore: add .gitattributes for line ending normalization#2681
srpatcha wants to merge 2 commits intofreeCodeCamp:mainfrom
srpatcha:chore/add-gitattributes

Conversation

@srpatcha
Copy link
Copy Markdown

Changes

chore: add .gitattributes for line ending normalization

Ensure consistent line endings and proper diff handling
for text and binary files.

Signed with GPG.

Ensure consistent line endings and proper diff handling
for text and binary files.
@srpatcha srpatcha requested a review from a team as a code owner April 25, 2026 02:42
Add a new UrlScraper for Deno standard library and runtime documentation
(lib/docs/scrapers/deno.rb) with:

- Deno docs site scraping (docs.deno.com)
- Page parsing with Nokogiri (main/article content extraction)
- Link resolution (relative to absolute URL conversion)
- Version handling with semver normalization (v2 and v1 support)
- Module categorization (Web APIs, I/O, File System, Network, etc.)
- Code example extraction with language detection
- HTML filter pipeline (clean_html and entries filters)

Also includes:
- Minitest test class for scraper configuration validation
- Bug fix: replace File.open(path).read with File.read(path) in
  sprites.thor to prevent unclosed file handle leak

Signed-off-by: Srikanth Patchava <spatchava@meta.com>
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.

1 participant