Automatically determine latest tags for the docs · JohnnyCrazy/SpotifyAPI-NET@7c33018 · GitHub
Skip to content

Commit 7c33018

Browse files
committed
Automatically determine latest tags for the docs
1 parent 41ef1c3 commit 7c33018

5 files changed

Lines changed: 51 additions & 27 deletions

File tree

SpotifyAPI.Docs/docs.sh

Lines changed: 5 additions & 0 deletions

SpotifyAPI.Docs/docs/getting_started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ There is no online documentation for every available API call, but XML inline do
7777
* [Personalization](https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Clients/Interfaces/IPersonalizationClient.cs)
7878
* [Episodes](https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Clients/Interfaces/IEpisodesClient.cs)
7979
* [Library](https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Clients/Interfaces/ILibraryClient.cs)
80+
* [Audiobooks](https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Clients/Interfaces/IAudiobooksClient.cs)
81+
* [Chapters](https://github.com/JohnnyCrazy/SpotifyAPI-NET/blob/master/SpotifyAPI.Web/Clients/Interfaces/IChaptersClient.cs)
8082

8183
All calls have the [Spotify Web API documentation reference](https://developer.spotify.com/documentation/web-api/reference-beta/) attached as a remark.
8284

SpotifyAPI.Docs/docusaurus.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ module.exports = {
88
favicon: 'img/favicon.ico',
99
organizationName: 'JohnnyCrazy', // Usually your GitHub org/user name.
1010
projectName: 'SpotifyAPI-NET', // Usually your repo name.
11+
customFields: {
12+
LATEST_VERSION: process.env.LATEST_VERSION ?? '?.?.?',
13+
},
1114
themeConfig: {
1215
prism: {
1316
additionalLanguages: ['csharp'],

SpotifyAPI.Docs/pnpm-lock.yaml

Lines changed: 33 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SpotifyAPI.Docs/src/install_instructions.js

Lines changed: 8 additions & 7 deletions

0 commit comments

Comments
 (0)