mkdocs-git-authors-plugin
mkdocs-git-authors-plugin copied to clipboard
Use docs_dir instead of current working directory to find .git folder
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 https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/34 for details
Does there exist a workaround for this scenario? I have exactly that situation (git repo being in the docs folder) and it seems that this functionality once existed but was removed to avoid confusion with the monorepo plugin?
Many thanks!
Not yet -- I need to pick up this issue. Quite busy with other personal stuff, but definitely on my backlog!
Sorry if I'm asking the obvious: Does this mean we currently cannot use git-authors in conjunction with monorepo (and git submodules)? Or is there a workaround?
For me, placing git-authors before monorepo did not help: I don't get any authorship from submodules.