Improve and modernize docs. (#2882)

* Add proper home landing page.

* Improve landing page considerably.

* Add navbar library name.

* Fix css rules.

* Update getting started images.

* Change favicon to the navbar's logo.

* Tiny change to docs index.

* Add title to home landing page.

* Tweak build overrides faq page.

* Fix FAQ article titles and headers.

* Fix FAQ article titles and headers.

* Replace channel 9 with the official .net course.
This commit is contained in:
Nora
2024-03-18 18:39:43 +01:00
committed by GitHub
parent 03402cd4d2
commit 473b13e75f
22 changed files with 56 additions and 74 deletions

View File

@@ -1,21 +1,20 @@
---
uid: Root.Landing
uid: Home.Landing
title: Home
_layout: landing
---
# Discord.NET Documentation
![logo](marketing/logo/SVG/Combinationmark%20White%20Border.svg)
[![GitHub](https://img.shields.io/github/last-commit/discord-net/Discord.Net?style=plastic)](https://github.com/discord-net/Discord.Net)
[![NuGet](https://img.shields.io/nuget/vpre/Discord.Net.svg?maxAge=2592000?style=plastic)](https://www.nuget.org/packages/Discord.Net)
[![GitHub](https://img.shields.io/github/last-commit/discord-net/Discord.Net)](https://github.com/discord-net/Discord.Net)
[![NuGet](https://img.shields.io/nuget/vpre/Discord.Net.svg?maxAge=2592000)](https://www.nuget.org/packages/Discord.Net)
[![MyGet](https://img.shields.io/myget/discord-net/vpre/Discord.Net.svg)](https://www.myget.org/feed/Packages/discord-net)
[![Build Status](https://dev.azure.com/discord-net/Discord.Net/_apis/build/status/discord-net.Discord.Net?branchName=dev)](https://dev.azure.com/discord-net/Discord.Net/_build/latest?definitionId=1&branchName=dev)
[![Discord](https://discord.com/api/guilds/848176216011046962/widget.png)](https://discord.gg/dnet)
## What is Discord.NET?
Discord.Net is an asynchronous, multi-platform .NET Library used to
Discord.Net is an unofficial asynchronous, multi-platform .NET library used to
interface with the [Discord API](https://discord.com/).
## Where to begin?
@@ -32,7 +31,13 @@ objects in the library.
## Nightlies
Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released.
They are available through Discord.NET's [MyGet feed](https://www.myget.org/F/discord-net/api/v3/index.json).
They are available through 3 different sources:
- [MyGet](https://www.myget.org/F/discord-net/api/v3/index.json)
- [BaGet](https://baget.discordnet.dev/)
- [GitHub Packages](https://github.com/orgs/discord-net/packages?repo_name=Discord.Net)
> [!NOTE]
> GitHub Packages requires authentication. You can find more information [here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages).
## Questions?
@@ -45,40 +50,8 @@ If you still have unanswered questions after reading the [FAQ](xref:FAQ.Basics.G
## Supporting Discord.Net
Discord.Net is an MIT-licensed open source project with its development made possible entirely by volunteers.
If you'd like to support our efforts financially, please consider:
If you'd like to support our efforts financially, please consider contributing on:
- [Contributing on Open Collective](https://opencollective.com/discordnet).
## New in V3
#### Interaction Framework
A counterpart to the well-known command service of Discord.Net, the Interaction Framework implements the same
feature-rich structure to register & handle interactions like application commands & buttons.
- Read about the Interaction Framework
[here](xref:Guides.IntFw.Intro)
#### Slash Commands
Slash commands are purposed to take over the normal prefixed commands in Discord and comes with good functionality to serve as a replacement.
Being interactions, they are handled as SocketInteractions. Creating and receiving slash commands is covered below.
- Find out more about slash commands in the
[Slash Command Guides](xref:Guides.SlashCommands.Intro)
#### Context Message & User Commands
These commands can be pointed at messages and users, in custom application tabs.
Being interactions as well, they are able to be handled just like slash commands. They do not have options however.
- Learn how to create and handle these commands in the
[Context Command Guides](xref:Guides.ContextCommands.Creating)
#### Message Components
Components of a message such as buttons and dropdowns, which can be interacted with and responded to.
Message components can be set in rows and multiple can exist on a single message!
- Explanation on how to add & respond to message components can be found in the
[Message Component Guides](xref:Guides.MessageComponents.Intro)
- [Open Collective](https://opencollective.com/discordnet)
- [GitHub Sponsors](https://github.com/sponsors/quinchs)
- [PayPal](https://paypal.me/quinchs)