Skip to content

Commit

Permalink
update lang tag site
Browse files Browse the repository at this point in the history
  • Loading branch information
Arhell committed Nov 13, 2023
1 parent e0d5f3f commit 3e447e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"_appTitle": "NUnit Docs",
"_googleAnalyticsTagId": "G-PCB5BYBNM2",
"_appFooter": "<span>Generated by <strong>DocFX</strong></span> | Copyright (c) 2018-<span id=\"currentYear\"></span> The NUnit Project - Licensed under <a href=\"https://creativecommons.org/licenses/by-nc-sa/4.0/\" target=\"_blank\">CC BY-NC-SA 4.0</a>",
"lang": "en"
"_lang": "en"
},
"globalMetadataFiles": [],
"fileMetadataFiles": [],
Expand Down
4 changes: 0 additions & 4 deletions docs/styles/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
var currentYear= new Date().getFullYear();
document.getElementById("currentYear").innerHTML = currentYear;

// NUnit docs adds the lang attribute ourselves for accessibility reasons, as docfx does not do this out of the box.
var htmlElement = document.querySelector("html");
htmlElement.setAttribute("lang", "en");

0 comments on commit 3e447e8

Please sign in to comment.