Skip to content

Commit 05e6981

Browse files
committed
minor #931 Require docker://oskarstark/doctor-rst:1.70.2 (OskarStark)
This PR was merged into the main branch. Discussion ---------- Require docker://oskarstark/doctor-rst:1.70.2 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | yes | Issues | -- | License | MIT Commits ------- 50affa5 Require docker://oskarstark/doctor-rst:1.70.2
2 parents 33e9be1 + 50affa5 commit 05e6981

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.doctor-rst.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ rules:
2525
ensure_exactly_one_space_between_link_definition_and_link: ~
2626
ensure_link_definition_contains_valid_url: ~
2727
ensure_order_of_code_blocks_in_configuration_block: ~
28+
ensure_php_reference_syntax: ~
2829
extend_abstract_admin: ~
2930
extend_abstract_controller: ~
30-
# extend_controller: ~
3131
extension_xlf_instead_of_xliff: ~
3232
# filename_uses_dashes_only: ~
3333
# filename_uses_underscores_only: ~
@@ -38,7 +38,6 @@ rules:
3838
- '.. index::'
3939
indention: ~
4040
kernel_instead_of_app_kernel: ~
41-
# line_length: ~
4241
lowercase_as_in_use_statements: ~
4342
max_blank_lines:
4443
max: 2
@@ -82,7 +81,6 @@ rules:
8281
typo: ~
8382
unused_links: ~
8483
use_deprecated_directive_instead_of_versionadded: ~
85-
use_https_xsd_urls: ~
8684
# use_named_constructor_without_new_keyword_rule: ~
8785
valid_inline_highlighted_namespaces: ~
8886
valid_use_statements: ~
@@ -92,5 +90,3 @@ rules:
9290
min_version: '2.0'
9391
versionadded_directive_should_have_version: ~
9492
yaml_instead_of_yml_suffix: ~
95-
yarn_dev_option_at_the_end: ~
96-
# yarn_dev_option_not_at_the_end: ~

.github/workflows/doctor-rst.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
paths:
66
- '**.rst'
77
- 'docs/**'
8+
- '.github/workflows/doctor-rst.yaml'
89
pull_request:
910
paths:
1011
- '**.rst'
1112
- 'docs/**'
13+
- '.github/workflows/doctor-rst.yaml'
1214

1315
jobs:
1416
doctor-rst:
@@ -32,6 +34,6 @@ jobs:
3234
key: doctor-rst-${{ steps.extract_base_branch.outputs.branch }}
3335

3436
- name: DOCtor-RST
35-
uses: docker://oskarstark/doctor-rst
37+
uses: docker://oskarstark/doctor-rst:1.70.2
3638
with:
3739
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

docs/components/platform.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ specific use cases or performance requirements.
2222
Usage
2323
-----
2424

25-
The instantiation of the :class:`Symfony\\AI\\Platform\Platform` class is
25+
The instantiation of the :class:`Symfony\\AI\\Platform\\Platform` class is
2626
usually delegated to a provider-specific factory, with a provider being
2727
OpenAI, Anthropic, Google, Replicate, and others.
2828

@@ -34,7 +34,7 @@ For example, to use the OpenAI provider, you would typically do something like t
3434

3535
$platform = PlatformFactory::create(env('OPENAI_API_KEY'));
3636

37-
With this :class:`Symfony\\AI\\Platform\PlatformInterface` instance you can now interact with the LLM::
37+
With this :class:`Symfony\\AI\\Platform\\PlatformInterface` instance you can now interact with the LLM::
3838

3939
// Generate a vector embedding for a text, returns a Symfony\AI\Platform\Result\VectorResult
4040
$vectorResult = $platform->invoke($embeddings, 'What is the capital of France?');

0 commit comments

Comments
 (0)