From 2d5b0641cdccd74ca42d7f6efbe9ebf44105caf8 Mon Sep 17 00:00:00 2001 From: etorreborre Date: Fri, 11 Oct 2024 15:50:16 +0200 Subject: [PATCH] feature: do not process the website pages with jekyll --- guide/src/test/resources/_config.yml | 3 +++ guide/src/test/scala/org/specs2/Website.scala | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 guide/src/test/resources/_config.yml diff --git a/guide/src/test/resources/_config.yml b/guide/src/test/resources/_config.yml new file mode 100644 index 0000000000..4c267733a0 --- /dev/null +++ b/guide/src/test/resources/_config.yml @@ -0,0 +1,3 @@ +exclude: + - "*.*" + - "*/" diff --git a/guide/src/test/scala/org/specs2/Website.scala b/guide/src/test/scala/org/specs2/Website.scala index cc822fb9f9..0b47dd9b2d 100644 --- a/guide/src/test/scala/org/specs2/Website.scala +++ b/guide/src/test/scala/org/specs2/Website.scala @@ -26,7 +26,7 @@ class Website(env: Env) extends Specification with Specs2Variables with Specs2Ta def createWebsite = { val fs = env.fileSystem - val pages = List("index", "quickstart", "learn", "project", "nav").map(_ + ".html").map(resource) + val pages = List("index", "quickstart", "learn", "project", "nav").map(_ + ".html").map(resource) :+ resource("_config.yml") val directories = List("css", "fonts", "images", "javascript").map(resourceDir) val vars = variables(env) val siteOutputDir = outputDir / "website" / versionDirName