Skip to content

Commit

Permalink
Update docs for v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucino772 committed May 9, 2021
1 parent 5d618fb commit 8d97049
Show file tree
Hide file tree
Showing 23 changed files with 191 additions and 320 deletions.
8 changes: 0 additions & 8 deletions docs/PyMojang/UserProfile.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/PyMojang/UserSession.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/PyMojang/base.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/PyMojang/exceptions.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/PyMojang/main.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/PyMojang/security.md

This file was deleted.

14 changes: 0 additions & 14 deletions docs/PyMojang/session.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/PyMojang/yggdrasil.md

This file was deleted.

6 changes: 6 additions & 0 deletions docs/account/auth_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

::: mojang.account.auth.yggdrasil
handler: python
rendering:
show_source: false
show_root_toc_entry: false
22 changes: 22 additions & 0 deletions docs/account/auth_connect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Getting a user profile is great, but you can also connect to your account and retrieve usefull information. The [`connect`][mojang.account.ext.session.connect] function is the easy way to doe it.

Both [`connect`][mojang.account.ext.session.connect] and [`UserSession`][mojang.account.ext.session.UserSession] use more low-level functions, you can view them in the following sections: [`Auth API`](account/auth_api.md), [`Security API`](account/auth_security.md) and [`Session API`](account/auth_session.md).


::: mojang.account.ext.session
handler: python
rendering:
show_source: false
show_root_toc_entry: false
selection:
members:
- connect

::: mojang.account.ext.session
handler: python
rendering:
show_source: false
show_root_toc_entry: false
selection:
members:
- UserSession
6 changes: 6 additions & 0 deletions docs/account/auth_security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

::: mojang.account.auth.security
handler: python
rendering:
show_source: false
show_root_toc_entry: false
6 changes: 6 additions & 0 deletions docs/account/auth_session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

::: mojang.account.session
handler: python
rendering:
show_source: false
show_root_toc_entry: false
12 changes: 12 additions & 0 deletions docs/account/retrieve_user_info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

::: mojang.account.base
handler: python
rendering:
show_source: false
show_root_toc_entry: false
selection:
members:
- get_uuid
- get_uuids
- names
- user
87 changes: 0 additions & 87 deletions docs/advanced.md

This file was deleted.

100 changes: 0 additions & 100 deletions docs/basic.md

This file was deleted.

10 changes: 10 additions & 0 deletions docs/check_status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Mojang have multiple APIs, you can check their status by calling the method [`status`][mojang.account.base.status]:

::: mojang.account.base
handler: python
rendering:
show_source: false
show_root_toc_entry: false
selection:
members:
- status
19 changes: 17 additions & 2 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
li.toctree-l3:first-child {
display: none;
code, .rst-content tt, .rst-content code {
white-space: pre;
}

.md-typeset__table {
min-width: 100%;
}

.md-typeset table:not([class]) {
display: table;
}

/* Indentation. */
div.doc-contents:not(.first) {
padding-left: 25px;
border-left: 4px solid rgba(230, 230, 230);
margin-bottom: 80px;
}

0 comments on commit 8d97049

Please sign in to comment.