git: 0030e0f18a - main - Remove comment and CSS class from the pgpkeys.txt file

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

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

commit 0030e0f18adf90701e4e8137550c0f036804e2cb
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2021-05-23 19:00:35 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
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
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.