Skip to content

Warn of images outside to current toc scope when using image directive too #1077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Apr 10, 2025

e.g on docs-content this left the following unreported:

Hint: Image '../../../images/security-attack-discovery-settings.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/security/ai/attack-discovery.md]
    │
    │
    └─
 
Hint: Image '../../../images/security-attack-discovery-more-popover.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
     ┌─[/Users/mpdreamz/Projects/docs-content/solutions/security/ai/ai-assistant.md]
     │
     │
     └─
 
Hint: Image '../../../images/security-siem-migration-1.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/security/get-started/automatic-migration.md]
    │
 34 │    :::{image} ../../../images/security-siem-migration-1.png
    ·   ──────────                                               
    ·                                                             
    │
    └─
 
Hint: Image '../../../images/security-siem-migration-processed-rules.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/security/get-started/automatic-migration.md]
    │
    │
    └─
 
Hint: Image '../../../images/security-siem-migration-edit-rule.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
     ┌─[/Users/mpdreamz/Projects/docs-content/solutions/security/get-started/automatic-migration.md]
     │
     │
     └─
 
Hint: Image '../../../images/llm-performance-reliability.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/observability/applications/llm-observability.md]
    │
    │
    └─
 
Hint: Image '../../../images/llm-openai-applications.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/observability/applications/llm-observability.md]
    │
    │
    └─
 
Hint: Image '../../../images/llm-costs-usage-concerns.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/observability/applications/llm-observability.md]
    │
    │
    └─
 
Hint: Image '../../../images/llm-amazon-bedrock-guardrails.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/solutions'.
    ┌─[/Users/mpdreamz/Projects/docs-content/solutions/observability/applications/llm-observability.md]
    │
    │
    └─
 
Hint: Image '/reference/images/observability-apm-app-landing.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/reference/apm'.
    ┌─[/Users/mpdreamz/Projects/docs-content/reference/apm/observability/apm.md]
    │
    │
    └─
 
Hint: Image '/reference/images/security-timeline-object-ui.png' is referenced out of table of contents scope '/Users/mpdreamz/Projects/docs-content/reference/security'.
    ┌─[/Users/mpdreamz/Projects/docs-content/reference/security/fields-and-object-schemas/timeline-object-schema.md]
    │
    │
    └─

@Mpdreamz Mpdreamz requested a review from a team as a code owner April 10, 2025 12:16
@Mpdreamz Mpdreamz added the fix label Apr 10, 2025
@Mpdreamz Mpdreamz self-assigned this Apr 10, 2025
@Mpdreamz Mpdreamz merged commit 4ed014c into main Apr 10, 2025
15 checks passed
@Mpdreamz Mpdreamz deleted the fix/warn-image-dir-scope-image-block branch April 10, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants