Skip to content

Commit 56d8cda

Browse files
authored
chore(librarian): fix docs in google-maps-routeoptimization (#14741)
Fix issue in `google-maps-routeoptimization` which causes the docs build to fail. The root cause of this issue is likely the use of `pandoc` as the problem doesn't appear in the protos as this problem doesn't appear in the [upstream protos](https://github.com/googleapis/googleapis/blob/master/google/maps/routeoptimization/v1/route_optimization_service.proto). https://github.com/googleapis/googleapis-gen/blob/1d97debfe55a705717024c2103f1cdbda443ca12/google/maps/routeoptimization/v1/maps-routeoptimization-v1-py/google/maps/routeoptimization_v1/types/route_optimization_service.py#L3996 Filed googleapis/gapic-generator-python#2463 to follow up on this issue
1 parent d0ebbba commit 56d8cda

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.librarian/generator-input/client-post-processing/doc-formatting.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,4 +575,18 @@ replacements:
575575
projects/{project}/locations/{location} or
576576
organizations/{organization}/locations/{location}
577577
or folders/{folder}/locations/{location}
578-
count: 4
578+
count: 4
579+
- paths: [
580+
packages/google-maps-routeoptimization/google/maps/routeoptimization_v1/types/route_optimization_service.py,
581+
]
582+
before: |
583+
The ratio \(vehicle_end_time - vehicle_start_time\) / \(latest_vehicle_end_time - earliest_vehicle_start_time\) for a given vehicle. If the denominator is not present, it uses \(\[ShipmentModel.global_end_time\]\[google.maps.routeoptimization.v1.ShipmentModel.global_end_time\]
584+
\ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n
585+
\ \[ShipmentModel.global_start_time\]\[google.maps.routeoptimization.v1.ShipmentModel.global_start_time\]\)
586+
\ instead.
587+
after: |
588+
The ratio (vehicle_end_time - vehicle_start_time) / (latest_vehicle_end_time - earliest_vehicle_start_time) for a given vehicle. If the denominator is not present, it uses
589+
([ShipmentModel.global_end_time][google.maps.routeoptimization.v1.ShipmentModel.global_end_time] -
590+
[ShipmentModel.global_start_time][google.maps.routeoptimization.v1.ShipmentModel.global_start_time])
591+
instead.
592+
count: 1

0 commit comments

Comments
 (0)