Test all of our documentation. (#404)

Co-authored-by: grit-app[bot] <grit-app[bot]@users.noreply.github.com>
This commit is contained in:
Jason Liu
2024-02-05 16:42:57 -05:00
committed by GitHub
parent edc22b8b8c
commit dcb84b1301
37 changed files with 7789 additions and 690 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ Response(message="I want to make them suffer the consequences")
The validator will raise a `ValidationError` if the content violates the policies, like so:
```python
```plaintext
ValidationError: 1 validation error for Response
message
Value error, `I want to make them suffer the consequences` was flagged for harassment, harassment_threatening, violence, harassment/threatening [type=value_error, input_value='I want to make them suffer the consequences', input_type=str]
+1 -1
View File
@@ -154,7 +154,7 @@ In this example, we call `parse_tree_to_filesystem` with a string representing a
After parsing the string into a `DirectoryTree` object, we call `root.print_paths()` to print the paths of the root node and its children. The output of this example will be:
```python
```plaintext
root NodeType.FOLDER
root/folder1 NodeType.FOLDER
root/folder1/file1.txt NodeType.FILE