mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-12 13:37:20 -05:00
tweaked contributors and fixed old project names
This commit is contained in:
@@ -22,7 +22,7 @@ Clone the SDK repository to your local machine:
|
||||
|
||||
```bash
|
||||
git clone https://gitlab.com/vyla-entertainment/sdk.git
|
||||
cd vyla-sdk
|
||||
cd sdk
|
||||
```
|
||||
|
||||
### 2. Install dependencies
|
||||
|
||||
@@ -40,7 +40,6 @@ function fetchContributors(project) {
|
||||
.catch(function () { return []; });
|
||||
}
|
||||
|
||||
|
||||
function renderContributors() {
|
||||
var box = document.getElementById("contributors");
|
||||
if (!box) return;
|
||||
@@ -56,7 +55,14 @@ function renderContributors() {
|
||||
|
||||
var key = name.toLowerCase();
|
||||
|
||||
if (["devin", "mesmerize", "alwaysmesmerizingyou"].includes(key)) {
|
||||
if ([
|
||||
"devin",
|
||||
"mesmerize",
|
||||
"alwaysmesmerizingyou",
|
||||
"endoverdosing",
|
||||
"github-actions[bot]",
|
||||
"gitlab-ci"
|
||||
].includes(key)) {
|
||||
key = "alwaysmesmerizingyou";
|
||||
}
|
||||
|
||||
@@ -86,6 +92,8 @@ function renderContributors() {
|
||||
avatar = '<img class="ct-avatar-img" src="https://secure.gravatar.com/avatar/f7a5dfd997d0aa0e81331fd1804d962099056d0b01d60d686e02deb3f8d9751c?s=80&d=identicon" alt="' + esc(p.name) + '" />';
|
||||
} else if (p.name.toLowerCase() === "zstrike") {
|
||||
avatar = '<img class="ct-avatar-img" src="https://secure.gravatar.com/avatar/50dccff77795ed47ea2afe0d67823fbde6e0a6c39d7b6cc3af41a08bd159611d?s=1600&d=identicon" alt="' + esc(p.name) + '" />';
|
||||
} else if (p.name.toLowerCase() === "gavin fox") {
|
||||
avatar = '<img class="ct-avatar-img" src="https://avatars.githubusercontent.com/u/57292172?v=4" alt="' + esc(p.name) + '" />';
|
||||
} else {
|
||||
avatar = '<span class="ct-avatar">' + esc(p.name.charAt(0).toUpperCase()) + "</span>";
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ var SITE_TREE = [
|
||||
title: "Products",
|
||||
items: [
|
||||
{ title: "Home", file: "/products/home.md", path: "/products/home" },
|
||||
{ title: "Vyla Go", file: "/products/go.md", path: "/products/go" },
|
||||
{ title: "Go", file: "/products/go.md", path: "/products/go" },
|
||||
{ title: "TV", file: "/products/tv.md", path: "/products/tv" },
|
||||
{ title: "Player", file: "/products/player.md", path: "/products/player" }
|
||||
]
|
||||
@@ -288,8 +288,8 @@ var THEME_COPY = {
|
||||
};
|
||||
|
||||
var KONAMI = ["ArrowUp", "ArrowUp", "ArrowDown", "ArrowDown", "ArrowLeft", "ArrowRight", "ArrowLeft", "ArrowRight", "b", "a"];
|
||||
var PROJECTS = ["home", "go", "TV", "vyla-sdk", "stream-api"];
|
||||
var PROJECT_LABELS = { home: "Vyla Home", go: "Vyla Go", TV: "Vyla TV", "vyla-sdk": "Vyla SDK", "stream-api": "Stream API" };
|
||||
var PROJECTS = ["home", "go", "TV", "sdk", "stream-api"];
|
||||
var PROJECT_LABELS = { home: "Home", go: "Go", TV: "TV", sdk: "SDK", "stream-api": "Stream API" };
|
||||
|
||||
function resolveTheme(mode) {
|
||||
return mode === "auto" ? "dark" : mode;
|
||||
|
||||
Reference in New Issue
Block a user