diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 3fd3c2f5..455b02e5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -29,4 +29,3 @@ jobs: with: files: . dot: true - ignore_files: site/_includes/ # needs special treatment, ignore for now diff --git a/.markdownlintignore b/.markdownlintignore new file mode 100644 index 00000000..4363b8a5 --- /dev/null +++ b/.markdownlintignore @@ -0,0 +1,5 @@ +# FIXME: Issue #126, markdowncli checks markdown before Liquid tags are rendered +# https://github.com/OpenTabletDriver/opentabletdriver.github.io/issues/126 +# This file shouldn't be necessary once the above issue is solved +site/_includes/ +site/_sections/Framework.md diff --git a/site/_config.yml b/site/_config.yml index bfe9f413..bd2ca9b2 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -23,6 +23,8 @@ description: >- # this means to ignore newlines until "baseurl:" OpenTabletDriver is an open source, cross-platform, low latency, user-mode tablet driver. baseurl: "" # webserver path, blank for GitHub pages url: https://opentabletdriver.net # full URI to website +# the .NET runtime version used by OpenTabletDriver. Used for user-facing content and download links +otd_dotnet_version: 8.0 sass: sass_dir: _sass diff --git a/site/_sections/Framework.md b/site/_sections/Framework.md index 378a9171..570ab986 100644 --- a/site/_sections/Framework.md +++ b/site/_sections/Framework.md @@ -2,20 +2,24 @@ title: Frameworks --- -## Windows +## .NET Desktop Runtime -[x64](https://aka.ms/dotnet/8.0/windowsdesktop-runtime-win-x64.exe) +OpenTabletDriver currently uses .NET {{ site.otd_dotnet_version }}. -## MacOS +### Windows -[arm64](https://aka.ms/dotnet/8.0/dotnet-runtime-osx-arm64.pkg) +[x64](https://aka.ms/dotnet/{{ site.otd_dotnet_version }}/windowsdesktop-runtime-win-x64.exe) -[x86-64/x64 (Intel based)](https://aka.ms/dotnet/8.0/dotnet-runtime-osx-x64.pkg) +### MacOS -## Linux +[arm64](https://aka.ms/dotnet/{{ site.otd_dotnet_version }}/dotnet-runtime-osx-arm64.pkg) + +[x86-64/x64 (Intel based)](https://aka.ms/dotnet/{{ site.otd_dotnet_version }}/dotnet-runtime-osx-x64.pkg) + +### Linux See the [official Linux installation documentation](https://docs.microsoft.com/en-us/dotnet/core/install/linux). -## Uncommon builds +### Uncommon builds -[Windows arm64](https://aka.ms/dotnet/8.0/windowsdesktop-runtime-win-arm64.exe) +[Windows arm64](https://aka.ms/dotnet/{{ site.otd_dotnet_version }}/windowsdesktop-runtime-win-arm64.exe) diff --git a/site/_wiki/Install/Windows.md b/site/_wiki/Install/Windows.md index 498a6d39..ed7b7cca 100644 --- a/site/_wiki/Install/Windows.md +++ b/site/_wiki/Install/Windows.md @@ -5,7 +5,7 @@ hide_from_auto_list: true ## Dependencies {#dependencies} -1. Install the [.NET 8 Desktop Runtime x64]({% link _sections/Framework.md %}) +1. Install the [.NET {{ site.otd_dotnet_version }} Desktop Runtime x64]({% link _sections/Framework.md %}) If you were previously using the standalone installer/updater (before v0.6), switch to the new method for installing OpenTabletDriver below.