Skip to content

Commit

Permalink
Doxygen: Fix generation of dev drop versions. (#26)
Browse files Browse the repository at this point in the history
Version number in the header is displayed without
the Git commit id. The commit id is only used in
the footer.
  • Loading branch information
JonatanAntoni authored Jul 1, 2022
1 parent 4b4c680 commit d1c7be7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Doxygen/gen_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ fi
sed -e "s/{datetime}/${datetime}/" "${DIRNAME}/templates/footer.js.in" \
| sed -e "s/{year}/${year}/" \
| sed -e "s/{projectName}/${projectName}/" \
| sed -e "s/{projectNumber}/${VERSION_FULL}/" \
| sed -e "s/{projectNumber}/${VERSION}/" \
| sed -e "s/{projectNumberFull}/${VERSION_FULL}/" \
> "${DIRNAME}/../Documentation/html/footer.js"

exit 0
2 changes: 1 addition & 1 deletion Doxygen/templates/footer.js.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ function writeHeader() {
};

function writeFooter() {
document.write('Generated on {datetime} for {projectName} {projectNumber}. Copyright © {year} Arm Limited (or its affiliates). All rights reserved.');
document.write('Generated on {datetime} for {projectName} {projectNumberFull}. Copyright © {year} Arm Limited (or its affiliates). All rights reserved.');
};

0 comments on commit d1c7be7

Please sign in to comment.