Skip to content

Commit 4b62c2f

Browse files
authored
Merge pull request #498 from lobis/master
Automated Doxygen documentation
2 parents 292f38e + ce1edb4 commit 4b62c2f

File tree

4 files changed

+69
-2
lines changed

4 files changed

+69
-2
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.github/ @lobis
2+
* @jgalan
3+
*.py @lobis
4+
*.cmake @lobis
5+
CMakelists.txt @lobis

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly

.github/workflows/docs.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# generate doxygen
2+
3+
name: Docs
4+
on:
5+
workflow_dispatch:
6+
push:
7+
branches:
8+
- master
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
build:
16+
permissions:
17+
pages: write
18+
id-token: write
19+
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deployment.outputs.page_url }}
23+
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout repo
27+
uses: actions/checkout@v3
28+
29+
- name: Setup Python
30+
uses: actions/setup-python@v3
31+
with:
32+
python-version: 3.12
33+
34+
- name: Clone submodules
35+
run: |
36+
python pull-submodules.py --clean --dontask
37+
38+
- name: Install dependencies
39+
run: |
40+
sudo apt-get update
41+
sudo apt-get install -y doxygen
42+
doxygen --version
43+
44+
- name: Build doxygen
45+
run: |
46+
cd doc/doxygen
47+
doxygen REST.conf
48+
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v1
51+
with:
52+
path: doc/doxygen/html
53+
54+
- name: Deploy to GitHub Pages
55+
id: deployment
56+
uses: actions/deploy-pages@v1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![DOI](https://zenodo.org/badge/324291710.svg)](http://doi.org/10.5281/zenodo.4528985)
33
[![pipeline status](https://gitlab.cern.ch/rest-for-physics/framework/badges/master/pipeline.svg)](https://gitlab.cern.ch/rest-for-physics/framework/-/commits/master)
44
[![website](https://img.shields.io/badge/user-guide-E8B6FF.svg)](https://rest-for-physics.github.io)
5-
[![api](https://img.shields.io/badge/user-API-FFCA78.svg)](https://sultan.unizar.es/rest/)
5+
[![api](https://img.shields.io/badge/user-API-FFCA78.svg)](https://rest-for-physics.github.io/framework/)
66
[![forum](https://img.shields.io/badge/user-forum-AAFF90.svg)](https://rest-forum.unizar.es/)
77

88
The REST-for-Physics (Rare Event Searches Toolkit) Framework is mainly written in C++ and it is fully integrated with [ROOT](https://root.cern.ch) I/O interface.
@@ -39,7 +39,7 @@ Please, visit the [REST-for-Physics userguide](https://rest-for-physics.github.i
3939

4040
## Useful links or references
4141

42-
- An API doxygen documentation is frequently updated [here](https://sultan.unizar.es/rest/).
42+
- [Doxygen documentation](https://rest-for-physics.github.io/framework/).
4343
- The REST Framework forum for open discussions is available [here](https://rest-forum.unizar.es).
4444
- ROOT naming convention and coding rules are [Taligent rules](https://root.cern/TaligentDocs/TaligentOnline/DocumentRoot/1.0/Docs/books/WM/WM_63.html#HEADING77).
4545

0 commit comments

Comments
 (0)