Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions .github/workflows/tts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,9 @@ jobs:
S3_PUBLIC_URL: ${{ vars.S3_PUBLIC_URL }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}

- name: Cleanup Orphaned Audio
run: npx speak-mintlify@latest cleanup .
env:
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_PUBLIC_URL: ${{ vars.S3_PUBLIC_URL }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: 'chore: update TTS audio'
title: 'chore: update TTS Audio'
body: 'Auto-generated TTS audio for updated documentation'
branch: chore/tts-updates
delete-branch: true
token: ${{ secrets.BOT_TOKEN }}
author: ${{ vars.BOT_NAME }} <${{ vars.BOT_EMAIL }}>
committer: ${{ vars.BOT_NAME }} <${{ vars.BOT_EMAIL }}>
# NOTE: the former "Cleanup Orphaned Audio" and "Create Pull Request"
# steps were removed. Pages now use the runtime page= form
# (<AudioTranscript page="..." />): the cleanup command cannot see those
# references and would delete live audio, and there is no MDX change to
# open a PR for. `generate` still uploads the audio to R2, which is all
# the page= form needs.
36 changes: 3 additions & 33 deletions contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,9 @@
---
import { AudioTranscript } from '/snippets/audio-transcript.jsx';

{/* speak-mintlify-hash: cdb589f221b74134788267368baaa9b7d15416a5af87eebf7141010c7ed8320f */}
<AudioTranscript voices={[
{
"id": "8ef4a238714b45718ce04243307c57a7",
"name": "E-girl",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/8ef4a238714b45718ce04243307c57a7.mp3"
},
{
"id": "802e3bc2b27e49c2995d23ef70e6ac89",
"name": "Energetic Male",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/802e3bc2b27e49c2995d23ef70e6ac89.mp3"
},
{
"id": "933563129e564b19a115bedd57b7406a",
"name": "Sarah",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/933563129e564b19a115bedd57b7406a.mp3"
},
{
"id": "bf322df2096a46f18c579d0baa36f41d",
"name": "Adrian",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/bf322df2096a46f18c579d0baa36f41d.mp3"
},
{
"id": "b347db033a6549378b48d00acb0d06cd",
"name": "Selene",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/b347db033a6549378b48d00acb0d06cd.mp3"
},
{
"id": "536d3a5e000945adb7038665781a4aca",
"name": "Ethan",
"url": "https://pub-b995142090474379a930b856ab79b4d4.r2.dev/audio/contributing/536d3a5e000945adb7038665781a4aca.mp3"
}
]} />
<Visibility for="humans">
<AudioTranscript page="contributing" />
</Visibility>


# Contributing to Fish Audio
Expand All @@ -50,7 +20,7 @@
If you like the project but don't have time to contribute, there are other easy ways to support Fish Audio:
- Star our repositories
- Tweet about it
- Reference Fish Audio in your project's readme

Check warning on line 23 in contributing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

contributing.mdx#L23

Did you really mean 'readme'?
- Mention the project at local meetups and tell your friends/colleagues
</Note>

Expand Down Expand Up @@ -91,7 +61,7 @@
- Check if there is already a bug report for your issue in the bug tracker
- Search the internet (including Stack Overflow) to see if others have discussed the issue
- Collect information about the bug:
- Stack trace (Traceback)

Check warning on line 64 in contributing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

contributing.mdx#L64

Did you really mean 'Traceback'?
- OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
- Version of the interpreter, compiler, SDK, runtime environment, package manager
- Your input and the output
Expand Down Expand Up @@ -145,7 +115,7 @@
1. **Fork the repository** you want to contribute to
2. **Clone your fork** locally
3. **Create a new branch** for your changes
4. **Make your changes** following our styleguides

Check warning on line 118 in contributing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

contributing.mdx#L118

Did you really mean 'styleguides'?
5. **Test your changes** thoroughly
6. **Commit your changes** with clear commit messages
7. **Push to your fork** and submit a pull request
Expand All @@ -166,7 +136,7 @@

See our [documentation repository](https://github.com/fishaudio/fish-docs) to get started.

## Styleguides

Check warning on line 139 in contributing.mdx

View check run for this annotation

Mintlify / Mintlify Validation (hanabiaiinc) - vale-spellcheck

contributing.mdx#L139

Did you really mean 'Styleguides'?

### Commit Messages

Expand Down
Loading