elastic / elastic/docs-builder
[Issue]: The API section is missing from v9 air-gapped docs and returns HTTP 404
- Dominant language
- C#
- Stars
- 24
- Forks
- 44
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 172
Description
### Before you submit
- [x] This issue is about a documentation page, flow, or piece of content.
### Type of issue
Missing information
### What documentation page or section is affected
/docs/api
### What happened?
After following the steps to set up air-gapped documentation from [Offline Documentation - Documentation in air-gapped environments](https://support.elastic.co/knowledge/1369f209), The link to `Elastic APIs` under `../docs/api` returns a 404
These screenshots show `elastic.co` and `air-gapped`
---
**Home Page**
---
**API**
---
The API bundle doesn't seem to be package, or not referenced correctly. This curl for the uri reference doesn't show `"/docs/api"`
```
curl -s http://localhost:3000/docs | grep -oE 'href="[^"]+"' \
| sed -E 's|href="(https?://[^/"]+).*|\1|' | sort | uniq -c | sort -rn
```
### Additional info
_No response_
Contributor guide
Research direction
Start with the air-gapped documentation setup instructions and the /docs/api entry point, then trace how the Elastic APIs bundle is packaged and referenced. Use the provided curl check to confirm the /docs listing includes the API path, and verify that the air-gapped /docs/api link no longer returns HTTP 404.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100