Skip to content

Commit 951f434

Browse files
committed
Polishing docs for gh-55
1 parent 3699d71 commit 951f434

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

src/site/xdoc/index.xml.vm

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dependencies {
7676
</ul>
7777
</section>
7878

79-
<section name="Configuring">
79+
<section name="Configuration">
8080
<subsection name="Common">
8181
<p>
8282
By default, the <code>mybatis-freemarker.properties</code> file create in your classpath.
@@ -91,7 +91,7 @@ basePackage = sql
9191
]]></source>
9292
</li>
9393
<li>
94-
Since 2.1.0, you configure the FreeMarker configuration as follow:
94+
Since 1.2.0, you configure the FreeMarker configuration.
9595
About available setting name, please refer to <a href="https://freemarker.apache.org/docs/api/freemarker/template/Configuration.html#setSetting-java.lang.String-java.lang.String-">the API documentation of FreeMarker</a>.
9696
<source><![CDATA[
9797
# freemarkerSettings.{name} = {value}
@@ -100,24 +100,18 @@ freemarkerSettings.interpolation_syntax = dollar
100100
]]></source>
101101
</li>
102102
<li>
103-
Since 2.1.0, you can use an any properties file instead of the default properties file.
104-
If you use an any properties file, please specify a properties file using the special system properties(<code>mybatis-freemarker.config.file</code>) as follow:
103+
Since 1.2.0, you can use an any properties file or encoding as follow:
105104
<source><![CDATA[
106-
$ java -Dmybatis-freemarker.config.file=mybatis-freemarker_production.properties ...
107-
]]></source>
108-
</li>
109-
<li>
110-
Since 2.1.0, you can use an any file encoding instead of the default file encoding(UTF-8).
111-
If you use an any file encoding, please specify a file encoding using the special system properties(<code>mybatis-freemarker.config.encoding</code>) as follow:
112-
<source><![CDATA[
113-
$ java -Dmybatis-freemarker.config.encoding=Windows-31J ...
105+
$ java -Dmybatis-freemarker.config.file=mybatis-freemarker_production.properties -Dmybatis-freemarker.config.encoding=Windows-31J ...
114106
]]></source>
115107
</li>
116108
</ul>
117109

118110
</subsection>
119-
<subsection name="XML-driven mappers">
120-
<p>If your are using annotations-driven mappers, you don't need to do anything more. If you are using XML-driven mappers too, you may need to do next steps:</p>
111+
<subsection name="Scripting Language Driver">
112+
<p>
113+
You may need to do next steps:
114+
</p>
121115
<ul>
122116
<li>Register the language driver alias in your mybatis configuration file:
123117
<source><![CDATA[

0 commit comments

Comments
 (0)