nemo-rl-docs
NVIDIA/skills
更新 docs/index.md 文件,并针对 NeMo-RL 文档的变更编写符合 Google 风格的文档字符串。
...展开全部文档规范
保持 docs/index.md 文件最新
当在docs/**/*.md下添加新的 Markdown 文档,或重命名 Markdown 文件时,请确保更新 @docs/index.md,并将该文档归入最合适的章节。
文档字符串格式
类和函数应使用 Google 风格的文档字符串。这些文档字符串可被 Sphinx 解析。
对于可能在文件外部使用的接口,应优先使用文档字符串而非注释。注释应仅用于函数内部的代码或文件内部的接口。
新功能文档
当添加新功能时,请在docs/目录下更新或创建与该功能最匹配的文档。请参考现有文档以找到最合适的文档——如果不存在,请创建新文档并将其添加到 @docs/index.md 中。
针对错误修复或与持续集成(CI)相关的更改,无需更新文档。
---
name: nemo-rl-docs
description: Update docs/index.md and write Google-style docstrings for NeMo-RL documentation changes.
license: Apache-2.0
---
# Documentation Conventions
## Keep docs/index.md Up to Date
When a new markdown doc is added under `docs/**/*.md` or a markdown file is renamed, ensure that @docs/index.md is updated and the document appears in the most appropriate section.
## Docstring Format
Use [Google style](https://google.github.io/styleguide/pyguide.html) docstrings for classes and functions. These are parseable by Sphinx.
For interfaces that may be used outside a file, prefer docstrings over comments. Comments should be reserved for code within a function or interfaces local to a file.
## Document New Features
When a new feature is added, update or create documentation in the `docs/` directory that most closely matches the feature. Look at existing docs to find the best fit — if none exists, create a new doc and add it to @docs/index.md.
Documentation changes are **not required** for bug fixes or CI-related changes.





首页
