docs: improvements to base OAS (#8835)

* docs: improve base OAS

* extra new lines + design fixes
This commit is contained in:
Shahed Nasser
2024-08-28 15:44:05 +03:00
committed by GitHub
parent 61e7b2eb24
commit bfded6c2c8
3 changed files with 548 additions and 81 deletions

View File

@@ -128,12 +128,12 @@ const TagSection = ({ tag }: TagSectionProps) => {
</Section>
)}
{tag.externalDocs && (
<>
Related guide:{" "}
<p className="mt-1">
<span className="text-medium-plus">Related guide:</span>{" "}
<Link href={tag.externalDocs.url} target="_blank">
{tag.externalDocs.description || "Read More"}
</Link>
</>
</p>
)}
<Feedback
event="survey_api-ref"
@@ -144,6 +144,7 @@ const TagSection = ({ tag }: TagSectionProps) => {
pathName={pathname}
reportLink={formatReportLink(area, tag.name)}
vertical
question="Was this section helpful?"
/>
</SectionContainer>
}