expressjs / discussions

Public discussions for the Express.js organization
63 stars 15 forks source link

EFI: Express documentation (expressjs.com website) #211

Open crandmck opened 8 months ago

crandmck commented 8 months ago

Documentation needs to be considered as a key task and "first-class citizen". I'm copying some information from #198 here and I'll close that issue in favor of this one. NOTE: I added the top-priority label to this so it will be automatically added to the TC meeting agenda, as I'd like to discuss some items with the TC.

Top-level doc work includes:

5.x specific work:

Other (non-content) work:

Doc PRs and issues

I've been working to review and merge as many PRs as possible. I added some labels to help with organization. So far, I've labeled open PRs:

What's the best way for me to get tech reviews for doc changes? I've just been tagging folks like @UlisesGascon but is there a better way?

Next, I'll try to review all the open issues to label and triage them.

Removing old/irrelevant info (DONE)

NOTE: This was done with https://github.com/expressjs/expressjs.com/pull/1484

I wonder if we can just remove these pages:

While these topics are relevant and there are historical reasons for having these pages, IMO they are beyond the scope of the Express documentation. There is so much higher priority work to do and we should focus on documenting Express itself and closely-related stuff in pillarjs and jshttp.

Related discussion: https://github.com/expressjs/discussions/issues/105

See also the "enhancement" label mentioned above.

I'd also like to discuss removing the BLM banner that TJ added via direct commit several years ago. While it's of course a worthy cause I don't think it's appropriate and it was added outside the normal PR process.

Work for 5.x

We need to think about what doc tasks re to 5.x will give us the most "bang for the buck," e.g. writing tutorials, enhancing the migration guide / summarizing diffs with 4.x, detailed API doc review, etc.

Committers

Finally, we need to review the approved committers to the repo: https://github.com/expressjs/discussions/settings.

Issue triage

We should have a general process to triage incoming issues (and PRs). For example:

bjohansebas commented 3 months ago

We can draw inspiration from this copy of the Express documentation made with Starlight:

Repo: https://github.com/bjohansebas/expressjs.com URL: https://expressjs-docs.vercel.app

bjohansebas commented 3 months ago

Static site generators like VitePress, Docusaurus, or Starlight use MDX. We could gradually replace Liquid (used by Jekyll) with MDX in various PRs, which would then facilitate a migration to a more modern framework later on.