Skip to content

Comments

[Repo Assist] Improve EmbeddedResource documentation with step-by-step guide#1631

Draft
github-actions[bot] wants to merge 1 commit intomainfrom
repo-assist/improve-embeddedresource-docs-ce80ff578cb31dcf
Draft

[Repo Assist] Improve EmbeddedResource documentation with step-by-step guide#1631
github-actions[bot] wants to merge 1 commit intomainfrom
repo-assist/improve-embeddedresource-docs-ce80ff578cb31dcf

Conversation

@github-actions
Copy link
Contributor

🤖 This is an automated draft PR from Repo Assist, an AI assistant.

Summary

Expands the EmbeddedResource documentation that has been a recurring source of confusion for users (see #1315, which has been open since 2020 and received multiple "me too" acknowledgements).

Changes

docs/library/JsonProvider.fsx

The existing section was a single paragraph with just the code example. This PR expands it with:

  • Step 1: How to add the (EmbeddedResource) tag in the .fsproj
  • Step 2: How to form the EmbeddedResource parameter value — the key insight that path separators become dots, prefixed with the assembly name
  • A common pitfall callout explaining the cryptic single-column error users see when the parameter is missing or wrong, and how to inspect a compiled .dll to verify the resource name

docs/library/CsvProvider.fsx

Previously just said "see JSON provider docs" with no details. Now adds a brief section explaining the EmbeddedResource pattern for CSV with a concrete one-liner example, before directing readers to the full guide.

Why this matters

Issue #1315 (reported in 2020) describes hours lost to figuring out the EmbeddedResource syntax experimentally. The naming convention (AssemblyName, AssemblyName.path.with.dots.to.file) is non-obvious and underdocumented. This PR brings the documentation up to the level needed to avoid that confusion.

Test Status

Documentation-only change — no build or test run required.

Addresses #1315.

Generated by Repo Assist

To install this workflow, run gh aw add githubnext/agentics/workflows/repo-assist.md@828ac109efb43990f59475cbfce90ede5546586c. View source at https://github.com/githubnext/agentics/tree/828ac109efb43990f59475cbfce90ede5546586c/workflows/repo-assist.md.

- Expand JsonProvider.fsx EmbeddedResource section with step-by-step
  setup instructions, fsproj snippet, naming convention explanation,
  and common pitfall warning
- Expand CsvProvider.fsx to include a brief EmbeddedResource section
  pointing readers to the full guide in JsonProvider.fsx

Addresses #1315.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor Author

✅ Pull request created: #1631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants