Selaa lähdekoodia

support plantuml

lym 4 kuukautta sitten
vanhempi
commit
c636ed790e
2 muutettua tiedostoa jossa 5 lisäystä ja 8 poistoa
  1. 3 0
      .drone.yml
  2. 2 8
      pom.xml

+ 3 - 0
.drone.yml

@@ -12,6 +12,9 @@ steps:
   commands:
   # 替换公共内容:目录、关键url、最新版本号
   - sh ./script/beforeGenHtml/replaceKey.sh
+  - locale
+  - export LANG=en_US.UTF-8
+  - export LC_ALL=en_US.UTF-8
   #
   # 生成html
   - export _start_time_x=`date +%s`

+ 2 - 8
pom.xml

@@ -107,22 +107,16 @@
                     <sourceDirectory>src/docs/asciidoc</sourceDirectory>
                     <!-- Attributes common to all output formats -->
                     <requires>
+                        <require>asciidoctor-diagram</require>
 <!--                        <require>asciidoctor-bibliography</require>-->
 <!--                        <require>plantuml</require>-->
-                        <require>asciidoctor-diagram</require>
+<!--                        <require>${project.basedir}/src/main/resources/nofollow_processor.rb</require>-->
                     </requires>
                     <attributes>
 <!--                        <sourcedir>${project.build.sourceDirectory}</sourcedir>-->
 <!--                        <relative-basedir>true</relative-basedir>-->
                         <lang>zh-CN</lang>
                         <base-url>https://doc.itlym.cn/</base-url>
-<!--                        <endpoint-url>http://vmware.com</endpoint-url>-->
-<!--                        <project-version>${project.version}</project-version>-->
-<!--                        <requires>-->
-<!--                            <require>asciidoctor-diagram</require>-->
-<!--                            <require>${project.basedir}/src/main/resources/nofollow_processor.rb</require>-->
-<!--                        </requires>-->
-<!--                        引用 -->
                         <doctype>article</doctype>
                         <docdir>.</docdir>
                     </attributes>