Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 33dc69cd authored by MONSEIGNE Thibaut's avatar MONSEIGNE Thibaut
Browse files

:construction_worker: Add Add Doc to gitlab CI

parent 4a19942a
Branches
No related tags found
No related merge requests found
Pipeline #130974 passed
variables:
GIT_SUBMODULE_STRATEGY: recursive
DocumentationPath: _site
stages:
- prepare
- documentation
- analysis
- deploy
......@@ -22,6 +24,24 @@ prepare:
- "*.sln"
- Library
# Generate the documentation
documentation:
stage: documentation
variables:
LogFile: DocumentationLogs.txt
script:
# Generate documentation
- docfx metadata -f Documentation/docfx.json | tee $LogFile
- docfx build -f Documentation/docfx.json | tee -a $LogFile
# Job fail if there is at least a warning
- grep -q "Warning:" $LogFile && exit 1 || exit 0
allow_failure: true
artifacts:
paths:
- $DocumentationPath
- $LogFile
# Analyse code quality
analysis:
stage: analysis
......@@ -40,3 +60,16 @@ analysis:
-d:sonar.exclusions=Assets/**/Plugins/**/*
- MsBuild.exe -t:Rebuild $ProjectPath
- SonarScanner.MSBuild.exe end -d:sonar.login="$SonarLogin"
# Deploy the documentation online
pages:
stage: deploy
variables:
PagesPath: public
script: cp -r $DocumentationPath $PagesPath
artifacts:
paths:
- $PagesPath
only:
- master
//-------------------------------------------------------------------------------------------------
//
// \file Controller.cs
// \brief Main Controller to manage the cube.
// \author Thibaut Monseigne (Inria).
// \version 1.0.
// \date 24/03/2020.
// \copyright <a href="https://choosealicense.com/licenses/agpl-3.0/">GNU Affero General Public License v3.0</a>.
//
//-------------------------------------------------------------------------------------------------
using System;
using System.Linq;
using LSL4Unity.OV;
......
//-------------------------------------------------------------------------------------------------
//
// \file FloatInlet.cs
// \brief Implementation for an Inlet receiving Float values for OpenViBE Link.
// \author Thibaut Monseigne (Inria).
// \version 1.0.
// \date 24/03/2020.
// \copyright <a href="https://choosealicense.com/licenses/agpl-3.0/">GNU Affero General Public License v3.0</a>.
//
//-------------------------------------------------------------------------------------------------
using LSL4Unity.OV;
namespace OVGames.HelloWorld
......
//-------------------------------------------------------------------------------------------------
//
// \file StimulationInlet.cs
// \brief Implementation for an Inlet receiving Stimulations (int) from OpenViBE.
// \author Thibaut Monseigne (Inria).
// \version 1.0.
// \date 24/03/2020.
// \copyright <a href="https://choosealicense.com/licenses/agpl-3.0/">GNU Affero General Public License v3.0</a>.
//
//-------------------------------------------------------------------------------------------------
using LSL4Unity.OV;
using UnityEngine;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment