Skip to content

Commit ce0db75

Browse files
Made project version in Doxyfile track content of VERSION file
1 parent d236698 commit ce0db75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/documentation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}
1818

1919
- name: build
20-
run: cd doc && doxygen ./Doxyfile
20+
run: cd doc && VERSION=$(cat ../VERSION) doxygen ./Doxyfile
2121

2222
- name: deploy
2323
uses: peaceiris/actions-gh-pages@v3

doc/Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "Franky"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 0.2.0
41+
PROJECT_NUMBER = $(VERSION)
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

0 commit comments

Comments
 (0)