From 5fe76a4fd9e381ec89294733292ed07be0efc9fd Mon Sep 17 00:00:00 2001 From: Janne Koschinski <janne@kuschku.de> Date: Mon, 17 Dec 2018 15:21:48 +0100 Subject: [PATCH] Removed placeholder content --- docs/index.md | 61 +-------------------------------------------------- 1 file changed, 1 insertion(+), 60 deletions(-) diff --git a/docs/index.md b/docs/index.md index e00c433..59f3cd3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,63 +3,4 @@ Welcome to the Quasseldroid documentation! !!! danger - The documentation is still being worked on, currently all content is placeholder content. - - -## Examples - -### Text example - -This is an example for a normal text. - -### Code example - -```kotlin -package de.kuschku.libquassel.util.irc - -object HostmaskHelper { - fun nick(mask: String): String { - val (nick, _, _) = split(mask) - return nick - } - - fun user(mask: String): String { - val (_, user, _) = split(mask) - return user - } - - fun host(mask: String): String { - val (_, _, host) = split(mask) - return host - } - - fun split(mask: String): Triple<String, String, String> { - val userPartHostSplit = mask.split("@", limit = 2) - if (userPartHostSplit.size < 2) - return Triple(mask, "", "") - - val (userPart, host) = userPartHostSplit - - val nickUserSplit = userPart.split('!', limit = 2) - if (nickUserSplit.size < 2) - return Triple(mask, "", host) - - val (nick, user) = nickUserSplit - return Triple(nick, user, host) - } -} -``` - -### Inline Code Example - -This is inline `#!js var test=0;` code highlighting. - -### Formula Example - -$$ -Y = \lambda f.(\lambda x.f(x x)) (\lambda x.f (x x)) -$$ - -### Inline Formula Example - -This is the y combinator $Y = \lambda f.(\lambda x.f(x x)) (\lambda x.f (x x))$. \ No newline at end of file + The documentation is still being worked on. \ No newline at end of file -- GitLab