Skip to content

Commit

Permalink
Merge pull request #4193 from ralfhandl/gh-pages-ignore-minor-spec-ve…
Browse files Browse the repository at this point in the history
…rsion-symlinks

gh-pages: ignore spec minor-version symlinks
  • Loading branch information
handrews authored Nov 21, 2024
2 parents 78a9441 + c27f4be commit 69a7627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion _includes/specification-version-list.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{%- for file in html_files -%}
{%- assign segments = file.path | split: "/" -%}
{%- assign firstchar = file.basename | slice: 0 -%}
{%- if segments[1] == include.specification and firstchar == "v" -%}
{%- assign patch_separator = file.basename | slice: 4 -%}
{%- if segments[1] == include.specification and firstchar == "v" and patch_separator == "." -%}
{%- assign minor_version = file.basename | slice: 1, 3 -%}
{%- if minor_version != last_version -%}
{% assign last_version = minor_version %}
Expand Down

0 comments on commit 69a7627

Please sign in to comment.