nodejs / undici

An HTTP/1.1 client, written from scratch for Node.js
https://nodejs.github.io/undici
MIT License
6.22k stars 541 forks source link

Broken links in docs webpage #3322

Open luddd3 opened 4 months ago

luddd3 commented 4 months ago

Bug Description

Links in the "Common API Methods" section on the docs webpage is broken. E.g. the RequestOptions link under undici.request

Reproducible By

Open https://undici.nodejs.org/#/?id=undicirequesturl-options-promise in the browser. Click on RequestOptions You are directed to https://undici.nodejs.org/#/docs/docs/api/Dispatcher?id=parameter-requestoptions which is a 404 page Notice the extra "/docs" in the URL

Expected Behavior

The link should have taken me to https://undici.nodejs.org/#/docs/api/Dispatcher?id=parameter-requestoptions

mcollina commented 4 months ago

Thanks for reporting! Would you like to send a Pull Request to address this issue?

luddd3 commented 4 months ago

Sure =)