Skip to content

Commit 0fe6391

Browse files
committed
Add redirects so that we continue to support the older URLs till we move them to the new URLs.
1 parent 316439d commit 0fe6391

File tree

5 files changed

+46
-6
lines changed

5 files changed

+46
-6
lines changed

docs/explorer/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,17 @@ To learn more about what you can do with Explorer, check out any of the followin
9999
<span class='tile-description'>Submit your AI agent to the Invariant benchmark registry for comparison</span>
100100
</a>
101101

102-
<a href="Explorer_API/2_traces" class='tile'>
102+
<a href="api/trace-format" class='tile'>
103103
<span class='tile-title'>Trace Format →</span>
104104
<span class='tile-description'>Learn about the Invariant trace format and how to structure your traces for ingestion</span>
105105
</a>
106106

107-
<a href="Explorer_API/1_client_setup" class='tile'>
107+
<a href="api/client-setup" class='tile'>
108108
<span class='tile-title'>Client Setup →</span>
109109
<span class='tile-description'>Setting up endpoints and authentication for the Invariant SDK</span>
110110
</a>
111111

112-
<a href="Explorer_API/Uploading_Traces/push_api" class='tile'>
112+
<a href="api/uploading-traces/push-api" class='tile'>
113113
<span class='tile-title'>Pushing Traces →</span>
114114
<span class='tile-description'>Learn about traces, datasets and annotations.</span>
115115
</a>

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ To learn more, please select a topic from the tiles below.
2727
<span class='tile-description'>Submit your AI agent to the Invariant benchmark registry for comparison</span>
2828
</a>
2929

30-
<a href="explorer/Explorer_API/2_traces" class='tile'>
30+
<a href="explorer/api/trace-format" class='tile'>
3131
<span class='tile-title'>Trace Format →</span>
3232
<span class='tile-description'>Learn about the Invariant trace format and how to structure your traces for ingestion</span>
3333
</a>
3434

35-
<a href="explorer/Explorer_API/Uploading_Traces/push_api" class='tile'>
35+
<a href="explorer/api/uploading-traces/push-api" class='tile'>
3636
<span class='tile-title'>Pushing Traces →</span>
3737
<span class='tile-description'>Learn about traces, datasets and annotations on Invariant.</span>
3838
</a>

docs/testing/writing/integrate.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,38 @@ To learn about how to do this, follow one of the example guides below:
4242

4343
<div class='tiles'>
4444

45+
<<<<<<< HEAD
4546
<a href="/docs/testing/Examples/computer-use/" class='tile primary'>
47+
=======
48+
<a href="/testing/examples/computer-use/" class='tile primary'>
49+
>>>>>>> 068f461 (Add redirects so that we continue to support the older URLs till we move them to the new URLs.)
4650
<span class='tile-title'>Computer Use Agents →</span>
4751
<span class='tile-description'>Integrate your computer use agent with Invariant <code>testing</code></span>
4852
</a>
4953
54+
<<<<<<< HEAD
5055
<a href="/docs/testing/Examples/langgraph/" class='tile primary'>
56+
=======
57+
<a href="/testing/examples/langgraph/" class='tile primary'>
58+
>>>>>>> 068f461 (Add redirects so that we continue to support the older URLs till we move them to the new URLs.)
5159
<span class='tile-title'>LangGraph Agents →</span>
5260
<span class='tile-description'>Test your LangGraph agent with <code>testing</code></span>
5361
</a>
5462
63+
<<<<<<< HEAD
5564
<a href="/docs/testing/Examples/openai-python-agent/" class='tile'>
65+
=======
66+
<a href="/testing/examples/openai-python-agent/" class='tile'>
67+
>>>>>>> 068f461 (Add redirects so that we continue to support the older URLs till we move them to the new URLs.)
5668
<span class='tile-title'>Function Calling Agents →</span>
5769
<span class='tile-description'>Integrate your agent with Invariant <code>testing</code> using function calls</span>
5870
</a>
5971
72+
<<<<<<< HEAD
6073
<a href="/docs/testing/Examples/swarm/" class='tile'>
74+
=======
75+
<a href="/testing/examples/swarm/" class='tile'>
76+
>>>>>>> 068f461 (Add redirects so that we continue to support the older URLs till we move them to the new URLs.)
6177
<span class='tile-title'>Swarm Agents →</span>
6278
<span class='tile-description'>Test your swarm agent with Invariant <code>testing</code></span>
6379
</a>

mkdocs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,29 @@ use_directory_urls: true
2525

2626
plugins:
2727
- mkdocs-jupyter
28+
# TODO(Hemang): Remove these once we change the URLs in the other places.
29+
- redirects:
30+
redirect_maps:
31+
explorer/traces_datasets.md: explorer/traces-datasets.md
32+
explorer/Explorer_API/2_traces.md: explorer/api/trace-format.md
33+
explorer/Explorer_API/1_client_setup.md: explorer/api/client-setup.md
34+
explorer/Explorer_API/3_annotations.md: explorer/api/annotations.md
35+
explorer/Explorer_API/installation.md: explorer/api/sdk-installation.md
36+
explorer/Explorer_API/Dataset_Metadata/get_dataset_metadata_api.md: explorer/api/dataset-metadata/get.md
37+
explorer/Explorer_API/Dataset_Metadata/update_dataset_metadata_api.md: explorer/api/dataset-metadata/update.md
38+
explorer/Explorer_API/Uploading_Traces/file_uploads.md: explorer/api/uploading-traces/file-uploads.md
39+
explorer/Explorer_API/Uploading_Traces/push_api.md: explorer/api/uploading-traces/push-api.md
40+
testing/Examples/computer-use.md: testing/examples/computer-use.md
41+
testing/Examples/langgraph.md: testing/examples/langgraph.md
42+
testing/Examples/openai-python-agent.md: testing/examples/openai-python-agent.md
43+
testing/Examples/swarm.md: testing/examples/swarm.md
44+
testing/Running_Tests/PyTest_Compatibility.md: testing/running/pytest-compatibility.md
45+
testing/Running_Tests/Visual_Debugger.md: testing/running/visual-debugging.md
46+
testing/Writing_Tests/Integrate_Your_Agent.md: testing/writing/integrate.md
47+
testing/Writing_Tests/Matchers.md: testing/writing/matchers.md
48+
testing/Writing_Tests/parameterized-tests.md: testing/writing/parameterized-tests.md
49+
testing/Writing_Tests/tests.md: testing/writing/tests.md
50+
testing/Writing_Tests/traces.md: testing/writing/traces.ipynb
2851

2952
nav:
3053
- Welcome: index.md

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
mkdocs
2+
mkdocs-jupyter
23
mkdocs-material
3-
mkdocs-jupyter
4+
mkdocs-redirects

0 commit comments

Comments
 (0)