Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timvink opened this issue Jun 5, 2020 · 3 comments
Open
Labels
enhancement New feature or request

Comments

@timvink
Copy link
Owner

timvink commented Jun 5, 2020

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

@timvink timvink added the enhancement New feature or request label Jun 5, 2020
@frapit
Copy link

frapit commented Apr 20, 2022

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!

@timvink
Copy link
Owner Author

timvink commented May 13, 2022

Not yet -- I need to pick up this issue. Quite busy with other personal stuff, but definitely on my backlog!

@gluc
Copy link

gluc commented May 28, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants