From 93ca375b554f43c577fe1c4aa07cdefab1e49d8a Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Tue, 5 Mar 2024 13:46:25 -0800 Subject: [PATCH] feat(docs): disable last update timestamps --- .github/workflows/documentation.yml | 6 +++++- docs-website/docusaurus.config.js | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 71dbf35bb5587..983c03c715032 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -26,7 +26,11 @@ jobs: gh-pages: runs-on: ubuntu-latest steps: - - uses: acryldata/sane-checkout-action@v3 + # We explicitly don't use acryldata/sane-checkout-action because docusaurus runs + # git commands to determine the last change date for each file. + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@v3 with: diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index 13fc48d390234..3555fd00ea127 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -238,8 +238,8 @@ module.exports = { }), numberPrefixParser: false, // TODO: make these work correctly with the doc generation - showLastUpdateAuthor: true, - showLastUpdateTime: true, + showLastUpdateAuthor: false, + showLastUpdateTime: false, }, blog: false, theme: {