Skip to content

Commit

Permalink
Always enable git metadata, fetch whole git history in pages CI (UniM…
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechStep authored Sep 18, 2023
1 parent b1f027f commit 1bea263
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
uses: actions/checkout@v3
with:
path: master
# We need the entire history for contributor information
fetch-depth: 0

- name: Setup Agda
uses: wenkokke/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ command = "./scripts/preprocessor_git_metadata.py"
# Disable by default - it takes a non-trivial amount of time
# Can be overriden by running
# `export MDBOOK_PREPROCESSOR__GIT_METADATA__ENABLE=true` in your shell
enable = false
enable = true
# Only show "Content created by" on Agda source files
attribute_file_extensions = [ ".lagda.md" ]
# Don't add anything to the "non-content" pages,
Expand Down

0 comments on commit 1bea263

Please sign in to comment.