Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,736 changes: 0 additions & 2,736 deletions .github/doxygen/Doxyfile

This file was deleted.

Binary file removed .github/doxygen/logo.png
Binary file not shown.
35 changes: 0 additions & 35 deletions .github/scripts/check_version.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .github/scripts/patch_doxyfile.sh

This file was deleted.

41 changes: 0 additions & 41 deletions .github/scripts/prepare_doxygen.sh

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build and Test code

on:
push:
branches:
- main
pull_request:


jobs:
call-reusable-workflow:
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-cpp-build-and-test.yml@main # NOSONAR - Same organization, trusted source
with:
test_executable_name: ''
43 changes: 8 additions & 35 deletions .github/workflows/publish-doc-release.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,14 @@
name: Publish API documentation

name: Publish API documentation (release)
on:
release:
types: [published]

permissions:
checks: write

jobs:
publish-doc-release:
runs-on: ubuntu-latest
steps:
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Make scripts executable
run: chmod +x ./.github/scripts/*.sh
- name: Check version
working-directory: .
run: ./.github/scripts/check_version.sh $(echo "${{ github.ref }}" | sed -e "s,^refs/tags/,,")
- name: Patch Doxyfile
working-directory: .
run: ./.github/scripts/patch_doxyfile.sh ${{ env.PROJECT_VERSION }}
- name: Generate project documentation with Doxygen
uses: mattnotmitt/doxygen-action@v1.9.2
with:
working-directory: .github/doxygen/
doxyfile-path: ./Doxyfile
- name: Prepare Doxygen doc page locally
working-directory: .
run: ./.github/scripts/prepare_doxygen.sh ${{ env.PROJECT_VERSION }}
- name: Deploy to doc branch
run: |
git config --global user.name "Eclipse Keypop Bot"
git config --global user.email "${{ github.repository }}-bot@eclipse.org"
cd ${{ github.event.repository.name }}
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git add .
git commit -m "docs: update ${{ github.event.inputs.version || github.ref_name }} documentation"
git push origin doc --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-publish-doxygen.yml@main # NOSONAR - Same organization, trusted source
with:
version: ${{ github.event.inputs.version || github.ref_name }}
secrets: inherit # NOSONAR - Same organization, trusted source
42 changes: 6 additions & 36 deletions .github/workflows/publish-doc-snapshot.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,14 @@
name: Publish API documentation (snapshot)

on:
push:
branches:
- main
- master
- doxygen
workflow_dispatch:

permissions:
checks: write

jobs:
publish-doc-snapshot:
runs-on: ubuntu-latest
steps:
- name: Check out repository code from ${{ github.repository }}/${{ github.ref }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Make scripts executable
run: chmod +x ./.github/scripts/*.sh
- name: Check version
working-directory: .
run: ./.github/scripts/check_version.sh
- name: Patch Doxyfile
working-directory: .
run: ./.github/scripts/patch_doxyfile.sh ${{ env.PROJECT_VERSION }}
- name: Generate project documentation with Doxygen
uses: mattnotmitt/doxygen-action@v1.9.2
with:
working-directory: .github/doxygen/
doxyfile-path: ./Doxyfile
- name: Prepare Doxygen doc page locally
working-directory: .
run: ./.github/scripts/prepare_doxygen.sh ${{ env.PROJECT_VERSION }}
- name: Deploy to doc branch
run: |
git config --global user.name "Eclipse Keypop Bot"
git config --global user.email "${{ github.repository }}-bot@eclipse.org"
cd ${{ github.event.repository.name }}
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "docs: update snapshot documentation"
git push origin doc --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: eclipse-keyple/keyple-actions/.github/workflows/reusable-publish-doxygen.yml@main # NOSONAR - Same organization, trusted source
secrets: inherit # NOSONAR - Same organization, trusted source
23 changes: 23 additions & 0 deletions src/main/mainpage.dox
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* @mainpage Keyple Card Calypso C++ Library
*
* @section overview Overview
*
* The **Keyple Card Calypso C++ Library** is a Keyple add-on that enables
* applications to interact with Calypso card products through high level
* functional commands, simplifying Calypso card operations.
*
* @section key_features Key Features
*
* - High-level Calypso card commands
* - Support for Calypso card operations
* - Secure session management
* - File and record operations
* - Transaction handling and cryptographic operations
*
* @section resources Resources
*
* - **Documentation**: [keyple.org](https://keyple.org)
* - **API Documentation**: [docs.keyple.org/keyple-card-calypso-cpp-lib](https://docs.keyple.org/keyple-card-calypso-cpp-lib)
* - **Examples**: [github.com/eclipse/keyple-cpp-example](https://github.com/eclipse/keyple-cpp-example)
*/
Loading