diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..df66b20 --- /dev/null +++ b/.classpath @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..f5086d7 --- /dev/null +++ b/.project @@ -0,0 +1,34 @@ + + + mkdocs-version-processor + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + + + 1708628092138 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/README.md b/README.md index 61cafa0..ab31df7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Create and maintain a container (a.k.a. Docker) image having all [MKDocs Materia ## Multi-Version build -The image now contains our [mkdocs-preprocessor](preporcessor.md) which allows to comfortably maintain documentation versions for software version without duplicating sources. +The image now contains our [mkdocs-preprocessor](preprocessor.md) which allows to comfortably maintain documentation versions for software version without duplicating sources. ## Build result diff --git a/src/test/java/com/hcl/mkdocs/MkDocsPreprocessorTest.java b/src/test/java/com/hcl/mkdocs/MkDocsPreprocessorTest.java index 6fa330c..9a9b330 100644 --- a/src/test/java/com/hcl/mkdocs/MkDocsPreprocessorTest.java +++ b/src/test/java/com/hcl/mkdocs/MkDocsPreprocessorTest.java @@ -44,7 +44,7 @@ static void testProcessFiles() throws IOException { void checkForExpecetFiles(final String pathString) { final Path p = Path.of(pathString, ""); System.out.println(p.toAbsolutePath()); - Assertions.assertTrue(p.toFile().exists()); + Assertions.assertTrue(p.toFile().exists(), p.toString()); } @ParameterizedTest @@ -52,6 +52,6 @@ void checkForExpecetFiles(final String pathString) { void ensureNoRougeVersion(final String shouldNotExistString) { final Path p = Path.of(shouldNotExistString, ""); System.out.println(p.toAbsolutePath()); - Assertions.assertFalse(p.toFile().exists()); + Assertions.assertFalse(p.toFile().exists(), p.toString()); } } diff --git a/src/test/resources/e2eExpectedFiles.csv b/src/test/resources/e2eExpectedFiles.csv index 13d2555..81bfa8f 100644 --- a/src/test/resources/e2eExpectedFiles.csv +++ b/src/test/resources/e2eExpectedFiles.csv @@ -1,8 +1,6 @@ target/e2e/mkdocs.yml target/e2e/theme_overrides/sample.css target/e2e/docs/assets/test.txt -target/e2e/docs/v1/test/.pages -target/e2e/docs/v2/test/.pages target/e2e/docs/v3/test/.pages target/e2e/docs/v1/info/.pages target/e2e/docs/v2/info/.pages