Merge branch 'master' of github.com:crafatar/crafatar

This commit is contained in:
Jake 2015-02-07 20:41:28 -06:00
commit 4df7e9e566
2 changed files with 34 additions and 33 deletions

View File

@ -6,25 +6,25 @@ block content
h1 Crafatar h1 Crafatar
p A blazing fast API for Minecraft faces! p A blazing fast API for Minecraft faces!
.avatar-wrapper .avatar-wrapper
.avatar.jomo .avatar.jomo(title="jomo's avatar")
.avatar.jake0oo0 .avatar.jake0oo0(title="jake0oo0's avatar")
.avatar.sk89q .avatar.sk89q(title="sk89q's avatar")
.avatar.md_5 .avatar.md_5(title="md_5's avatar")
.avatar.notch .avatar.notch(title="notch's avatar")
.avatar.jeb .avatar.jeb(title="jeb's avatar")
.avatar.dinnerbone.flipped .avatar.dinnerbone.flipped(title="dinnerbone's avatar")
.avatar.ez .avatar.ez(title="ez's avatar")
.avatar.grumm.flipped .avatar.grumm.flipped(title="grumm's avatar")
.avatar.themogmimer .avatar.themogmimer(title="themogmimer's avatar")
.avatar.searge .avatar.searge(title="searge's avatar")
.avatar.xlson .avatar.xlson(title="xlson's avatar")
.avatar.krisjelbring .avatar.krisjelbring(title="krisjelbring's avatar")
.avatar.minecraftchick .avatar.minecraftchick(title="minecraftchick's avatar")
.avatar.kappe .avatar.kappe(title="kappe's avatar")
.avatar.marc .avatar.marc(title="marc's avatar")
.avatar.mollstam .avatar.mollstam(title="mollstam's avatar")
.avatar.evilseph .avatar.evilseph(title="evilseph's avatar")
.avatar.thinkofdeath .avatar.thinkofdeath(title="thinkofdeath's avatar")
.container .container
section(id="documentation") section(id="documentation")
@ -35,11 +35,11 @@ block content
a(href="#avatars") a(href="#avatars")
h3 Avatars h3 Avatars
| Replace | Replace
mark.green id mark.green userid
| with a Mojang <b>UUID</b> or <b>username</b> to get the related head. All images are PNGs. | with a Mojang <b>UUID</b> or <b>username</b> to get the related head. All images are PNGs.
.code .code
| #{domain}/avatars/ | #{domain}/avatars/
mark.green id mark.green userid
section section
a(id="avatar-parameters" class="anchor") a(id="avatar-parameters" class="anchor")
@ -65,7 +65,7 @@ block content
| The standard value is calculated based on the UUID (even = alex, odd = steve).<br> | The standard value is calculated based on the UUID (even = alex, odd = steve).<br>
| Usernames always default to steve. | Usernames always default to steve.
td td
| The image to be served when the id has no skin (404).<br> | The image to be served when the userid has no skin (404).<br>
| Valid options are | Valid options are
a(href="/avatars/0?default=steve") steve a(href="/avatars/0?default=steve") steve
| , | ,
@ -114,16 +114,16 @@ block content
| Crafatar also provides support for 3D renders of Minecraft skins.<br> | Crafatar also provides support for 3D renders of Minecraft skins.<br>
| Please note that <b>this feature is currently beta</b>!<br> | Please note that <b>this feature is currently beta</b>!<br>
| Replace | Replace
mark.green id mark.green userid
| with a Mojang <b>UUID</b> or <b>username</b> to get a render of the skin. | with a Mojang <b>UUID</b> or <b>username</b> to get a render of the skin.
| The <b>head</b> render type returns a render of the skin's head. | The <b>head</b> render type returns a render of the skin's head.
span.code span.code
| #{domain}/renders/head/ | #{domain}/renders/head/
mark.green id mark.green userid
| The <b>body</b> render returns a render of the entire skin. | The <b>body</b> render returns a render of the entire skin.
span.code span.code
| #{domain}/renders/body/ | #{domain}/renders/body/
mark.green id mark.green userid
section section
a(id="render-parameters" class="anchor") a(id="render-parameters" class="anchor")
@ -171,13 +171,13 @@ block content
p p
| You can also get the full skin file of a player.<br> | You can also get the full skin file of a player.<br>
| Replace | Replace
mark.green id mark.green userid
| with a Mojang <b>UUID</b> or <b>username</b> to get the related skin.<br> | with a Mojang <b>UUID</b> or <b>username</b> to get the related skin.<br>
| The user's skin is returned, or the default image is served.<br> | The user's skin is returned, or the default image is served.<br>
| You can use the default parameter here as well. | You can use the default parameter here as well.
span.code span.code
| #{domain}/skins/ | #{domain}/skins/
mark.green id mark.green userid
section section
a(id="skin-parameters" class="anchor") a(id="skin-parameters" class="anchor")
@ -198,7 +198,7 @@ block content
| The standard value is calculated based on the UUID (even = alex, odd = steve).<br> | The standard value is calculated based on the UUID (even = alex, odd = steve).<br>
| Usernames always default to steve. | Usernames always default to steve.
td td
| The image to be served when the id has no skin (404).<br> | The image to be served when the userid has no skin (404).<br>
| Valid options are | Valid options are
a(href="/skins/0?default=steve") steve a(href="/skins/0?default=steve") steve
| , | ,
@ -227,12 +227,12 @@ block content
p p
| A cape endpoint is also available to get the active cape of a user.<br> | A cape endpoint is also available to get the active cape of a user.<br>
| Replace | Replace
mark.green id mark.green userid
| with a Mojang <b>UUID</b> or <b>username</b> to get the related cape.<br> | with a Mojang <b>UUID</b> or <b>username</b> to get the related cape.<br>
| The user's cape is returned, otherwise a 404 is thrown.<br> | The user's cape is returned, otherwise a 404 is thrown.<br>
.code .code
| #{domain}/skins/ | #{domain}/skins/
mark.green id mark.green userid
section section
a(id="cape-examples", class="anchor") a(id="cape-examples", class="anchor")
@ -322,8 +322,9 @@ block content
a(href="#contact") a(href="#contact")
h2 Contact h2 Contact
ul ul
li You can follow us on twitter <a href="https://twitter.com/crafatar">@crafatar</a> li Follow us on twitter <a href="https://twitter.com/crafatar" target="_blank">@crafatar</a>
li You can <a href="https://webchat.esper.net/?channels=crafatar">join us</a> in #crafatar on irc.esper.net li Open an issue <a href="https://github.com/crafatar/crafatar/issues" target="_blank">on GitHub</a>
li <a href="https://webchat.esper.net/?channels=crafatar" target="_blank">Join us</a> in #crafatar on irc.esper.net
footer footer
hr hr

View File

@ -17,5 +17,5 @@ html
.navbar-header .navbar-header
a.navbar-brand(href="/") Crafatar a.navbar-brand(href="/") Crafatar
.navbar-header .navbar-header
a.navbar-brand.twitter(href="https://twitter.com/Crafatar", target="_blank") crafatar a.navbar-brand.twitter(href="https://twitter.com/Crafatar", target="_blank") @crafatar
block content block content