Skip to content

Commit b7a42e0

Browse files
committed
Fully path links to documenation
1 parent a7dba89 commit b7a42e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tools/Generator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ public function generateDefinition(string $class, array $properties) : void
176176
// description: "The contact phone number to associate with the client account."
177177
if (isset($details['description']))
178178
{
179+
$details['description'] = str_replace('(/api_guide/', '(https://v3.developer.constantcontact.com/api_guide/', $details['description']);
179180
if (is_array($type))
180181
{
181182
$type = $originalType;
@@ -381,6 +382,7 @@ private function getClassName(string $path) : string
381382

382383
private function formatDescription(string $description) : string
383384
{
385+
$description = str_replace('(/api_guide/', '(https://v3.developer.constantcontact.com/api_guide/', $description);
384386
$lines = \explode("\n", $description);
385387
$blocks = [];
386388

0 commit comments

Comments
 (0)