Update documentation and remove redirect script
This commit is contained in:
@@ -3,6 +3,12 @@ title: Hytale Plugin Documentation
|
|||||||
layout: hextra-home
|
layout: hextra-home
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="hx-mt-6 hx-mb-12"> </div>
|
||||||
|
{{< hextra/hero-headline >}}
|
||||||
|
## ⚠️ Please note that documentation is currently not maintained! If you wish to contribute, please open a ticket on our discord so that an account on this gitea can be created for you.
|
||||||
|
{{< /hextra/hero-headline >}}
|
||||||
|
<div class="hx-mt-6 hx-mb-12"> </div>
|
||||||
|
|
||||||
{{< hextra/hero-badge >}}
|
{{< hextra/hero-badge >}}
|
||||||
<span>Hytale Server API</span>
|
<span>Hytale Server API</span>
|
||||||
{{< /hextra/hero-badge >}}
|
{{< /hextra/hero-badge >}}
|
||||||
|
|||||||
@@ -3,6 +3,12 @@ title: Documentation des Plugins Hytale
|
|||||||
layout: hextra-home
|
layout: hextra-home
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="hx-mt-6 hx-mb-12"> </div>
|
||||||
|
{{< hextra/hero-headline >}}
|
||||||
|
## ⚠️ Veuillez noter que la documentation n'est actuellement pas mise à jour ! Si vous souhaitez contribuer, veuillez ouvrir un ticket sur notre Discord afin qu'un compte sur ce gitea puisse être créé pour vous.
|
||||||
|
{{< /hextra/hero-headline >}}
|
||||||
|
<div class="hx-mt-6 hx-mb-12"> </div>
|
||||||
|
|
||||||
{{< hextra/hero-badge >}}
|
{{< hextra/hero-badge >}}
|
||||||
<span>API Serveur Hytale</span>
|
<span>API Serveur Hytale</span>
|
||||||
{{< /hextra/hero-badge >}}
|
{{< /hextra/hero-badge >}}
|
||||||
|
|||||||
@@ -1,21 +0,0 @@
|
|||||||
---
|
|
||||||
title: "Redirecting..."
|
|
||||||
layout: "redirect"
|
|
||||||
---
|
|
||||||
|
|
||||||
<script>
|
|
||||||
(function() {
|
|
||||||
var supportedLangs = ['en', 'fr'];
|
|
||||||
var defaultLang = 'en';
|
|
||||||
var userLang = navigator.language || navigator.userLanguage;
|
|
||||||
var langCode = userLang.split('-')[0].toLowerCase();
|
|
||||||
var targetLang = supportedLangs.includes(langCode) ? langCode : defaultLang;
|
|
||||||
window.location.replace('/' + targetLang + '/');
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<noscript>
|
|
||||||
<meta http-equiv="refresh" content="0; url=/en/">
|
|
||||||
</noscript>
|
|
||||||
|
|
||||||
<p>Redirecting... <a href="/en/">English</a> | <a href="/fr/">Français</a></p>
|
|
||||||
@@ -3,7 +3,7 @@ title = 'Hytale Plugin Documentation'
|
|||||||
theme = 'hextra'
|
theme = 'hextra'
|
||||||
buildFuture = true
|
buildFuture = true
|
||||||
defaultContentLanguage = 'en'
|
defaultContentLanguage = 'en'
|
||||||
defaultContentLanguageInSubdir = true
|
defaultContentLanguageInSubdir = false
|
||||||
disableAliases = true
|
disableAliases = true
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
|||||||
Reference in New Issue
Block a user