Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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