Skip to content

Update documentation for agentixCommands and searchIndicators#43818

Merged
barryyosi-panw merged 3 commits intomasterfrom
fix-demisto-mock-docstring-examples
Apr 13, 2026
Merged

Update documentation for agentixCommands and searchIndicators#43818
barryyosi-panw merged 3 commits intomasterfrom
fix-demisto-mock-docstring-examples

Conversation

@barryyosi-panw
Copy link
Copy Markdown
Contributor

@barryyosi-panw barryyosi-panw commented Apr 12, 2026

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Related Issues

CRTX-238825

Description

Fix docstring rendering in demistomock.agentixCommands

Replace Python doctest-style examples (>>> / ... continuation markers) with backtick-fenced code blocks in the agentixCommands docstring. The doctest syntax was rendering poorly in xsoar.pan.dev - continuation ... markers were displayed as literal content, breaking readability.

image

or existing blocks:
image

while classic code-block syntax renders properly.

@barryyosi-panw barryyosi-panw requested a review from mmhw April 12, 2026 15:17
@barryyosi-panw barryyosi-panw enabled auto-merge (squash) April 12, 2026 15:18
@barryyosi-panw barryyosi-panw added docs-approved ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines skip-ai-review labels Apr 12, 2026
@content-bot
Copy link
Copy Markdown
Contributor

🤖 AI-Powered Code Review Available

You can leverage AI-powered code review to assist with this PR!

Available Commands:

  • @marketplace-ai-reviewer start review - Initiate a full AI code review
  • @marketplace-ai-reviewer re-review - Incremental review for new commits

Copy link
Copy Markdown
Contributor

@mmhw mmhw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Comment thread Tests/demistomock/demistomock.py Outdated
@barryyosi-panw barryyosi-panw requested a review from mmhw April 13, 2026 09:58
@content-bot
Copy link
Copy Markdown
Contributor

Validate summary
The following errors were thrown as a part of this pr: .
If the AG100 validation in the pre-commit GitHub Action fails, the pull request cannot be force-merged.

Verdict: PR can be force merged from validate perspective? ✅

@barryyosi-panw barryyosi-panw merged commit e48be04 into master Apr 13, 2026
20 of 21 checks passed
@barryyosi-panw barryyosi-panw deleted the fix-demisto-mock-docstring-examples branch April 13, 2026 13:27
mcvic1rj pushed a commit to mcvic1rj/xsoar-content that referenced this pull request Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-approved ready-for-pipeline-running Whether the pr is ready for running the whole pipeline, including testing on SAAS machines skip-ai-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants