File tree 3 files changed +15
-2
lines changed
3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 37
37
run : |
38
38
mvn clean package
39
39
40
+ - name : Add links for comments 🔗
41
+ run : |
42
+ cd target/docs/multipage
43
+ sed -i 's/\(D瓜哥 · https:\/\/www.diguage.com\)/<a href="https:\/\/www.diguage.com" class="cmt-link" target="_blank">\1<\/a>/g' *.html
44
+
40
45
- name : Deploy 🚀
41
46
uses : JamesIves/github-pages-deploy-action@v4
42
47
with :
Original file line number Diff line number Diff line change
1
+ < style > .cmt-link {text-decoration : none;color : # 6e7781 ;}</ style >
Original file line number Diff line number Diff line change 28
28
<asciidoctorj-epub3 .version>2.1.3</asciidoctorj-epub3 .version>
29
29
<asciidoctorj-diagram .version>2.3.0</asciidoctorj-diagram .version>
30
30
<asciidoctor-multipage .version>0.0.19</asciidoctor-multipage .version>
31
+ <rouge .version>4.3.0</rouge .version>
31
32
<asciidoctor-comment-links .version>0.0.2</asciidoctor-comment-links .version>
32
33
<asciidoclet .version>2.0.0</asciidoclet .version>
33
34
<asciidoctor-maven-plugin .version>3.0.0</asciidoctor-maven-plugin .version>
42
43
</properties >
43
44
44
45
<dependencies >
46
+ <!-- <dependency>-->
47
+ <!-- <groupId>rubygems</groupId>-->
48
+ <!-- <artifactId>rouge</artifactId>-->
49
+ <!-- <version>${rouge.version}</version>-->
50
+ <!-- <type>gem</type>-->
51
+ <!-- </dependency>-->
45
52
<dependency >
46
53
<groupId >rubygems</groupId >
47
54
<artifactId >asciidoctor-multipage</artifactId >
409
416
<source-highlighter >rouge</source-highlighter >
410
417
<rouge-style >github</rouge-style >
411
418
<imagesdir >.</imagesdir >
412
- <docinfo >true</docinfo >
413
- <docinfodir >assets/tags</docinfodir >
414
419
<icons >font</icons >
415
420
<linkcss >true</linkcss >
416
421
<stylesdir >assets/styles</stylesdir >
448
453
<outputDirectory >${project.build.directory} /docs/multipage</outputDirectory >
449
454
<attributes >
450
455
<toc >left</toc >
456
+ <docinfo1 >true</docinfo1 >
451
457
</attributes >
452
458
</configuration >
453
459
</execution >
464
470
<!-- <outputDirectory>${project.build.directory}/docs/html</outputDirectory>-->
465
471
<!-- <attributes>-->
466
472
<!-- <toc>left</toc>-->
473
+ <!-- <docinfo1>true</docinfo1>-->
467
474
<!-- </attributes>-->
468
475
<!-- <gemPath>${gem.path}</gemPath>-->
469
476
<!-- <requires>-->
You can’t perform that action at this time.
0 commit comments