Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The site is built with **Mintlify** and deployed automatically by Mintlify on pu
Mintlify auto-generates `/llms.txt` and `/llms-full.txt`, but this repo **overrides** them by committing
`llms.txt` and `llms-full.txt` at the repo root.

We do this so LLMs get **V1-only** context while legacy V0 pages remain available for humans.
We do this so LLMs get **V1-only** context and do not pick up removed legacy V0 pages.

- Generator script: `scripts/generate-llms-files.py`
- Sync workflow: `.github/workflows/check-llms-files.yml` runs weekly (and on demand) to open a PR when the files drift.
Expand All @@ -48,6 +48,8 @@ We do this so LLMs get **V1-only** context while legacy V0 pages remain availabl
make llms-check
```
- Exclusions: `openhands/usage/v0/` and any `V0*`-prefixed page files.
- Current deprecation route: old `openhands/usage/v0/*` links should redirect to `openhands/usage/v0-deprecated`.


## Local development

Expand Down
82 changes: 54 additions & 28 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,31 +77,9 @@
"group": "Additional Documentation",
"pages": [
{
"group": "V0 Reference",
"group": "Deprecations",
"pages": [
"openhands/usage/v0/runtimes/V0_overview",
{
"group": "V0 Runtime Providers",
"pages": [
"openhands/usage/v0/runtimes/V0_docker",
"openhands/usage/v0/runtimes/V0_remote",
"openhands/usage/v0/runtimes/V0_local",
{
"group": "V0 Third-Party Providers",
"pages": [
"openhands/usage/v0/runtimes/V0_modal",
"openhands/usage/v0/runtimes/V0_daytona",
"openhands/usage/v0/runtimes/V0_runloop",
"openhands/usage/v0/runtimes/V0_e2b"
]
}
]
},
"openhands/usage/v0/advanced/V0_configuration-options",
{
"group": "V0 REST API",
"openapi": "openapi/V0_openapi.json"
}
"openhands/usage/v0-deprecated"
]
},
{
Expand Down Expand Up @@ -690,19 +668,67 @@
},
{
"source": "/openhands/usage/runtimes/e2b",
"destination": "/openhands/usage/v0/runtimes/V0_e2b"
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/runtimes/modal",
"destination": "/openhands/usage/v0/runtimes/V0_modal"
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/runtimes/runloop",
"destination": "/openhands/usage/v0/runtimes/V0_runloop"
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/runtimes/daytona",
"destination": "/openhands/usage/v0/runtimes/V0_daytona"
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/advanced",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/advanced/V0_configuration-options",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_daytona",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_docker",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_e2b",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_local",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_modal",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_overview",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_remote",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/v0/runtimes/V0_runloop",
"destination": "/openhands/usage/v0-deprecated"
},
{
"source": "/openhands/usage/automations/examples",
Expand Down
Loading
Loading