Skip to content

Add subdirectory URL syntax documentation to README #254

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

Conversation

pokey
Copy link
Contributor

@pokey pokey commented Apr 5, 2025

Document how to access specific subdirectories using GitHub tree URLs with gitingest repo examples.

pokey and others added 2 commits April 5, 2025 19:49
Document how to access specific subdirectories using GitHub tree URLs with gitingest repo examples.

Co-Authored-By: sketch
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds examples to demonstrate how to use gitingest with subdirectory URLs for both the CLI and Python API.

  • Adds a CLI snippet showing how to target a specific subdirectory via GitHub’s tree URL.
  • Adds a Python ingest() snippet illustrating the same subdirectory usage.
  • Ensures examples align with existing private repository token guidance.
Comments suppressed due to low confidence (2)

README.md:124

  • [nitpick] Capitalize the comment to keep consistent heading style (# Or from a specific subdirectory).
# or from a specific subdirectory

README.md:88

  • [nitpick] Consider noting that the main segment can be replaced with any branch or tag to fetch a subdirectory from a different branch.
gitingest https://github.com/cyclotruc/gitingest/tree/main/src/gitingest/utils

@filipchristiansen filipchristiansen self-requested a review June 21, 2025 23:03
Copy link
Contributor

@filipchristiansen filipchristiansen left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM!

@filipchristiansen filipchristiansen merged commit 5296628 into coderamp-labs:main Jun 21, 2025
18 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