Skip to content

Commit 9a0f0cf

Browse files
fix docs/ path
1 parent a679b57 commit 9a0f0cf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ RUN mkdocs build --clean
1212

1313
# serve the documentation if DEV_MODE is set, otherwise, serve built documentation
1414
# for prod serving, we copy everything to root/docs/, as this is where the docs are actually served from in the container
15-
CMD if [ "$DEV_MODE" = "true" ]; then mkdocs serve -a 0.0.0.0:8000; else mkdocs build; mkdir -p root; mv site root/docs-guardrails; cd root; python -m http.server 8000 --bind 0.0.0.0; fi
15+
CMD if [ "$DEV_MODE" = "true" ]; then mkdocs serve -a 0.0.0.0:8000; else mkdocs build; mkdir -p root; mv site root/docs; cd root; python -m http.server 8000 --bind 0.0.0.0; fi

docs/guardrails/images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def image(
7373
content: Content | list[Content]
7474
) -> list[ImageContent]
7575
```
76-
Given some [`Content`](/docs-guardrails/guardrails/basics/#message), this <span class="builtin-badge" size-mod="small"></span> extracts all [`ImageContent`](/docs-guardrails/guardrails/basics/#message). This is useful when messages may contain mixed content.
76+
Given some [`Content`](/docs/guardrails/basics/#message), this <span class="builtin-badge" size-mod="small"></span> extracts all [`ImageContent`](/docs/guardrails/basics/#message). This is useful when messages may contain mixed content.
7777

7878
**Parameters**
7979

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ hooks:
44
# custom transform hooks for guardrails and traces
55
- mkdocs_config.py
66

7-
site_url: https://explorer.invariantlabs.ai/docs-guardrails
7+
site_url: https://explorer.invariantlabs.ai/docs
88

99
theme:
1010
name: material

0 commit comments

Comments
 (0)