Skip to content
Merged
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 changes: 1 addition & 1 deletion .CI/checkHTMLDoc/checkLinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

'''
Copyright (C) 2020-2021, Modelica Association and contributors
Copyright (C) 2020-2025, Modelica Association and contributors
All rights reserved.

Check Modelica HTML documentation for link validity
Expand Down
2 changes: 1 addition & 1 deletion .CI/checkHTMLDoc/checkTags.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

'''
Copyright (C) 2020-2021, Modelica Association and contributors
Copyright (C) 2020-2025, Modelica Association and contributors
All rights reserved.

Check Modelica HTML documentation for tag validity
Expand Down
2 changes: 1 addition & 1 deletion .CI/checkHTMLDoc/tidyHTML.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

'''
Copyright (C) 2020-2021, Modelica Association and contributors
Copyright (C) 2020-2025, Modelica Association and contributors
All rights reserved.

Check Modelica HTML documentation with HTML Tidy
Expand Down
4 changes: 2 additions & 2 deletions .CI/check_deprecated_line_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

'''
Copyright (C) 2021, Modelica Association and contributors
Copyright (C) 2021-2025, Modelica Association and contributors
All rights reserved.

Check for deprecated Text.lineColor annotation
Expand All @@ -13,7 +13,7 @@
import re
import sys

PATTERN = re.compile(r'(Text\s*\([^\).]*)lineColor')
PATTERN = re.compile(r'(?:Text\s*\([^\)]*?(?:\"(?:\\.|[^\"])*\")?[^\)]*?)(lineColor)')

def _checkDeprecatedFileLineColor(file_name):
errors = 0
Expand Down
2 changes: 1 addition & 1 deletion .CI/check_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

'''
Copyright (C) 2020-2021, Modelica Association and contributors
Copyright (C) 2020-2025, Modelica Association and contributors
All rights reserved.

Check Modelica HTML documentation for validity
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/checkCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: CI

on: [pull_request]

defaults:
run:
shell: bash

jobs:
html_documentation_checks:
timeout-minutes: 5
Expand All @@ -23,7 +27,7 @@ jobs:
run: |
git clone --branch 5.8.0 --depth=1 https://github.com/htacg/tidy-html5.git
pushd tidy-html5
cmake .
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
make
sudo make install
popd
Expand All @@ -38,6 +42,7 @@ jobs:
echo "::add-matcher::./.github/checkTags.json"
python ./.CI/check_html.py checkTags ./
echo "::remove-matcher owner=checkTags::"

syntax_checks:
timeout-minutes: 5
runs-on: ubuntu-latest
Expand Down