From 5e610111dd0eb889f4da81e51df94b4f7b6a449c Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Fri, 16 Aug 2024 17:04:54 +0200 Subject: [PATCH] Nicer info about the origin of nanopubs --- src/main/scala/commands/CategoryDocGenCommand.scala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/scala/commands/CategoryDocGenCommand.scala b/src/main/scala/commands/CategoryDocGenCommand.scala index 44ab12e..4addd58 100644 --- a/src/main/scala/commands/CategoryDocGenCommand.scala +++ b/src/main/scala/commands/CategoryDocGenCommand.scala @@ -248,7 +248,13 @@ object CategoryDocGenCommand extends Command: Await.ready(preloadBibFuture, 60.seconds) val benchResultsDoc = benchResultsDocBuilder.build( label, - s"""This benchmark result was reported in a Nanopublication: [$npUri]($npUri).""".stripMargin, + s"""!!! info + | + | This benchmark result was reported in a Nanopublication: [$npUri]($npUri). + | + | The documentation here was generated automatically. + | + |""".stripMargin, newRootNode ) // Remove the section title