Skip to content

Commit

Permalink
feat: cleanup macros
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jul 30, 2024
1 parent 96ba5ad commit 4acae64
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 29 deletions.
18 changes: 2 additions & 16 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,8 @@ See the alternatives below.

<center class="noJs centerMsdl">
<div class="msdl-button-container">
<button markdown class="msdl-button" style="margin-right: 2px" onclick="
getWindows(
{{ win11.pid }}
);
">
Download Windows 11
{{ win11.version }}
</button>
<button markdown class="msdl-button" style="margin-left: 2px" onclick="
getWindows(
{{ win10.pid }}
);
">
Download Windows 10
{{ win10.version }}
</button>
<button markdown class="msdl-button" style="margin-right: 2px" onclick="getWindows({{ msdl.win11.pid }});">Download Windows 11 {{ msdl.win11.version }}</button>
<button markdown class="msdl-button" style="margin-left: 2px" onclick="getWindows({{ msdl.win10.pid }});">Download Windows 10 {{ msdl.win10.version }}</button>
</div>

<div id="msdl-ms-content"></div>
Expand Down
6 changes: 2 additions & 4 deletions docs/install-faq/windows-version-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ icon: material/list-status
As of the latest version, Atlas only supports:
{ .annotate }

- **Windows 11:**
{{ win11.version }}
- **Windows 10:**
{{ win10.version }}
- **Windows 11:** {{ msdl.win11.version }}
- **Windows 10:** {{ msdl.win10.version }}

Only the latest [non-beta/non-Insider](https://en.wikipedia.org/wiki/Windows_Insider) versions are supported. Insider isn't for stability and privacy, as it usually has bugs we can't account for, and it requires sending extra diagnostic data to Microsoft.

Expand Down
16 changes: 7 additions & 9 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,13 @@ extra:

# https://mkdocs-macros-plugin.readthedocs.io/en/stable/pages/#1-variable

# ATLAS
version: 0.4.0
# MSDL
win11:
version: 23H2
pid: 2935
win10:
version: 22H2
pid: 2618
msdl:
win11:
version: 23H2
pid: 2935
win10:
version: 22H2
pid: 2618

# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-analytics/#configuration
analytics:
Expand Down

0 comments on commit 4acae64

Please sign in to comment.