Skip to content

-o option for buildIndex is not respected #12771

@binhonglee

Description

@binhonglee

No matter what I put in the -o option when running buildIndex, it will always output the file as theindex.html in the folder buildIndex is trying to index.

Example

nim buildIndex -o:docs/index.html docs

Current Output

Creates the file docs/theindex.html

Expected Output

Creates the file docs/index.html

Possible Solution

Respects the -o option and create the appropriate output file instead.

Additional Information

$ nim -v
Nim Compiler Version 1.0.0 [Linux: amd64]
Compiled at 2019-09-23
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: f7a8fc46c0012033917582eb740dc0343c093e35
active boot switches: -d:release

I'm running this on WSL Ubuntu.

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