Skip to content

Commit fdefd8c

Browse files
committed
Remove unused image from README and update Maven configuration to copy necessary files for site generation
1 parent 4962a99 commit fdefd8c

5 files changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Java SDK for programmatic control of GitHub Copilot CLI.
1111
1212
<p align="center">
1313
<img width="480" src="image.png" alt="Copilot SDK for Java" />
14-
<img width="480" src="src/site/resources/image.png" alt="Copilot SDK for Java" />
1514
</p>
1615

1716
## Table of Contents

image.png

Lines changed: 0 additions & 1 deletion
This file was deleted.

image.png

2.14 MB
Loading

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<artifactId>maven-compiler-plugin</artifactId>
7979
<version>3.14.1</version>
8080
</plugin>
81-
<!-- Copy README.md to site directory as index.md -->
81+
<!-- Copy README.md and image.png to site directory -->
8282
<plugin>
8383
<groupId>org.apache.maven.plugins</groupId>
8484
<artifactId>maven-antrun-plugin</artifactId>
@@ -94,6 +94,8 @@
9494
<target>
9595
<copy file="${project.basedir}/README.md"
9696
tofile="${project.basedir}/src/site/markdown/index.md"/>
97+
<copy file="${project.basedir}/image.png"
98+
tofile="${project.basedir}/src/site/resources/image.png"/>
9799
</target>
98100
</configuration>
99101
</execution>

src/site/resources/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Copied from root during pre-site phase - do not edit here
2+
image.png

src/site/resources/image.png

-2.14 MB
Binary file not shown.

0 commit comments

Comments
 (0)