Skip to content

Booleans in import statement are not parsed correctly #174

@sij1nk

Description

@sij1nk

For example, the readme states that the accepted values for the multi_docs import statement paremeter are True and False

https://github.com/jdoiro3/mkdocs-multirepo-plugin/blob/78132fa45f64b75ea59cbbdcf61ccdab3e00fc3f/README.md#import-statement

However, this is not accurate, because these query string values are not interpreted as Python expressions, but are read as strings, and then converted into booleans:

So the query string value "False" (or any other non-empty string value) is converted to True

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions