diff --git a/src/Writing/HtmlWriter.php b/src/Writing/HtmlWriter.php index 6d9ba53f..3368af5e 100644 --- a/src/Writing/HtmlWriter.php +++ b/src/Writing/HtmlWriter.php @@ -108,16 +108,11 @@ protected function transformMarkdownFileToHTML(string $markdownFilePath): string public function getMetadata(): array { - // todo remove 'links' in future - $links = []; // Left for backwards compat - // NB:These paths are wrong for laravel type but will be set correctly by the Writer class if ($this->config->get('postman.enabled', true)) { - $links[] = "assetPathPrefix}collection.json\">".u::trans("scribe::links.postman").""; $postmanCollectionUrl = "{$this->assetPathPrefix}collection.json"; } if ($this->config->get('openapi.enabled', false)) { - $links[] = "assetPathPrefix}openapi.yaml\">".u::trans("scribe::links.openapi").""; $openApiSpecUrl = "{$this->assetPathPrefix}openapi.yaml"; } @@ -142,7 +137,6 @@ public function getMetadata(): array 'try_it_out' => $this->config->get('try_it_out'), "postman_collection_url" => $postmanCollectionUrl ?? null, "openapi_spec_url" => $openApiSpecUrl ?? null, - 'links' => array_merge($links, ['Documentation powered by Scribe ✍']), ]; }