Skip to content

Commit

Permalink
fix SEO for html
Browse files Browse the repository at this point in the history
  • Loading branch information
lyie28 committed Nov 10, 2023
1 parent 123861b commit f92e193
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/generate_api_reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ pdoc --html --skip-errors --template-dir docs/pdoc_template -o docs/ client/blin
sed -i '/<p>Generated by <a href="https:\/\/pdoc3.github.io\/pdoc" title="pdoc: Python API documentation generator"><cite>pdoc<\/cite> 0.10.0<\/a>.<\/p>/d' docs/blindai/*.html

# Add meta description tags to specific HTML files
sed -i '/<head>/a <meta name="description" content="Explore blindai.api for Whisper-based audio-text transcription in Python, with Trusted Execution Environment support.">' docs/blindai/api.html
sed -i '/<head>/a <meta name="description" content="Use blindai.audio for Whisper-powered audio-text conversion, ensure security with Trusted Execution Environments.">' docs/blindai/audio.html
sed -i '/<head>/a <meta name="description" content="Use blindai.client for secure AI server connections, model uploads, and inferences. Boost data security with Python client module.">' docs/blindai/client.html
sed -i '/<head>/a <meta name="description" content="Dive into blindai.core: Secure server connections, attestation, and privacy-focused features in the BlindAI core module.">' docs/blindai/core.html
sed -i '/<head>/a <meta name="description" content="Uncover blindai.package: AI privacy, audio processing, secure connections, and more in a robust Python toolkit.">' docs/blindai/index.html
sed -i '/<head>/a <meta name="description" content="Master blindai.testing: Start mock servers, validate AI solutions, and improve performance with BlindAI testing tools.">' docs/blindai/testing.html
sed -i '/<head>/a <meta name="description" content="Use blindai.utils for utility functions like certificate conversion and Whisper Tiny 20 tokens. Streamline AI workflows.">' docs/blindai/utils.html
rm docs/blindai/api.html

sed -i '/<head>/a <meta name="description" content="Use the blindai.audio class for Whisper-powered audio-text conversion, ensure security with Trusted Execution Environments.">' docs/blindai/audio.html
sed -i '/<head>/a <meta name="description" content="Use the blindai.client class for secure AI server connections, model uploads, and inferences. Boost data security with Python client module.">' docs/blindai/client.html
sed -i '/<head>/a <meta name="description" content="Dive into the blindai.core class: Secure server connections, attestation, and privacy-focused features in the BlindAI core module.">' docs/blindai/core.html
sed -i '/<head>/a <meta name="description" content="Explore the BlindAI package: AI privacy, audio processing, secure connections, and more in a robust Python toolkit.">' docs/blindai/index.html
sed -i '/<head>/a <meta name="description" content="Master the blindai.testing class: Start mock servers, validate AI solutions, and improve performance with BlindAI testing tools.">' docs/blindai/testing.html
sed -i '/<head>/a <meta name="description" content="Use the blindai.utils class for utility functions like certificate conversion and Whisper Tiny 20 tokens. Streamline AI workflows.">' docs/blindai/utils.html

0 comments on commit f92e193

Please sign in to comment.