Skip to content

Commit a994c38

Browse files
authored
Fix ABAP filepaths (#7713)
1 parent e26558f commit a994c38

File tree

15 files changed

+107
-107
lines changed

15 files changed

+107
-107
lines changed

.tools/readmes/scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def snippet(self, example: Example, readme_folder, api_name: str):
158158
readme_path = Path(__file__).parent.parent.parent / readme_folder
159159
# tag_path = snippet_path.relative_to(readme_path) # Must be subpaths, no ..
160160
tag_path = relpath(snippet_path, readme_path)
161-
tag_path = str(tag_path).replace("\\", "/")
161+
tag_path = str(tag_path).replace("\\", "/").replace("#", "%23")
162162
if api_name != "":
163163
tag_path += f"#L{snippet.line_start + 1}"
164164
return tag_path

sap-abap/services/bdr/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3030
<!--custom.prerequisites.end-->
3131
### Anthropic Claude
3232

33-
- [InvokeModel](#awsex#cl_bdr_actions.clas.abap#L150)
33+
- [InvokeModel](%23awsex%23cl_bdr_actions.clas.abap#L150)
3434

3535
### Stable Diffusion
3636

37-
- [InvokeModel](#awsex#cl_bdr_actions.clas.abap#L220)
37+
- [InvokeModel](%23awsex%23cl_bdr_actions.clas.abap#L220)
3838

3939

4040
<!--custom.examples.start-->

sap-abap/services/bdz/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code excerpts that show you how to call individual service functions.
3535

36-
- [InvokeAgent](#awsex#cl_bdz_actions.clas.abap#L37)
36+
- [InvokeAgent](%23awsex%23cl_bdz_actions.clas.abap#L37)
3737

3838

3939
<!--custom.examples.start-->

sap-abap/services/cpd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code excerpts that show you how to call individual service functions.
3535

36-
- [DetectSentiment](#awsex#cl_cpd_actions.clas.abap#L35)
36+
- [DetectSentiment](%23awsex%23cl_cpd_actions.clas.abap#L35)
3737

3838

3939
<!--custom.examples.start-->

sap-abap/services/cwt/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code excerpts that show you how to call individual service functions.
3535

36-
- [DeleteAlarms](#awsex#cl_cwt_actions.clas.abap#L71)
37-
- [DescribeAlarms](#awsex#cl_cwt_actions.clas.abap#L91)
38-
- [DisableAlarmActions](#awsex#cl_cwt_actions.clas.abap#L112)
39-
- [EnableAlarmActions](#awsex#cl_cwt_actions.clas.abap#L135)
40-
- [ListMetrics](#awsex#cl_cwt_actions.clas.abap#L158)
41-
- [PutMetricAlarm](#awsex#cl_cwt_actions.clas.abap#L180)
36+
- [DeleteAlarms](%23awsex%23cl_cwt_actions.clas.abap#L71)
37+
- [DescribeAlarms](%23awsex%23cl_cwt_actions.clas.abap#L91)
38+
- [DisableAlarmActions](%23awsex%23cl_cwt_actions.clas.abap#L112)
39+
- [EnableAlarmActions](%23awsex%23cl_cwt_actions.clas.abap#L135)
40+
- [ListMetrics](%23awsex%23cl_cwt_actions.clas.abap#L158)
41+
- [PutMetricAlarm](%23awsex%23cl_cwt_actions.clas.abap#L180)
4242

4343
### Scenarios
4444

4545
Code examples that show you how to accomplish a specific task by calling multiple
4646
functions within the same service.
4747

48-
- [Get started with alarms](#awsex#cl_cwt_scenarios.clas.abap)
48+
- [Get started with alarms](%23awsex%23cl_cwt_scenarios.clas.abap)
4949

5050

5151
<!--custom.examples.start-->

sap-abap/services/dyn/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code examples that show you how to perform the essential operations within a service.
3535

36-
- [Learn the basics](#awsex#cl_dyn_scenarios.clas.abap)
36+
- [Learn the basics](%23awsex%23cl_dyn_scenarios.clas.abap)
3737

3838

3939
### Single actions
4040

4141
Code excerpts that show you how to call individual service functions.
4242

43-
- [CreateTable](#awsex#cl_dyn_actions.clas.abap#L94)
44-
- [DeleteItem](#awsex#cl_dyn_actions.clas.abap#L136)
45-
- [DeleteTable](#awsex#cl_dyn_actions.clas.abap#L160)
46-
- [DescribeTable](#awsex#cl_dyn_actions.clas.abap#L183)
47-
- [GetItem](#awsex#cl_dyn_actions.clas.abap#L208)
48-
- [ListTables](#awsex#cl_dyn_actions.clas.abap#L234)
49-
- [PutItem](#awsex#cl_dyn_actions.clas.abap#L258)
50-
- [Query](#awsex#cl_dyn_actions.clas.abap#L282)
51-
- [Scan](#awsex#cl_dyn_actions.clas.abap#L320)
52-
- [UpdateItem](#awsex#cl_dyn_actions.clas.abap#L356)
43+
- [CreateTable](%23awsex%23cl_dyn_actions.clas.abap#L94)
44+
- [DeleteItem](%23awsex%23cl_dyn_actions.clas.abap#L136)
45+
- [DeleteTable](%23awsex%23cl_dyn_actions.clas.abap#L160)
46+
- [DescribeTable](%23awsex%23cl_dyn_actions.clas.abap#L183)
47+
- [GetItem](%23awsex%23cl_dyn_actions.clas.abap#L208)
48+
- [ListTables](%23awsex%23cl_dyn_actions.clas.abap#L234)
49+
- [PutItem](%23awsex%23cl_dyn_actions.clas.abap#L258)
50+
- [Query](%23awsex%23cl_dyn_actions.clas.abap#L282)
51+
- [Scan](%23awsex%23cl_dyn_actions.clas.abap#L320)
52+
- [UpdateItem](%23awsex%23cl_dyn_actions.clas.abap#L356)
5353

5454

5555
<!--custom.examples.start-->

sap-abap/services/ec2/README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,24 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code excerpts that show you how to call individual service functions.
3535

36-
- [AllocateAddress](#awsex#cl_ec2_actions.clas.abap#L133)
37-
- [AssociateAddress](#awsex#cl_ec2_actions.clas.abap#L151)
38-
- [CreateKeyPair](#awsex#cl_ec2_actions.clas.abap#L207)
39-
- [CreateSecurityGroup](#awsex#cl_ec2_actions.clas.abap#L225)
40-
- [DeleteKeyPair](#awsex#cl_ec2_actions.clas.abap#L246)
41-
- [DeleteSecurityGroup](#awsex#cl_ec2_actions.clas.abap#L264)
42-
- [DescribeAddresses](#awsex#cl_ec2_actions.clas.abap#L282)
43-
- [DescribeAvailabilityZones](#awsex#cl_ec2_actions.clas.abap#L301)
44-
- [DescribeInstances](#awsex#cl_ec2_actions.clas.abap#L322)
45-
- [DescribeKeyPairs](#awsex#cl_ec2_actions.clas.abap#L354)
46-
- [DescribeRegions](#awsex#cl_ec2_actions.clas.abap#L373)
47-
- [DescribeSecurityGroups](#awsex#cl_ec2_actions.clas.abap#L393)
48-
- [MonitorInstances](#awsex#cl_ec2_actions.clas.abap#L414)
49-
- [RebootInstances](#awsex#cl_ec2_actions.clas.abap#L452)
50-
- [ReleaseAddress](#awsex#cl_ec2_actions.clas.abap#L489)
51-
- [RunInstances](#awsex#cl_ec2_actions.clas.abap#L171)
52-
- [StartInstances](#awsex#cl_ec2_actions.clas.abap#L507)
53-
- [StopInstances](#awsex#cl_ec2_actions.clas.abap#L545)
36+
- [AllocateAddress](%23awsex%23cl_ec2_actions.clas.abap#L133)
37+
- [AssociateAddress](%23awsex%23cl_ec2_actions.clas.abap#L151)
38+
- [CreateKeyPair](%23awsex%23cl_ec2_actions.clas.abap#L207)
39+
- [CreateSecurityGroup](%23awsex%23cl_ec2_actions.clas.abap#L225)
40+
- [DeleteKeyPair](%23awsex%23cl_ec2_actions.clas.abap#L246)
41+
- [DeleteSecurityGroup](%23awsex%23cl_ec2_actions.clas.abap#L264)
42+
- [DescribeAddresses](%23awsex%23cl_ec2_actions.clas.abap#L282)
43+
- [DescribeAvailabilityZones](%23awsex%23cl_ec2_actions.clas.abap#L301)
44+
- [DescribeInstances](%23awsex%23cl_ec2_actions.clas.abap#L322)
45+
- [DescribeKeyPairs](%23awsex%23cl_ec2_actions.clas.abap#L354)
46+
- [DescribeRegions](%23awsex%23cl_ec2_actions.clas.abap#L373)
47+
- [DescribeSecurityGroups](%23awsex%23cl_ec2_actions.clas.abap#L393)
48+
- [MonitorInstances](%23awsex%23cl_ec2_actions.clas.abap#L414)
49+
- [RebootInstances](%23awsex%23cl_ec2_actions.clas.abap#L452)
50+
- [ReleaseAddress](%23awsex%23cl_ec2_actions.clas.abap#L489)
51+
- [RunInstances](%23awsex%23cl_ec2_actions.clas.abap#L171)
52+
- [StartInstances](%23awsex%23cl_ec2_actions.clas.abap#L507)
53+
- [StopInstances](%23awsex%23cl_ec2_actions.clas.abap#L545)
5454

5555

5656
<!--custom.examples.start-->

sap-abap/services/kns/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code examples that show you how to perform the essential operations within a service.
3535

36-
- [Learn the basics](#awsex#cl_kns_scenarios.clas.abap)
36+
- [Learn the basics](%23awsex%23cl_kns_scenarios.clas.abap)
3737

3838

3939
### Single actions
4040

4141
Code excerpts that show you how to call individual service functions.
4242

43-
- [CreateStream](#awsex#cl_kns_actions.clas.abap#L75)
44-
- [DeleteStream](#awsex#cl_kns_actions.clas.abap#L100)
45-
- [DescribeStream](#awsex#cl_kns_actions.clas.abap#L122)
46-
- [GetRecords](#awsex#cl_kns_actions.clas.abap#L147)
47-
- [ListStreams](#awsex#cl_kns_actions.clas.abap#L186)
48-
- [PutRecord](#awsex#cl_kns_actions.clas.abap#L208)
49-
- [RegisterStreamConsumer](#awsex#cl_kns_actions.clas.abap#L245)
43+
- [CreateStream](%23awsex%23cl_kns_actions.clas.abap#L75)
44+
- [DeleteStream](%23awsex%23cl_kns_actions.clas.abap#L100)
45+
- [DescribeStream](%23awsex%23cl_kns_actions.clas.abap#L122)
46+
- [GetRecords](%23awsex%23cl_kns_actions.clas.abap#L147)
47+
- [ListStreams](%23awsex%23cl_kns_actions.clas.abap#L186)
48+
- [PutRecord](%23awsex%23cl_kns_actions.clas.abap#L208)
49+
- [RegisterStreamConsumer](%23awsex%23cl_kns_actions.clas.abap#L245)
5050

5151

5252
<!--custom.examples.start-->

sap-abap/services/lmd/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code examples that show you how to perform the essential operations within a service.
3535

36-
- [Learn the basics](#awsex#cl_lmd_scenarios.clas.abap)
36+
- [Learn the basics](%23awsex%23cl_lmd_scenarios.clas.abap)
3737

3838

3939
### Single actions
4040

4141
Code excerpts that show you how to call individual service functions.
4242

43-
- [CreateFunction](#awsex#cl_lmd_actions.clas.abap#L68)
44-
- [DeleteFunction](#awsex#cl_lmd_actions.clas.abap#L107)
45-
- [GetFunction](#awsex#cl_lmd_actions.clas.abap#L132)
46-
- [Invoke](#awsex#cl_lmd_actions.clas.abap#L153)
47-
- [ListFunctions](#awsex#cl_lmd_actions.clas.abap#L193)
48-
- [UpdateFunctionCode](#awsex#cl_lmd_actions.clas.abap#L216)
49-
- [UpdateFunctionConfiguration](#awsex#cl_lmd_actions.clas.abap#L252)
43+
- [CreateFunction](%23awsex%23cl_lmd_actions.clas.abap#L68)
44+
- [DeleteFunction](%23awsex%23cl_lmd_actions.clas.abap#L107)
45+
- [GetFunction](%23awsex%23cl_lmd_actions.clas.abap#L132)
46+
- [Invoke](%23awsex%23cl_lmd_actions.clas.abap#L153)
47+
- [ListFunctions](%23awsex%23cl_lmd_actions.clas.abap#L193)
48+
- [UpdateFunctionCode](%23awsex%23cl_lmd_actions.clas.abap#L216)
49+
- [UpdateFunctionConfiguration](%23awsex%23cl_lmd_actions.clas.abap#L252)
5050

5151

5252
<!--custom.examples.start-->

sap-abap/services/s3/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,27 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `sap-a
3333

3434
Code examples that show you how to perform the essential operations within a service.
3535

36-
- [Learn the basics](#awsex#cl_s3_scenarios.clas.abap)
36+
- [Learn the basics](%23awsex%23cl_s3_scenarios.clas.abap)
3737

3838

3939
### Single actions
4040

4141
Code excerpts that show you how to call individual service functions.
4242

43-
- [CopyObject](#awsex#cl_s3_actions.clas.abap#L69)
44-
- [CreateBucket](#awsex#cl_s3_actions.clas.abap#L92)
45-
- [DeleteBucket](#awsex#cl_s3_actions.clas.abap#L125)
46-
- [DeleteObject](#awsex#cl_s3_actions.clas.abap#L145)
47-
- [GetObject](#awsex#cl_s3_actions.clas.abap#L164)
48-
- [ListObjectsV2](#awsex#cl_s3_actions.clas.abap#L205)
49-
- [PutObject](#awsex#cl_s3_actions.clas.abap#L224)
43+
- [CopyObject](%23awsex%23cl_s3_actions.clas.abap#L69)
44+
- [CreateBucket](%23awsex%23cl_s3_actions.clas.abap#L92)
45+
- [DeleteBucket](%23awsex%23cl_s3_actions.clas.abap#L125)
46+
- [DeleteObject](%23awsex%23cl_s3_actions.clas.abap#L145)
47+
- [GetObject](%23awsex%23cl_s3_actions.clas.abap#L164)
48+
- [ListObjectsV2](%23awsex%23cl_s3_actions.clas.abap#L205)
49+
- [PutObject](%23awsex%23cl_s3_actions.clas.abap#L224)
5050

5151
### Scenarios
5252

5353
Code examples that show you how to accomplish a specific task by calling multiple
5454
functions within the same service.
5555

56-
- [Create a presigned URL](#awsex#cl_s3_scenarios.clas.abap)
56+
- [Create a presigned URL](%23awsex%23cl_s3_scenarios.clas.abap)
5757

5858

5959
<!--custom.examples.start-->

0 commit comments

Comments
 (0)