Skip to content

Further improvements to configuration documentation - #429

Merged
cwing-nvidia merged 3 commits into
ahmadki/fix_392_393from
chris/ahmadki/fix_392_393_394
Dec 4, 2025
Merged

cwing-nvidia merged 3 commits into
ahmadki/fix_392_393from
chris/ahmadki/fix_392_393_394

Conversation

@cwing-nvidia

Copy link
Copy Markdown
Contributor

Summary

Improves the configuration documentation by restructuring both the concepts and reference pages for clarity and reducing redundancy.

Changes

Concepts Page (docs/about/concepts/configuration.md)

  • Add "How Servers Connect" section explaining Agent-Model-Resources relationship
  • Add "Config File Locations" section with directory tree visualization
  • Rename "Three-Level Pattern" to "Server Block Structure"
  • Improve inline YAML comments for clarity
  • Remove "Policy Model Variables" section (moved to reference page)
  • Reframe intro to be benefit-oriented

Reference Page (docs/reference/configuration.md)

  • Reorganize into: Server Configuration → Local Configuration → Command Line Usage → Troubleshooting
  • Add detailed inline comments for all server type YAML examples
  • Move Dataset Configuration under Agent Server as subsection (where it's used)
  • Add links to API docs for Domain enum and DatasetConfig.license
  • Merge Policy Model Variables into env.yaml section (reduce redundancy)
  • Rename "Environment Configuration" to "Local Configuration" (avoid confusion with training environment)

Why

  • Concepts page now focuses on mental model; reference page has implementation details
  • Reduced duplication between pages
  • Clearer structure for users looking up specific config fields
  • Better inline documentation in YAML examples

Addresses #394

- Add 'How Servers Connect' section explaining Agent-Model-Resources relationship
- Add 'Config File Locations' section showing directory structure
- Rename 'Three-Level Pattern' to 'Server Block Structure'
- Add note about server-type-specific fields with link to reference

Signed-off-by: Chris Wing <[email protected]>
- Reorganize sections: Server Configuration, Local Configuration, Command Line Usage
- Add detailed inline comments for all server type examples
- Move Dataset Configuration under Agent Server as subsection
- Add links to API docs for Domain and License values
- Clarify required vs optional fields
- Remove redundant Policy Model Variables section
- Rename 'Environment Configuration' to 'Local Configuration' to avoid confusion

Signed-off-by: Chris Wing <[email protected]>
Move implementation details to reference page, keep concepts focused on mental model.

Signed-off-by: Chris Wing <[email protected]>
@cwing-nvidia
cwing-nvidia force-pushed the chris/ahmadki/fix_392_393_394 branch from 3799983 to 4f43b65 Compare December 3, 2025 22:42
@hwolff99

hwolff99 commented Dec 4, 2025

Copy link
Copy Markdown
Contributor

looks great!

openai_api_key: ${policy_api_key} # Authentication key
openai_model: ${policy_model_name} # Model identifier
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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


**Domain values**: `math`, `coding`, `agent`, `knowledge`, `instruction_following`, `long_context`, `safety`, `games`, `e2e`, `other`
**Domain values:** `math`, `coding`, `agent`, `knowledge`, `instruction_following`, `long_context`, `safety`, `games`, `e2e`, `other` (see {py:class}`~nemo_gym.config_types.Domain`)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

jsonl_fpath: path/to/data.jsonl # Path to data file
license: Apache 2.0 # Required for train/validation
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@cwing-nvidia
cwing-nvidia merged commit 8d9cae8 into ahmadki/fix_392_393 Dec 4, 2025
@cwing-nvidia
cwing-nvidia deleted the chris/ahmadki/fix_392_393_394 branch December 4, 2025 01:54
ahmadki pushed a commit that referenced this pull request Dec 4, 2025
## Summary

Improves the configuration documentation by restructuring both the
concepts and reference pages for clarity and reducing redundancy.

## Changes

### Concepts Page (`docs/about/concepts/configuration.md`)
- Add "How Servers Connect" section explaining Agent-Model-Resources
relationship
- Add "Config File Locations" section with directory tree visualization
- Rename "Three-Level Pattern" to "Server Block Structure" 
- Improve inline YAML comments for clarity
- Remove "Policy Model Variables" section (moved to reference page)
- Reframe intro to be benefit-oriented

### Reference Page (`docs/reference/configuration.md`)
- Reorganize into: Server Configuration → Local Configuration → Command
Line Usage → Troubleshooting
- Add detailed inline comments for all server type YAML examples
- Move Dataset Configuration under Agent Server as subsection (where
it's used)
- Add links to API docs for Domain enum and DatasetConfig.license
- Merge Policy Model Variables into env.yaml section (reduce redundancy)
- Rename "Environment Configuration" to "Local Configuration" (avoid
confusion with training environment)

## Why

- Concepts page now focuses on mental model; reference page has
implementation details
- Reduced duplication between pages
- Clearer structure for users looking up specific config fields
- Better inline documentation in YAML examples

Addresses #394

---------

Signed-off-by: Chris Wing <[email protected]>
Comment thread docs/about/concepts/configuration.md Resolved
Comment thread docs/about/concepts/configuration.md Resolved
Comment thread docs/about/concepts/configuration.md Resolved
Comment thread docs/reference/configuration.md Resolved
Comment thread docs/reference/configuration.md Resolved
ahmadki added a commit that referenced this pull request Dec 4, 2025
minor fixes and imprvoments after feedback from @heatherlxd in #429

Signed-off-by: Ahmad Kiswani <[email protected]>
ahmadki pushed a commit that referenced this pull request Dec 4, 2025
## Summary

Improves the configuration documentation by restructuring both the
concepts and reference pages for clarity and reducing redundancy.

## Changes

### Concepts Page (`docs/about/concepts/configuration.md`)
- Add "How Servers Connect" section explaining Agent-Model-Resources
relationship
- Add "Config File Locations" section with directory tree visualization
- Rename "Three-Level Pattern" to "Server Block Structure" 
- Improve inline YAML comments for clarity
- Remove "Policy Model Variables" section (moved to reference page)
- Reframe intro to be benefit-oriented

### Reference Page (`docs/reference/configuration.md`)
- Reorganize into: Server Configuration → Local Configuration → Command
Line Usage → Troubleshooting
- Add detailed inline comments for all server type YAML examples
- Move Dataset Configuration under Agent Server as subsection (where
it's used)
- Add links to API docs for Domain enum and DatasetConfig.license
- Merge Policy Model Variables into env.yaml section (reduce redundancy)
- Rename "Environment Configuration" to "Local Configuration" (avoid
confusion with training environment)

## Why

- Concepts page now focuses on mental model; reference page has
implementation details
- Reduced duplication between pages
- Clearer structure for users looking up specific config fields
- Better inline documentation in YAML examples

Addresses #394

---------

Signed-off-by: Chris Wing <[email protected]>
ahmadki added a commit that referenced this pull request Dec 4, 2025
minor fixes and imprvoments after feedback from @heatherlxd in #429

Signed-off-by: Ahmad Kiswani <[email protected]>
vadam5 pushed a commit that referenced this pull request Mar 10, 2026
## Summary

Improves the configuration documentation by restructuring both the
concepts and reference pages for clarity and reducing redundancy.

## Changes

### Concepts Page (`docs/about/concepts/configuration.md`)
- Add "How Servers Connect" section explaining Agent-Model-Resources
relationship
- Add "Config File Locations" section with directory tree visualization
- Rename "Three-Level Pattern" to "Server Block Structure" 
- Improve inline YAML comments for clarity
- Remove "Policy Model Variables" section (moved to reference page)
- Reframe intro to be benefit-oriented

### Reference Page (`docs/reference/configuration.md`)
- Reorganize into: Server Configuration → Local Configuration → Command
Line Usage → Troubleshooting
- Add detailed inline comments for all server type YAML examples
- Move Dataset Configuration under Agent Server as subsection (where
it's used)
- Add links to API docs for Domain enum and DatasetConfig.license
- Merge Policy Model Variables into env.yaml section (reduce redundancy)
- Rename "Environment Configuration" to "Local Configuration" (avoid
confusion with training environment)

## Why

- Concepts page now focuses on mental model; reference page has
implementation details
- Reduced duplication between pages
- Clearer structure for users looking up specific config fields
- Better inline documentation in YAML examples

Addresses #394

---------

Signed-off-by: Chris Wing <[email protected]>
vadam5 pushed a commit that referenced this pull request Mar 10, 2026
minor fixes and imprvoments after feedback from @heatherlxd in #429

Signed-off-by: Ahmad Kiswani <[email protected]>
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.

4 participants