diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 1a0cbac..18f1eed 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -30,7 +30,8 @@ jobs: distribution: 'liberica' - name: Generate website (XSLT) id: generate - run: mvn -B package -Pquick-start-guide-website + # Override Maven properties for the Petal button url + run: mvn -B -Dpetal.api-url=https://petal.evolvedbinary.com -Dpetal.github-org-name=evolvedbinary -Dpetal.github-repo-name=cityehr-documentation -Dpetal.github-branch=develop -Dpetal.referrer-base-url=https://evolvedbinary.github.io/cityehr-documentation package -Pquick-start-guide-website - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload pages artifact diff --git a/cityehr-quick-start-guide/pom.xml b/cityehr-quick-start-guide/pom.xml index 93c604d..ddd823f 100644 --- a/cityehr-quick-start-guide/pom.xml +++ b/cityehr-quick-start-guide/pom.xml @@ -25,6 +25,12 @@ ${project.build.directory}/generated-resources/fo ${project.build.directory}/generated-resources/html ${project.build.directory}/website + + https://petal.evolvedbinary.com + evolvedbinary + cityehr-documentation + develop + https://evolvedbinary.github.io/cityehr-documentation @@ -208,6 +214,26 @@ output-folder ${html.generated-resources} + + petal-api-url + ${petal.api-url} + + + petal-github-org-name + ${petal.github-org-name} + + + petal-github-repo-name + ${petal.github-repo-name} + + + petal-github-branch + ${petal.github-branch} + + + petal-referrer-base-url + ${petal.referrer-base-url} + ${html.generated-resources} diff --git a/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt b/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt index 8f2b6da..e6207c7 100644 --- a/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt +++ b/cityehr-quick-start-guide/src/main/xslt/create-topic-html.xslt @@ -3,6 +3,7 @@ xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ditaarch="http://dita.oasis-open.org/architecture/2005/" xmlns:hcom="http://cityehr/html/common" + xmlns:com="http://cityehr/common" exclude-result-prefixes="xs hcom ditaarch" version="2.0"> @@ -10,11 +11,18 @@ Generates a simple HTML page from an LwDITA 'topic'. Author: Adam Retter --> - + + - + - + + + + + + + @@ -25,15 +33,27 @@ -
+ + + +
+ + + + + + +
+
-
+
+