Skip to content

Commit 8a90e65

Browse files
authored
Fixed website navigation (#1297)
* Fixed website navigation * Fixed code higlight in aws bridge docs
1 parent aa244da commit 8a90e65

File tree

4 files changed

+7
-61
lines changed

4 files changed

+7
-61
lines changed

documentation/_navigation.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

documentation/components/bridges/filesystem-async-aws-bridge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ through [Async AWS SDK](https://github.com/async-aws/s3).
99
composer require flow-php/filesystem-async-aws-bridge
1010
```
1111

12-
```code
12+
```php
1313
use function Flow\Filesystem\Bridge\AsyncAWS\DSL\{aws_s3_client, aws_s3_filesystem};
1414

1515
$aws = aws_s3_filesystem(

web/landing/src/Flow/Website/Controller/DocumentationController.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ public function example(string $topic, string $example) : Response
6868
$currentExample = $example;
6969

7070
return $this->render('documentation/example.html.twig', [
71-
'navigation' => $this->pages->get('_navigation.md'),
7271
'topics' => $topics,
7372
'examples' => $examples,
7473
'currentTopic' => $topic,
@@ -95,7 +94,6 @@ public function index() : Response
9594
{
9695
return $this->render('documentation/page.html.twig', [
9796
'page' => $this->pages->get('introduction.md'),
98-
'navigation' => $this->pages->get('_navigation.md'),
9997
]);
10098
}
10199

@@ -115,7 +113,6 @@ public function page(string $path) : Response
115113
{
116114
return $this->render('documentation/page.html.twig', [
117115
'page' => $this->pages->get($path),
118-
'navigation' => $this->pages->get('_navigation.md'),
119116
]);
120117
}
121118
}

web/landing/templates/documentation/navigation.html.twig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@
161161
<li>
162162
<a href="/documentation/components/bridges/filesystem-azure-bridge">Filesystem Azure</a>
163163
</li>
164+
<li>
165+
<a href="/documentation/components/bridges/filesystem-async-aws-bridge">Filesystem S3</a>
166+
</li>
167+
<li>
168+
<a href="/documentation/components/bridges/symfony-http-foundation-bridge">Symfony Http Foundation</a>
169+
</li>
164170
<li>
165171
<a href="/documentation/components/bridges/monolog-http-bridge">Monolog Http</a>
166172
</li>

0 commit comments

Comments
 (0)