Skip to content

typedoc.js vs typedoc.json configuration files in documentation #1029

Closed
@Rolias

Description

@Rolias

Expected Behavior

The documentation will mention a typedoc.json file in one spot and a typedoc.js file in another. For instance, in the example page for arguments and when running help from the command line, the --options flag indicates that if a file isn't specified it will look for typedoc.jsfile. Further down on the documentation page under the --options sections it contradicts that and says that by default it will look for a typedoc.json file.

Actual Behavior

Make clear if the config file should be .json or .js or if both are acceptable. If both are acceptable which is the default. I was trying to specify both an out:"docs" setting and a tsconfig location setting. I could not get a typedoc.json file to work. I was able to get a typedoc.js file to work. Also, it would be helpful to show a .js example since I believe the config data needs to to be wrapped with

module.exports = {
}

Steps to reproduce the bug

Nothing to do just read the docs and the command line --help output.

Environment

  • Typedoc version:0.14.2
  • Node.js version:10.15.3
  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueEasier issue for first time contributorshelp wantedContributions are especially encouraged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions