stevedlawrence commented on code in PR #235:
URL: https://github.com/apache/daffodil-site/pull/235#discussion_r3855994987
##########
.github/workflows/update-docs.yml:
##########
@@ -99,25 +99,30 @@ jobs:
working-directory: project
if: ${{ inputs.project == 'daffodil' }}
run: |
- SITE_ROOT=${{ github.workspace }}/site
- DOCS_DIR=$SITE_ROOT/site/docs/$VERSION
- TUTORIALS_DIR=$SITE_ROOT/site/tutorials
+ SITE_REPO=${{ github.workspace }}/site
+ SITE_DIR=$SITE_REPO/site
+ DOCS_DIR=$SITE_DIR/docs/$VERSION
+ TUTORIALS_DIR=$SITE_DIR/tutorials
rm -rf $DOCS_DIR
rm -rf $TUTORIALS_DIR
sbt unidoc
mkdir -p $DOCS_DIR/javadoc/
cp -R target/scala-*/unidoc/* $DOCS_DIR/javadoc/
+ sbt genTunablesDoc
Review Comment:
This is actually part of Daffodil:
https://github.com/apache/daffodil/blob/main/build.sbt#L421
We used to run this as part of the container that created release
candidates, but I think when we migrated to the new release-candidate GitHub
action we accidentally lost it when the documentation generation was moved out
of that container and into this GitHub workflow
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]