You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To add a library, simply edit the right JSON file located at `views/website/libraries`. Each language gets its own file. Multiple libraries share the same language file.
9
10
10
11
To add a new language, simply add a JSON file in the same folder as the others. It will get automatically recognized. If you add a new language, you will need to provide a proper icon for it and place it in the `img` folder.
@@ -19,23 +20,23 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
19
20
// Unique identifier that will be used as a CSS class
20
21
// for this language (only valid CSS class names).
21
22
"uniqueClass":"net",
22
-
23
+
23
24
// The language icon, SVG format preferred, should be placed
24
25
// in /img directory.
25
26
"image":"/img/1.svg",
26
-
27
+
27
28
// The color of header that displays the name of the language
28
29
// and the icon. This is a valid CSS color definition.
29
30
"bgColor":"rgb(42, 168, 229)",
30
-
31
+
31
32
// An array of libraries for this language.
32
33
"libs": [
33
34
{
34
35
// In case the library suffered from a vulnerability, the
35
36
// minimum version in which the vuln was fixed must be
36
37
// listed here. Optional (can be null).
37
38
"minimumVersion":"1.0.1", // or null
38
-
39
+
39
40
// Supported features, true for supported,
40
41
// false for not supported.
41
42
"support": {
@@ -56,23 +57,26 @@ Here's a commented example of the .NET language file (`0-.NET.json`). All fields
56
57
"rs512":true,
57
58
"es256":true,
58
59
"es384":true,
59
-
"es512":true
60
+
"es512":true,
61
+
"ps256":true,
62
+
"ps384":true,
63
+
"ps512":true
60
64
},
61
-
65
+
62
66
// Author URL, can be GitHub profile, personal page
63
67
// company page, etc. Can be null.
64
68
"authorUrl":"https://www.microsoft.com", // or null
65
-
69
+
66
70
// Author name.
67
71
"authorName":"Microsoft",
68
-
72
+
69
73
// For the star count, this is the GitHub repository path,
70
74
// (usually user/repo). Can be null (no star count shown).
71
75
"gitHubRepoPath":"AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet", // or null
0 commit comments