diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fa90ce9e8..2ff09f741 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,105 +1,105 @@ name: "Documentation" on: push: - branches: [ main, hacktober/main ] + branches: [ main ] workflow_dispatch: env: DOTNET_NOLOGO: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_CLI_TELEMETRY_OPTOUT: true jobs: build: runs-on: ubuntu-latest name: Build documentation steps: - name: Checkout repository uses: actions/checkout@v3 with: path: DisCatSharp - name: Setup .NET uses: actions/setup-dotnet@v3.0.3 with: dotnet-version: 6.0.400 - name: Restore packages working-directory: DisCatSharp run: dotnet restore - name: Build library working-directory: DisCatSharp run: dotnet build -c Release - name: Test library working-directory: DisCatSharp run: dotnet test -c Release continue-on-error: true - name: Build Docs working-directory: DisCatSharp shell: pwsh run: ./rebuild-docs.ps1 -DocsPath "./DisCatSharp.Docs" -Output ".." -PackageName "dcs-docs" - name: Upload packed docs uses: actions/upload-artifact@v3 with: name: dcs-docs.zip path: dcs-docs.zip retention-days: 30 documentation: runs-on: windows-latest name: Upload documentation needs: build steps: - name: Checkout docs repository uses: actions/checkout@v3 with: repository: Aiko-IT-Systems/DisCatSharp.Docs path: DisCatSharp.Docs token: ${{ secrets.NYUW_TOKEN_GH }} - name: Download packed docs uses: actions/download-artifact@v3 with: name: dcs-docs.zip - name: Purge old docs working-directory: DisCatSharp.Docs shell: pwsh run: Get-ChildItem -Exclude .git*,.htaccess | Remove-Item -Recurse -Force - name: Extract new docs shell: pwsh run: Expand-Archive -Path dcs-docs.zip DisCatSharp.Docs/ #- name: Delete packed docs # uses: geekyeggo/delete-artifact@v2 # with: # name: dcs-docs.zip - name: Commit and push changes uses: EndBug/add-and-commit@main with: cwd: DisCatSharp.Docs default_author: user_info author_name: DisCatSharp author_email: team@aitsys.dev committer_name: NyuwBot committer_email: nyuw@aitsys.dev commit: --signoff message: 'Docs update for commit ${{ github.repository }} (${{ github.sha }})' publish-main: runs-on: ubuntu-latest name: Publish documentation on main server needs: documentation steps: - name: Get SSH Agent uses: webfactory/ssh-agent@v0.7.0 with: ssh-private-key: ${{ secrets.AITSYS_SSH }} - name: Publish on server continue-on-error: true run: ssh -o StrictHostKeyChecking=no -T root@80.153.182.68 -f 'cd /var/www/dcs.aitsys.dev/docs && git pull -f && service apache2 restart' publish-backup: runs-on: ubuntu-latest name: Publish documentation on backup server needs: documentation steps: - name: Get SSH Agent uses: webfactory/ssh-agent@v0.7.0 with: ssh-private-key: ${{ secrets.AITSYS_SSH }} - name: Publish on server continue-on-error: true run: ssh -o StrictHostKeyChecking=no -T root@207.180.240.241 -f 'cd /var/www/dcsdocs && git pull -f && service apache2 restart' diff --git a/DisCatSharp.Docs/changelogs/toc.yml b/DisCatSharp.Docs/changelogs/toc.yml index e8b04cc88..4f12276cc 100644 --- a/DisCatSharp.Docs/changelogs/toc.yml +++ b/DisCatSharp.Docs/changelogs/toc.yml @@ -1,24 +1,26 @@ - name: Changelog Intro href: index.md - name: Changelogs items: - name: Version 10.X items: + - name: Version 10.3.0 + href: v10/10.3.0.md - name: Version 10.2.0 href: v10/10_2_0.md - name: Version 10.1.0 href: v10/10_1_0.md - name: Version 10.0.0 href: v10/10_0_0.md - name: Version 9.X items: - name: Version 9.9.0 href: v9/9_9_0.md - name: Version 9.8.5 href: v9/9_8_5.md - name: Version 9.8.4 href: v9/9_8_4.md - name: Version 9.8.3 href: v9/9_8_3.md - name: Version 9.8.2 href: v9/9_8_2.md diff --git a/DisCatSharp.Docs/changelogs/v10/10_3_0.md b/DisCatSharp.Docs/changelogs/v10/10_3_0.md new file mode 100644 index 000000000..392248d51 --- /dev/null +++ b/DisCatSharp.Docs/changelogs/v10/10_3_0.md @@ -0,0 +1,6 @@ +--- +uid: changelogs_v10_10_3_0 +title: Version 10.3.0 +--- + +# Upgrade from **10.2.0** to **10.3.0** diff --git a/DisCatSharp.Docs/index.md b/DisCatSharp.Docs/index.md index dde76c08a..aa4842e4a 100644 --- a/DisCatSharp.Docs/index.md +++ b/DisCatSharp.Docs/index.md @@ -1,54 +1,54 @@ --- uid: index -title: DisCatSharp 10.2.0 Documentation +title: DisCatSharp 10.3.0 Documentation ---

