Add <abbr> tooltip tags to first occurrence of abbreviations in docs#695
Add <abbr> tooltip tags to first occurrence of abbreviations in docs#695
<abbr> tooltip tags to first occurrence of abbreviations in docs#695Conversation
…DAG) Agent-Logs-Url: https://github.com/microsoft/aspire.dev/sessions/98918102-f96a-4c97-9946-3b20dd355e27 Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
…x plural Protocols Agent-Logs-Url: https://github.com/microsoft/aspire.dev/sessions/98918102-f96a-4c97-9946-3b20dd355e27 Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
|
Hey @copilot, could you please update this PR so that you only add the |
Agent-Logs-Url: https://github.com/microsoft/aspire.dev/sessions/08d2a005-6c2b-480c-97de-dc9d92e61bf3 Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Done in a16427e. Each |
<abbr> tooltip tags to abbreviations in docs<abbr> tooltip tags to first occurrence of abbreviations in docs
There was a problem hiding this comment.
Pull request overview
Adds consistent abbreviation tooltips across English docs by wrapping the first in-article occurrence of key technical abbreviations with <abbr title="..." data-tooltip-placement="top">…</abbr> to improve readability and discoverability.
Changes:
- Wrapped first occurrences of MCP/OTLP/OTEL/BFF/DAG abbreviations with
<abbr>tooltips across docs. - Standardized tooltip placement via
data-tooltip-placement="top"(including an existing<abbr>). - Included small doc corrections (e.g.,
OLTP→OTLP, “Protocols” → “Protocol”).
Reviewed changes
Copilot reviewed 44 out of 44 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/frontend/src/content/docs/app-host/certificate-configuration.mdx | Adds OTLP/OTEL tooltip usage in prose. |
| src/frontend/src/content/docs/app-host/configuration.mdx | Adds OTLP/MCP tooltip usage in configuration table text. |
| src/frontend/src/content/docs/architecture/resource-hierarchies.mdx | Adds DAG tooltip usage in prose. |
| src/frontend/src/content/docs/architecture/resource-model.mdx | Adds DAG tooltip usage in prose. |
| src/frontend/src/content/docs/dashboard/configuration.mdx | Adds OTLP/MCP tooltip usage in overview + env var table. |
| src/frontend/src/content/docs/dashboard/copilot.mdx | Adds MCP tooltip usage in tip aside. |
| src/frontend/src/content/docs/dashboard/enable-browser-telemetry.mdx | Adds OTLP/OTEL tooltip usage and fixes OTLP typo in prose. |
| src/frontend/src/content/docs/dashboard/explore.mdx | Adds OTLP tooltip usage in export format list. |
| src/frontend/src/content/docs/dashboard/index.mdx | Adds OTLP tooltip usage in intro section. |
| src/frontend/src/content/docs/dashboard/mcp-server.mdx | Adds MCP tooltip usage in tip aside. |
| src/frontend/src/content/docs/dashboard/overview.mdx | Adds OTLP tooltip usage in configuration description. |
| src/frontend/src/content/docs/dashboard/security-considerations.mdx | Adds OTLP tooltip usage in security description. |
| src/frontend/src/content/docs/dashboard/standalone-for-nodejs.mdx | Adds OTLP tooltip usage (currently inside a code block). |
| src/frontend/src/content/docs/dashboard/standalone-for-python.mdx | Adds OTLP tooltip usage (currently inside a code block). |
| src/frontend/src/content/docs/dashboard/standalone.mdx | Adds OTLP tooltip usage in standalone instructions. |
| src/frontend/src/content/docs/deployment/javascript-apps.mdx | Adds tooltip placement attribute to existing BFF <abbr>. |
| src/frontend/src/content/docs/diagnostics/aspiremcp001.mdx | Adds MCP tooltip usage in diagnostic summary blockquote. |
| src/frontend/src/content/docs/diagnostics/aspirepostgres001.mdx | Adds MCP tooltip usage in diagnostic summary blockquote. |
| src/frontend/src/content/docs/diagnostics/overview.mdx | Adds MCP tooltip usage in diagnostics table. |
| src/frontend/src/content/docs/fundamentals/telemetry.mdx | Adds OTLP tooltip usage in telemetry env var section. |
| src/frontend/src/content/docs/get-started/add-aspire-existing-app.mdx | Adds OTLP tooltip usage in Node.js setup prose. |
| src/frontend/src/content/docs/get-started/ai-coding-agents.mdx | Adds MCP tooltip usage in intro prose. |
| src/frontend/src/content/docs/get-started/aspire-mcp-server.mdx | Adds MCP tooltip usage in intro prose. |
| src/frontend/src/content/docs/get-started/aspire-vscode-extension.mdx | Adds MCP tooltip usage in features table. |
| src/frontend/src/content/docs/get-started/first-app.mdx | Adds MCP tooltip usage in AI agent note prose. |
| src/frontend/src/content/docs/get-started/glossary.mdx | Adds OTEL/DAG tooltip usage in glossary entries/table. |
| src/frontend/src/content/docs/get-started/resource-mcp-servers.mdx | Adds MCP tooltip usage in intro prose. |
| src/frontend/src/content/docs/get-started/what-is-aspire.mdx | Adds MCP tooltip usage in product overview prose. |
| src/frontend/src/content/docs/integrations/dotnet/maui.mdx | Adds OTLP tooltip usage in MAUI telemetry section. |
| src/frontend/src/content/docs/integrations/security/keycloak.mdx | Adds OTLP tooltip usage in section heading. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-agent-init.mdx | Adds MCP tooltip usage in command “Name” line. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-agent-mcp.mdx | Adds MCP tooltip usage in command “Name” line. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-agent.mdx | Adds MCP tooltip usage in command description. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-mcp-call.mdx | Adds MCP tooltip usage in command “Name” line. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-mcp-tools.mdx | Adds MCP tooltip usage in command “Name” line. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-mcp.mdx | Adds MCP tooltip usage in command “Name” line. |
| src/frontend/src/content/docs/reference/cli/commands/aspire.mdx | Adds MCP tooltip usage in commands table. |
| src/frontend/src/content/docs/reference/cli/overview.mdx | Adds MCP tooltip usage in section heading. |
| src/frontend/src/content/docs/whats-new/aspire-13-1.mdx | Adds MCP/OTLP tooltip usage in release notes. |
| src/frontend/src/content/docs/whats-new/aspire-13-2.mdx | Adds MCP/OTLP tooltip usage in release notes. |
| src/frontend/src/content/docs/whats-new/aspire-13.mdx | Adds MCP tooltip usage in a release note heading. |
| src/frontend/src/content/docs/whats-new/aspire-9-3.mdx | Adds OTLP tooltip usage in release notes. |
| src/frontend/src/content/docs/whats-new/aspire-9-5.mdx | Adds OTEL/OTLP tooltip usage + “Protocol(s)” correction. |
| src/frontend/src/content/docs/whats-new/aspire-9.mdx | Adds OTLP tooltip usage in release notes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/frontend/src/content/docs/dashboard/standalone-for-python.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
src/frontend/src/content/docs/dashboard/standalone-for-nodejs.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: David Pine <david.pine@microsoft.com>
Wraps key technical abbreviations in English documentation with
<abbr title="..." data-tooltip-placement="top">HTML tags, so readers see a tooltip with the full expansion when hovering over the abbreviation. Only the first occurrence of each abbreviation in a given article is wrapped; subsequent occurrences are left as plain text.Abbreviations wrapped
OTELOTLPMCPBFFDAG44 files modified, 52
<abbr>tags added (one per abbreviation per article).Excluded from wrapping
The script carefully avoids wrapping in contexts where adding HTML tags would break rendering or appear as literal text:
```)`...`)[...]OTEL_EXPORTER_OTLP_ENDPOINT)OTLP/gRPC,gateway/BFF)title="MCP server"on components not usingset:html)ja,de,fr,es,zh-cn,hi,id,it,ko,pt-br,ru,tr,uk,da)Additional fixes
OLTP→OTLPindashboard/enable-browser-telemetry.mdxwhats-new/aspire-9-5.mdx<abbr>indeployment/javascript-apps.mdxto adddata-tooltip-placement="top"for consistency