Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit 0eb0270

Browse files
authored
Merge pull request #269 from appwrite/fix-version-controls
Add version param to H2 anchor links
2 parents 7c5c653 + 8e51be1 commit 0eb0270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/docs/service.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ $paramSDK = (!empty($sdk)) ? '?sdk='.$sdk : '';
293293
<div class="row responsive">
294294
<div class="col span-7">
295295
<h2 class="margin-bottom">
296-
<a href="/docs/<?php echo $this->escape($family); ?>/<?php echo $serviceName; ?>?sdk=<?php echo $this->escape($sdk); ?>#<?php echo $operation['operationId']; ?>" id="<?php echo $operation['operationId']; ?>" class="references"><?php echo $this->escape($title); ?></a>
296+
<a href="/docs/<?php echo $this->escape($family); ?>/<?php echo $serviceName; ?>?sdk=<?php echo $this->escape($sdk); ?>&v=<?php echo $this->escape($version); ?>#<?php echo $operation['operationId']; ?>" id="<?php echo $operation['operationId']; ?>" class="references"><?php echo $this->escape($title); ?></a>
297297
</h2>
298298

299299
<div>

0 commit comments

Comments
 (0)