Skip to content

Commit 9064928

Browse files
committed
Provide correct URL for built commit
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
1 parent fb4956f commit 9064928

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const currentBaseUrl = siteConfig[deployTarget].baseUrl
5959
const vcs = vcs_info();
6060
const buildLine = vcs.version === 'unknown'
6161
? ''
62-
: `<div class="footer__build">Built with Docusaurus from <a href="${vcs.repo_url}" target="_blank" rel="noopener noreferrer">${vcs.repo_url} @ ${vcs.version}</a> on ${vcs.commit_date}</div>`;
62+
: `<div class="footer__build">Built with Docusaurus from <a href="${vcs.repo_url}/tree/${vcs.version}" target="_blank" rel="noopener noreferrer">${vcs.repo_url}/tree/${vcs.version}</a> on ${vcs.commit_date}</div>`;
6363

6464
/** @type {import('@docusaurus/types').Config} */
6565
const config = {

0 commit comments

Comments
 (0)