Skip to content

feat: support monorepo/techdocs when getting last site revision info #185

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

Merged
merged 1 commit into from
May 25, 2025

Conversation

tcardonne
Copy link
Contributor

Hi 👋

This PR allows to correctly compute the last site revision infos (ie, git_site_revision_date_localized_*) when using the monorepo/techdocs plugin.

When using the monorepo plugin, docs are merged in a temporary directory and docs_dir is changed to that directory, without Git infos and without the fallback to build date, builds fail.

This fix is similar to what's done in the on_files handler.

@timvink
Copy link
Owner

timvink commented May 25, 2025

Thanks, LGTM ! Will make a release soon

@timvink timvink merged commit 2c3a882 into timvink:master May 25, 2025
15 checks passed
@tcardonne
Copy link
Contributor Author

Thanks for the quick review and release! 🎉

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

Successfully merging this pull request may close these issues.

2 participants