DisCatSharp ![Stable](https://img.shields.io/nuget/v/DisCatSharp?color=%23ebb34b&label=Stable&style=flat-square&logo=nuget) ![Nightly](https://img.shields.io/nuget/vpre/DisCatSharp?color=%23ff1493&label=Nightly&style=flat-square&logo=nuget)

![DisCatSharp Logo](/logobig.png "DisCatSharp Documentation")

-## DisCatSharp 10.2.0 Documentation +## DisCatSharp 10.3.0 Documentation [DisCatSharp](https://github.com/Aiko-IT-Systems/DisCatSharp) (DCS) is an .NET wrapper for the [Discord API](https://discord.com/developers/docs/intro "Discord API") based off DSharpPlus.
The library has been rewritten to fit quality and API standards. Furthermore this lib includes many new features of Discord and is pretty fast with keeping up with Discords API. ## Why DisCatSharp? If you: - want a library where you get kind and efficient help - would like to have and use the most recent features of the Discord API - are ready to build great things Then this is the right place for you! ## Getting Started New users probably want to take a look into the [articles](xref:preamble) for quick start guides, tutorials, and examples of use.
Once you've gotten through the articles, head over to the [API Documentation](/api/index.html) for all classes and methods provided by this library. ## Source and Contributors DisCatSharp is licensed under MIT License, as detailed in the [license](https://github.com/Aiko-IT-Systems/DisCatSharp/blob/main/LICENSE.md) found in the repository.
The repository containing the source code for this library can be found [here](https://github.com/Aiko-IT-Systems/DisCatSharp). Contributions are welcomed.
### Sponsors [![Sponsors](https://img.shields.io/github/sponsors/Aiko-IT-Systems?label=&style=flat-square&logo=github)](https://github.com/sponsors/Aiko-IT-Systems) / [![Sponsors](https://img.shields.io/github/sponsors/Lulalaby?label=&style=flat-square&logo=github)](https://github.com/sponsors/Lulalaby) - [Deividas Kazakevicius](https://github.com/DeividasKaza) - [Will](https://github.com/villChurch) ### Hacktober Participants The following users participated in Hacktoberfest 2022 and contributed to DisCatSharp: - [Mira](https://github.com/TheXorog) - [Sh1be](https://github.com/xMaxximum) - [Lulalaby](https://github.com/Lulalaby) - [Badger](https://github.com/JBraunsmaJr) ### Thanks Big thanks goes to the following people who helped us without being part of the core team ♥️ - [Auros Nexus](https://github.com/Auros) - [Lunar Starstrum](https://github.com/OoLunar) - [Geferon](https://github.com/geferon) - [Alice](https://github.com/QuantuChi) - [Will](https://github.com/villChurch) ### Special Thanks The special thanks goes to Nagisa. Make sure to check out her [Instagram](https://www.instagram.com/nagisaarts_/) ♥️♥️ diff --git a/Version.targets b/Version.targets index 94e7c7c05..f2af92ff3 100644 --- a/Version.targets +++ b/Version.targets @@ -1,21 +1,21 @@ - 10.2.0 + 10.3.0 $(VersionPrefix)-$(VersionSuffix)-$(BuildNumber) $(VersionPrefix).$(BuildNumber) $(VersionPrefix).$(BuildNumber) $(VersionPrefix)-$(VersionSuffix) $(VersionPrefix).0 $(VersionPrefix).0 $(VersionPrefix) $(VersionPrefix).0 $(VersionPrefix).0