expressjs.com icon indicating copy to clipboard operation
expressjs.com copied to clipboard

4.x documentation incomplete and anchor links are dead

Open Frank683 opened this issue 4 months ago • 2 comments

Description

All the anchor links in the 4.x documentation do not work - except for the "app" section.

Example: https://expressjs.com/de/4x/api.html#req.method

Seems api.html only includes the content for "app" but is missing any others like Request, Response, etc.

P.S. Just realized this is only true for the DE version of the documentation. EN works fine:

https://expressjs.com/en/4x/api.html#req.method

Expectations

Complete documentation with working links.

Frank683 avatar Sep 29 '25 15:09 Frank683

Hi, i'd like to work on fixing this issue.

I've already identified the problem and tested a solution locally. The issue affects all non-English versions .

Root Cause: The non-English API markdown files only include the app section and are missing:

  • express.md
  • req.md
  • res.md
  • router.md

Proposed Solution: Add the missing {% include %} statements to match the English version structure.

Testing: I've tested the fix locally and confirmed all anchor links work correctly.

I can submit a PR to fix all affected languages if that's okay.

Farhan291 avatar Oct 05 '25 09:10 Farhan291

Hey @ShubhamOulkar , can you please review the PR? thanks

Farhan291 avatar Oct 07 '25 08:10 Farhan291