Skip to content

Commit e2344bd

Browse files
Merge pull request #881 from NVIDIA/fix/colang-2-doc-folder-renaming
Update underscore folder names to new hyphen format
2 parents 78fbe82 + b01301f commit e2344bd

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"python.testing.pytestEnabled": true,
4747
"python.testing.pytestArgs": [
4848
"${workspaceFolder}/tests",
49-
"${workspaceFolder}/docs/colang_2/examples"
49+
"${workspaceFolder}/docs/colang-2/examples"
5050
],
5151
"python.testing.unittestEnabled": false,
5252
//"python.envFile": "${workspaceFolder}/python_release.env",

CHANGELOG-Colang.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Other:
8888

8989
### Added
9090

91-
* [Standard library of flows](https://docs.nvidia.com/nemo/guardrails/colang_2/language_reference/the-standard-library.html): `core.co`, `llm.co`, `guardrails.co`, `avatars.co`, `timing.co`, `utils.co`.
91+
* [Standard library of flows](https://docs.nvidia.com/nemo/guardrails/colang-2/language-reference/the-standard-library.html): `core.co`, `llm.co`, `guardrails.co`, `avatars.co`, `timing.co`, `utils.co`.
9292

9393
### Changed
9494

@@ -125,7 +125,7 @@ Other:
125125

126126
## [2.0-alpha] - 2024-02-28
127127

128-
[Colang 2.0](https://docs.nvidia.com/nemo/guardrails/colang_2/overview.html) represents a complete overhaul of both the language and runtime. Key enhancements include:
128+
[Colang 2.0](https://docs.nvidia.com/nemo/guardrails/colang-2/overview.html) represents a complete overhaul of both the language and runtime. Key enhancements include:
129129

130130
### Added
131131

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ The changes related to the Colang language and runtime have moved to [CHANGELOG-
170170

171171
### Added
172172

173-
- [Colang 2.0 Documentation](https://docs.nvidia.com/nemo/guardrails/colang_2/overview.html).
173+
- [Colang 2.0 Documentation](https://docs.nvidia.com/nemo/guardrails/colang-2/overview.html).
174174
- Revamped [NeMo Guardrails Documentation](https://docs.nvidia.com/nemo-guardrails).
175175

176176
### Fixed
@@ -360,7 +360,7 @@ Documentation:
360360
- Example [RAG using Pinecone](./examples/configs/rag/pinecone).
361361
- Support for loading a configuration from dictionary, i.e. `RailsConfig.from_content(config=...)`.
362362
- Guidance on [LLM support](./docs/user_guides/llm-support.md).
363-
- Support for `LLMRails.explain()` (see the [Getting Started](./docs/getting_started) guide for sample usage).
363+
- Support for `LLMRails.explain()` (see the [Getting Started](./docs/getting-started) guide for sample usage).
364364

365365
### Changed
366366

@@ -369,7 +369,7 @@ Documentation:
369369
- Allow using actions which are not `async` functions.
370370
- Disabled pretty exceptions in CLI.
371371
- Upgraded dependencies.
372-
- Updated the [Getting Started Guide](./docs/getting_started).
372+
- Updated the [Getting Started Guide](./docs/getting-started).
373373
- Main [README](./README.md) now provides more details.
374374
- Merged original examples into a single [ABC Bot](./examples/bots/abc) and removed the original ones.
375375
- Documentation improvements.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Currently two versions of Colang, 1.0 and 2.0, are supported and Colang 1.0 is t
216216

217217
For a brief introduction to the Colang 1.0 syntax, see the [Colang 1.0 Language Syntax Guide](https://docs.nvidia.com/nemo/guardrails/user-guides/colang-language-syntax-guide.html).
218218

219-
To get started with Colang 2.0, see the [Colang 2.0 Documentation](https://docs.nvidia.com/nemo/guardrails/colang_2/overview.html).
219+
To get started with Colang 2.0, see the [Colang 2.0 Documentation](https://docs.nvidia.com/nemo/guardrails/colang-2/overview.html).
220220

221221
### Guardrails Library
222222

docs/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ NVIDIA NeMo Guardrails
2828
:name: Colang 2.0
2929
:maxdepth: 2
3030

31-
colang_2/overview
32-
colang_2/whats-changed
33-
colang_2/getting_started/index
34-
colang_2/language_reference/index
31+
colang-2/overview
32+
colang-2/whats-changed
33+
colang-2/getting-started/index
34+
colang-2/language-reference/index
3535

3636
.. toctree::
3737
:caption: User Guides

nemoguardrails/rails/llm/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def _parse_colang_files_recursively(
820820
current_file, content=flow_definitions, version=colang_version
821821
)
822822

823-
_DOCUMENTATION_LINK = "https://docs.nvidia.com/nemo/guardrails/colang_2/getting_started/dialog-rails.html" # Replace with the actual documentation link
823+
_DOCUMENTATION_LINK = "https://docs.nvidia.com/nemo/guardrails/colang-2/getting-started/dialog-rails.html" # Replace with the actual documentation link
824824

825825
warnings.warn(
826826
"Configuring input/output rails in config.yml is deprecated. "

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ log_cli = False
1010

1111
testpaths =
1212
tests
13-
docs/colang_2/examples
13+
docs/colang-2/examples

0 commit comments

Comments
 (0)