Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2021 19:01:20 GMT
From:      Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 0030e0f18a - main - Remove comment and CSS class from the pgpkeys.txt file
Message-ID:  <202105231901.14NJ1Kup074285@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0030e0f18adf90701e4e8137550c0f036804e2cb

commit 0030e0f18adf90701e4e8137550c0f036804e2cb
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2021-05-23 19:00:35 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2021-05-23 19:00:35 +0000

    Remove comment and CSS class from the pgpkeys.txt file
---
 documentation/tools/global-pgpkeys-creator.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/tools/global-pgpkeys-creator.rb b/documentation/tools/global-pgpkeys-creator.rb
index 37eb94fe32..72825f613e 100644
--- a/documentation/tools/global-pgpkeys-creator.rb
+++ b/documentation/tools/global-pgpkeys-creator.rb
@@ -22,7 +22,9 @@ end
 
 def processPGPKey(keyFile, pgpKeysFile)
   File.readlines(keyFile).each do |line|
-    pgpKeysFile.puts(line)
+    if not line.include? "// sh addkey.sh" and not line.include? "[.literal-block-margin]"
+      pgpKeysFile.puts(line)
+    end
   end
 end
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105231901.14NJ1Kup074285>