mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Use tag ref as dynamic project number
This commit is contained in:
parent
a69bfb8cb8
commit
5d61cfb133
2 changed files with 9 additions and 2 deletions
6
.github/workflows/documentation-build.yml
vendored
6
.github/workflows/documentation-build.yml
vendored
|
|
@ -11,12 +11,18 @@ on:
|
|||
- 'doxygen_style.css'
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
COCKATRICE_REF: ${{ github.ref_name }} # Gives tag name if the commit is tagged, otherwise branch name
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Doxygen
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Print environment variable
|
||||
run: echo $COCKATRICE_REF
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
|
|
|
|||
5
Doxyfile
5
Doxyfile
|
|
@ -1,4 +1,5 @@
|
|||
# Doxyfile 1.14.0
|
||||
# Docs: https://www.doxygen.nl/manual
|
||||
|
||||
# This file describes the settings to be used by the documentation system
|
||||
# Doxygen (www.doxygen.org) for a project.
|
||||
|
|
@ -48,13 +49,13 @@ PROJECT_NAME = "Cockatrice"
|
|||
# could be handy for archiving the generated documentation or if some version
|
||||
# control system is used.
|
||||
|
||||
PROJECT_NUMBER = 2.11
|
||||
PROJECT_NUMBER = $(COCKATRICE_REF)
|
||||
|
||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||
# for a project that appears at the top of each page and should give viewers a
|
||||
# quick idea about the purpose of the project. Keep the description short.
|
||||
|
||||
PROJECT_BRIEF =
|
||||
PROJECT_BRIEF = A cross-platform virtual tabletop for multiplayer card games
|
||||
|
||||
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
|
||||
# in the documentation. The maximum height of the logo should not exceed 55
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue