"Directory not found" for https://nodejs.org/download/docs/ content

Đang mở
#1,084 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cloud, typescript
Lĩnh vực
infrastructure

Hướng nghiên cứu

The bug is in the Cloudflare Worker that serves nodejs.org, so start with its request routing for /download/docs/ paths, and compare it with the working direct.nodejs.org host. Check the listed directory URLs such as /download/docs/latest-jod/ and /download/docs/v26.13.0/, and the linked issue #1034 for the nightly case. Done means those directory URLs resolve to their api/ content the same way the direct host does.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

https://github.com/nodejs/node#api-documentation says:


API documentation

Documentation for the latest Current release is at https://nodejs.org/api/. Version-specific documentation is available in each release directory in the docs subdirectory. Version-specific documentation is also at https://nodejs.org/download/docs/.


https://nodejs.org/download/docs/ displays "Index of /download/docs"

Each of the current directories leads to "Directory not found"

https://nodejs.org/download/docs/latest-jod/
https://nodejs.org/download/docs/latest-krypton/
https://nodejs.org/download/docs/latest-lithium/
https://nodejs.org/download/docs/latest-v22.x/
https://nodejs.org/download/docs/latest-v24.x/
https://nodejs.org/download/docs/latest-v26.x/
https://nodejs.org/download/docs/v22.23.4/
https://nodejs.org/download/docs/v24.22.2/
https://nodejs.org/download/docs/v26.13.0/
https://nodejs.org/download/docs/v27.0.0-alpha.0.0.0/

This appears to be similar to the issue https://github.com/nodejs/release-cloudflare-worker/issues/1034 for nightly releases.

The alternate links which aren't normally supposed to be used, do link to content:

https://direct.nodejs.org/download/docs/v27.0.0-alpha.0.0.0/, for example, does link to content, so that
https://direct.nodejs.org/download/docs/v27.0.0-alpha.0.0.0/api/ displays Node.js v27.0.0 documentation

https://nodejs.org/api/ also correctly displays Node.js v26.13.0 documentation

Ngôn ngữ chính
TypeScript
Star
58
Fork
21
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nodejs/release-cloudflare-worker

Tất cả issue của nodejs/release-cloudflare-worker

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.