Skip to content

Commit

Permalink
Typo: directoy -> directory (#188)
Browse files Browse the repository at this point in the history
Just a very minor typo
  • Loading branch information
rferreira committed Nov 25, 2022
1 parent a652891 commit e53d9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DOCUMENTATION.md
Expand Up @@ -497,7 +497,7 @@ To do this, you need to create a `TemplateEngine` with the `createPrecompiled` f
When using this method you need to deploy the precompiled templates to your server.

```java
Path targetDirectory = Path.of("jte-classes"); // This is the directoy where compiled templates are located.
Path targetDirectory = Path.of("jte-classes"); // This is the directory where compiled templates are located.

TemplateEngine templateEngine = TemplateEngine.createPrecompiled(targetDirectory, ContentType.Html);
```
Expand All @@ -515,7 +515,7 @@ There is a [Maven plugin](https://github.com/casid/jte-maven-compiler-plugin) yo
<version>${jte.version}</version>
<configuration>
<sourceDirectory>src/main/jte</sourceDirectory> <!-- This is the directory where your .jte files are located. -->
<targetDirectory>jte-classes</targetDirectory> <!-- This is the directoy where compiled templates are located. -->
<targetDirectory>jte-classes</targetDirectory> <!-- This is the directory where compiled templates are located. -->
<contentType>Html</contentType>
</configuration>
<executions>
Expand Down

0 comments on commit e53d9d2

Please sign in to comment.