Skip to content

Use docs_dir instead of current working directory to find .git folder #43

@timvink

Description

@timvink

Some users have their .git folder inside the docs/ folder. Good to start from there and recursively look up.

We need to ensure (or raise instructional error) that this plugin is defined in mkdocs.yml before the mkdocs-monorepo-plugin, because that plugin alters the docs_dir location. See similar issue timvink/mkdocs-git-revision-date-localized-plugin#34 for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions