Skip to content

Commit 0dce6da

Browse files
committed
Fix docs maybe
1 parent 549748e commit 0dce6da

4 files changed

Lines changed: 17 additions & 6 deletions

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
distribution: 'liberica'
2727
cache: maven
2828
- name: Set up refname build
29-
if: github.event.inputs.build-refname
29+
if: github.event.inputs.build-refname != 'all'
3030
run: |
3131
git fetch --depth 1 https://github.com/$GITHUB_REPOSITORY "$BUILD_REFNAME"
3232
export BUILD_REFNAME=${{ github.event.inputs.build-refname }}

build-docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

33
# Generate the README.md, CONTRIBUTING.md and the Antora site
4-
./mvnw -pl spring-grpc-docs package antora docs
4+
./mvnw -pl spring-grpc-docs package antora

spring-grpc-docs/pom.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@
8383
<finalName>spring-grpc-${project.version}</finalName>
8484
<appendAssemblyId>true</appendAssemblyId>
8585
</configuration>
86+
<executions>
87+
<execution>
88+
<id>make-assembly</id>
89+
<phase>package</phase>
90+
<goals>
91+
<goal>single</goal>
92+
</goals>
93+
</execution>
94+
</executions>
8695
</plugin>
8796
<plugin>
8897
<groupId>org.apache.maven.plugins</groupId>
@@ -154,7 +163,8 @@
154163
</goals>
155164
<phase>package</phase>
156165
<configuration>
157-
<arguments>downdoc ${project.build.directory}/README.adoc -o ${project.parent.basedir}/README.md</arguments>
166+
<arguments>downdoc ${project.build.directory}/README.adoc -o
167+
${project.parent.basedir}/README.md</arguments>
158168
</configuration>
159169
</execution>
160170
<execution>
@@ -165,7 +175,8 @@
165175
</goals>
166176
<phase>package</phase>
167177
<configuration>
168-
<arguments>downdoc ${project.build.directory}/CONTRIBUTING.adoc -o ${project.parent.basedir}/CONTRIBUTING.md</arguments>
178+
<arguments>downdoc ${project.build.directory}/CONTRIBUTING.adoc -o
179+
${project.parent.basedir}/CONTRIBUTING.md</arguments>
169180
</configuration>
170181
</execution>
171182
</executions>
@@ -184,4 +195,4 @@
184195
</repository>
185196
</repositories>
186197

187-
</project>
198+
</project>

spring-grpc-docs/src/assembly/javadocs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<includeBaseDirectory>false</includeBaseDirectory>
99
<fileSets>
1010
<fileSet>
11-
<directory>../target/site/apidocs</directory>
11+
<directory>../spring-grpc-core/target/apidocs</directory>
1212
<outputDirectory>api</outputDirectory>
1313
</fileSet>
1414
</fileSets>

0 commit comments

Comments
 (0)