Skip to content

docs(sdks): document C# generate-documentation-file and package-metadata config - #6720

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1787418535-csharp-package-metadata-docs
Open

docs(sdks): document C# generate-documentation-file and package-metadata config#6720
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1787418535-csharp-package-metadata-docs

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The C# SDK generator now lets customers control two things about the package they ship. package-metadata fills in the NuGet listing: their own description, authors, tags, copyright, icon, and project/repository links, plus optional source-linked builds and a .snupkg symbol package for debugging. generate-documentation-file (on by default) controls whether the package ships an XML documentation file, which is what drives IntelliSense for SDK consumers. Neither was documented, so customers had no way to discover them.

Implements docs for: fix(csharp): honor ClientOptions global headers, fix README snippets and XML docs, add docs/NuGet metadata config (fern-api/fern#17471)

Pages changed

  • fern/products/sdks/generators/csharp/configuration.mdx: added generate-documentation-file and a package-metadata block (parent option with a generators.yml example, then one <ParamField> per key using the page's existing dotted-path convention), in the page's alphabetical order. Each key names the .csproj property it sets, the defaults Fern derives from the GitHub output location for project-url/repository-url, and the list-joining behavior for authors (commas) and tags (semicolons).
  • fern/products/sdks/generators/csharp/publishing-to-nuget.mdx: one sentence at the end of Configure SDK package settings pointing at package-metadata on the configuration page — the NuGet listing fields are what a reader on this page would be looking for, and the detail isn't duplicated.

Option names, types, defaults, and property mappings were taken from CsharpConfigSchema.ts, generation-info.ts (generate-documentation-file defaults to true), CsharpProject.ts, and the generated .csproj in the new csharp-xml-entities/package-metadata seed fixture.

Validation: pre-commit run (Vale: 0 errors; remaining warnings/suggestions are pre-existing) and fern check --warnings (0 errors, no new warnings).

Link to Devin session: https://app.devin.ai/sessions/968f5c82f6cc4c07bdf5e1e7af4b61a3

…ata config

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown
Contributor

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.

0 participants