Skip to content

Commit

Permalink
More standard docs (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaTP authored Jan 25, 2024
1 parent f8914ec commit b09b104
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
- name: Update latest release version in docs
run: |
mvn -B -ntp -pl docs -am generate-resources -Denforcer.skip -Dformatter.skip -Dimpsort.skip
if ! git diff --quiet docs/modules/ROOT/pages/includes/attributes.adoc; then
git add docs/modules/ROOT/pages/includes/attributes.adoc
if ! git diff --quiet docs/modules/ROOT/templates/includes/attributes.adoc; then
git add docs/modules/ROOT/templates/includes/attributes.adoc
git commit -m "Update the latest release version ${{steps.metadata.outputs.current-version}} in documentation"
fi
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
.idea
.vscode
Empty file.
Empty file.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
= Quarkus - Kiota
:extension-status: preview

include::./includes/attributes.adoc[]

Quarkus' extension for generation of fully typed, client side SDKs based on OpenAPI specification files.

This extension is based on the https://learn.microsoft.com/en-gb/openapi/kiota/[Microsoft Kiota] generator.
Expand Down
3 changes: 3 additions & 0 deletions docs/modules/ROOT/templates/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:project-version: ${release.current-version}

:examples-dir: ./../examples/
5 changes: 5 additions & 0 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@
<include>quarkus-kiota.adoc</include>
<filtering>false</filtering>
</resource>
<resource>
<directory>${project.basedir}/templates/includes</directory>
<include>attributes.adoc</include>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
Expand Down

0 comments on commit b09b104

Please sign in to comment.