Restructure documentation layout

This commit is contained in:
Christopher F
2017-04-03 16:36:26 -04:00
parent b4c3427ed1
commit 5ade1e387b
41 changed files with 22 additions and 33 deletions

View File

@@ -25,6 +25,7 @@ Style consistencies:
* Use a ruler set at 70 characters
* Links should use long syntax
* Pages should be short and concise, not broad and long
Example of long link syntax:

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 117 KiB

After

Width:  |  Height:  |  Size: 117 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 51 KiB

View File

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

View File

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -1,17 +1,18 @@
- name: Installing
href: installing.md
- name: Getting Started
href: intro.md
- name: Terminology
href: terminology.md
- name: Logging
href: logging.md
- name: Commands
href: commands.md
items:
- name: Installation
href: getting_started/installing.md
- name: Your First Bot
href: getting_started/intro.md
- name: Terminology
href: getting_started/terminology.md
- name: Basic Concepts
items:
- name: Logging Data
href: concepts/logging.md
- name: Working with Events
href: concepts/events.md
- name: Entities
- name: The Command Service
- name: Voice
href: voice.md
- name: Events
href: events.md
- name: Code Samples
href: samples.md
- name: Migrating from 0.9

View File

@@ -1,24 +1,13 @@
# Voice
---
title: Sending Voice
---
**Information on this page is subject to change!**
>[!WARNING]
>Audio in 1.0 is incomplete. Most of the below documentation is untested.
>Audio in 1.0 is in progress
## Installation
To use Audio, you must first configure your [DiscordSocketClient]
with Audio support.
In your [DiscordSocketConfig], set `AudioMode` to the appropriate
[AudioMode] for your bot. For most bots, you will only need to use
`AudioMode.Outgoing`.
[DiscordSocketClient]: xref:Discord.WebSocket.DiscordSocketClient
[DiscordSocketConfig]: xref:Discord.WebSocket.DiscordSocketConfig
[AudioMode]: xref:Discord.Audio.AudioMode
### Dependencies
## Installing
Audio requires two native libraries, `libsodium` and `opus`.
Both of these libraries must be placed in the runtime directory of your

View File

@@ -1,8 +1,6 @@
- name: Guides
href: guides/
- name: Migrating
href: migrating.md
- name: API Documentation
href: api/
homepage: api/index.md