Package: hugo / 0.55.6+really0.54.0-1

002-do-not-use-git-information-in-docs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Do not use git revision information for building the
 documentation, because the .git directory is needed for that,
 which is not available at build time.
Author: Dr. Tobias Quathamer <toddy@debian.org>
Origin: Debian
Forwarded: not-needed
Reviewed-by: Anthony Fok <foka@debian.org>
Last-Update: 2017-11-12
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/config.toml
+++ b/docs/config.toml
@@ -15,6 +15,8 @@
 
 # We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
 disableAliases = true
+# Do not use git revision information during a Debian package build
+enableGitInfo = false
 
 # Highlighting config (Pygments)
 # It is (currently) not in use, but you can do ```go in a content file if you want to.