Skip to content

Is there a way to turn off warnings? #108

@facelessuser

Description

@facelessuser

I have some documentation tests that build the documentation in strict mode to find any issues and then runs a spellchecker on the output afterward. I find it very frustrating that I get these warnings in particular:

WARNING  -  [git-revision-date-localized-plugin] '/Somepath/somefile.md' has no git logs, using current
            timestamp

I've specifically enabled the following to handle the fact that the file has no history yet I still get the warning which fails the build.

plugins:
  - search:
  - git-revision-date-localized:
      fallback_to_build_date: true

I want the tests to be able to pass in a release bundle that does not have git, so I need this warning to be optional if at all possible.

Are the warnings really necessary if I've explicitly told it to fallback to build date? Or can we make such warnings optional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions