From b53b0d839d4487f374dfa047b8cf3bdc486aaec1 Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Mon, 6 Jan 2025 14:14:16 +0100 Subject: [PATCH 1/3] chore: change github actions to catch build errors --- .github/workflows/pre-checks.yml | 41 +++++++++++++++++++------------- 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pre-checks.yml b/.github/workflows/pre-checks.yml index a5211aa..40fbd2b 100644 --- a/.github/workflows/pre-checks.yml +++ b/.github/workflows/pre-checks.yml @@ -1,26 +1,35 @@ -# This workflow will install Python dependencies and check for broken links -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - name: Manual Pre Checks on: - push: - branches: - - "*" pull_request: - branches: - - main - - v2 - # Allows you to run this workflow manually from the Actions tab + types: [opened, synchronize] workflow_dispatch: jobs: linkcheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: link-check - run: | - pip install -r requirements.txt - make linkcheck - + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.x + - name: Install Dependencies + run: pip install -r requirements.txt + - name: Clean Previous Builds + run: make linkcheck + build-docs: + runs-on: ubuntu-latest + needs: linkcheck + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: 3.x + - name: Install Dependencies + run: pip install -r requirements.txt + - name: Clean Previous Builds + run: make clean + - name: Build Documentation + run: make html SPHINXOPTS="-W" From d24f46f02b9f2413f1cad88f052b802eaf7ad108 Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:19:45 +0100 Subject: [PATCH 2/3] chore: rename action step and remove clean build (no caching) --- .github/workflows/pre-checks.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pre-checks.yml b/.github/workflows/pre-checks.yml index 40fbd2b..b9c01eb 100644 --- a/.github/workflows/pre-checks.yml +++ b/.github/workflows/pre-checks.yml @@ -16,7 +16,7 @@ jobs: python-version: 3.x - name: Install Dependencies run: pip install -r requirements.txt - - name: Clean Previous Builds + - name: Check Links run: make linkcheck build-docs: runs-on: ubuntu-latest @@ -29,7 +29,5 @@ jobs: python-version: 3.x - name: Install Dependencies run: pip install -r requirements.txt - - name: Clean Previous Builds - run: make clean - name: Build Documentation run: make html SPHINXOPTS="-W" From 99dd6723a41efc0e7ae58993d44abb9c55203dcb Mon Sep 17 00:00:00 2001 From: redteampanda-ng <31235211+redteampanda-ng@users.noreply.github.com> Date: Mon, 4 Aug 2025 09:06:17 +0200 Subject: [PATCH 3/3] chore: update copyright year --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 90d4780..fddbd93 100644 --- a/conf.py +++ b/conf.py @@ -2,7 +2,7 @@ project = 'ASGARD Security Center v2 Manual' version="2.0" -copyright = '2023, Nextron Systems GmbH' +copyright = '2025, Nextron Systems GmbH' author = 'Nextron Systems' extensions = [ 'sphinx.ext.autosectionlabel',