Skip to content

Not able to use a custom theme / docs unclear on how to do it. #849

@tmcconechy

Description

@tmcconechy

How exactly does one make a custom theme work: I tried initially to

I get an error:
/Users/tmcconechy/Dev/4.3.1/docs/_theme/index.js:22 comments: Array<Comment>, ^ SyntaxError: Unexpected token : at Object.exports.runInThisContext (vm.js:78:16)

Tried beta 14 and now 18 to be sure. How does one succeed in getting it work with a theme?

Specifically i want to modify the markdown my usually command is:

documentation build myfile.js -f md --theme docs/_theme -o myfile.md

Theme is ignored in this scenario as well.

Was hoping if i point it at a theme it would use that before generating the MD as per https://github.com/documentationjs/documentation/blob/master/docs/THEMING.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions