Skip to content

Default readme not found #2926

Closed as not planned
Closed as not planned
@nicfv

Description

@nicfv

Not sure why this is happening. When I add "readme": "README.md" in typedoc.json or --readme README.md in the command it works totally fine, but I swear it was able to find README files by default before. Can you please take a look at this? Thanks!

Search terms

default, readme, not, found, markdown, folder, file, config, json

Expected Behavior

Image

Actual Behavior

Image

Steps to reproduce the bug

./package.json

{
  "scripts": {
    "all": "rm -rf node_modules docs package-lock.json && npm i && npx typedoc src/index.ts"
  },
  "devDependencies": {
    "typedoc": "0.28.1"
  }
}

./README.md

# Title

Hello world!

./src/index.ts

export const TEST: string = 'hello world';

After those files have been created, simply run:

npm run all

Environment

  • Typedoc version: 0.28.1
  • TypeScript version: 5.8.2
  • Node.js version: v20.17.0
  • OS: Ubuntu 24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    no bugThis is expected behavior

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions