From de00245dfaa8aa0084798366cefc2915139e7049 Mon Sep 17 00:00:00 2001 From: hydrabolt Date: Thu, 19 Nov 2015 18:07:16 +0000 Subject: [PATCH] Updated docs --- docs/docs_client.rst | 4 ++++ docs/index.rst | 23 ++--------------------- docs/vars.rst | 19 +------------------ 3 files changed, 7 insertions(+), 39 deletions(-) create mode 100644 docs/docs_client.rst diff --git a/docs/docs_client.rst b/docs/docs_client.rst new file mode 100644 index 000000000..172da247c --- /dev/null +++ b/docs/docs_client.rst @@ -0,0 +1,4 @@ +.. include:: ./vars.rst + +Client +====== \ No newline at end of file diff --git a/docs/index.rst b/docs/index.rst index 6f8842c65..751cc8641 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -2,6 +2,8 @@ sphinx-quickstart on Fri Sep 25 17:25:49 2015. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. + +.. include:: ./vars.rst Welcome to discord.js's documentation! ====================================== @@ -14,16 +16,6 @@ Feel free to make any contributions you want, whether it be through creating an .. note:: This documentation is still a work-in-progress, apologies if something isn't yet documented! Contents: - -.. _general-docs: - -.. toctree:: - :maxdepth: 2 - :caption: General - - get_started - troubleshooting - create_simple_bot .. _docs: @@ -31,18 +23,7 @@ Contents: :maxdepth: 2 :caption: Documentation - docs_module - docs_resolvable docs_client - docs_user - docs_member - docs_server - docs_channel - docs_pmchannel - docs_message - docs_invite - docs_permissions - docs_embed Indices and tables diff --git a/docs/vars.rst b/docs/vars.rst index 1e3ed4dc4..8540edfad 100644 --- a/docs/vars.rst +++ b/docs/vars.rst @@ -1,19 +1,2 @@ .. _Client : ./docs_client.html -.. _User : ./docs_user.html -.. _ready : #ready -.. _Server : ./docs_server.html -.. _Channel : ./docs_channel.html -.. _Message : ./docs_message.html -.. _PMChannel : ./docs_pmchannel.html -.. _Invite : ./docs_invite.html -.. _Channel Resolvable : ./docs_resolvable.html#channel-resolvable -.. _Server Resolvable : ./docs_resolvable.html#channel-resolvable -.. _Invite Resolvable : ./docs_resolvable.html#invite-resolvable -.. _Promises : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise -.. _ServerPermissions : ./docs_permissions.html#id1 -.. _Roles : ./docs_permissions.html#id1 -.. _ChannelPermissions : ./docs_permissions.html#id3 -.. _EvaluatedPermissions : ./docs_permissions.html#id6 -.. _Member : ./docs_member.html -.. _Colors : ./docs_module.html#discord-colors -.. _Embed : ./docs_embed.html \ No newline at end of file +.. _Promises : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise \ No newline at end of file