splink icon indicating copy to clipboard operation
splink copied to clipboard

Docs pages - page last changed time not correct

Open ADBond opened this issue 1 year ago • 2 comments

Revision info at bottom of pages is not specific to pages or revisions, but just gives the time of the last site build.

Relevant mkdocs build warning: [git-revision-date-localized-plugin] Unable to find a git directory and/or git is not installed. Option 'fallback_to_build_date' set to 'true': Falling back to build date

Possibly as docs/ is not itself a git repo - this may have broken when we migrated splink_demos into this repo.

ADBond avatar Jan 30 '24 14:01 ADBond

This also contributes quite a bit of noise to the docs build logs (though is not the only culprit)

ADBond avatar Jan 30 '24 17:01 ADBond

While the plugin is now functioning correctly, it is not running correctly in github actions, as currently not enough git history is available in the context in which it runs:

WARNING:root:
                [git-revision-date-localized-plugin] Running on GitHub Actions might lead to wrong
                Git revision dates due to a shallow git fetch depth.

                Try setting fetch-depth to 0 in your GitHub Action
                (see https://github.com/actions/checkout).
                

ADBond avatar Feb 12 '24 11:02 ADBond

No longer using this plugin with Splink 4 docs

ADBond avatar Jul 25 '24 08:07 ADBond