Skip to content

Commit 72767fe

Browse files
committed
规范 docinfo 的使用
1 parent 5e64fc2 commit 72767fe

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
File renamed without changes.

docs/index.adoc

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
= LeetCode 解题笔记
22
D瓜哥 <https://www.diguage.com/>
33
{docdate}
4-
:docinfo:
54

65
// head -n 10 index.adoc | tail -n +2 | xargs touch {}\n
76
// grep "include" index.adoc | grep -v "grep" | awk -F: '{print $2}' | awk -F\[ '{print $1}' | xargs touch {}\n

pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -790,8 +790,8 @@
790790
<source-highlighter>rouge</source-highlighter>
791791
<rouge-style>github</rouge-style>
792792
<imagesdir>.</imagesdir>
793-
<!-- <docinfo>true</docinfo>-->
794-
<!-- <docinfodir>assets/tags</docinfodir>-->
793+
<docinfo>shared</docinfo>
794+
<docinfodir>assets/tags</docinfodir>
795795
<icons>font</icons>
796796
<linkcss>true</linkcss>
797797
<stylesdir>assets/styles</stylesdir>
@@ -835,7 +835,6 @@
835835
<outputDirectory>${project.build.directory}/docs/multipage</outputDirectory>
836836
<attributes>
837837
<toc>left</toc>
838-
<docinfo1>true</docinfo1>
839838
</attributes>
840839
</configuration>
841840
</execution>
@@ -852,7 +851,6 @@
852851
<!-- <outputDirectory>${project.build.directory}/docs/html</outputDirectory>-->
853852
<!-- <attributes>-->
854853
<!-- <toc>left</toc>-->
855-
<!-- <docinfo1>true</docinfo1>-->
856854
<!-- </attributes>-->
857855
<!-- <gemPath>${gem.path}</gemPath>-->
858856
<!-- <requires>-->

0 commit comments

Comments
 (0)