ent/docs: use absolute paths in footer links

Summary: Currently links are relative so clicking them from https://entgo.io/docs/getting-started/ resolves to https://entgo.io/docs/getting-started/docs/getting-started/ which is invalid

Reviewed By: dlvhdr

Differential Revision: D17201398

fbshipit-source-id: becff35bfc689601377882c461b60e2019711a8e
This commit is contained in:
Alex Snast
2019-09-05 00:15:24 -07:00
committed by Facebook Github Bot
parent f1bea078e5
commit d8eab42654

View File

@@ -29,16 +29,16 @@ class Footer extends React.Component {
<section className="sitemap">
<div>
<h5>Docs</h5>
<a href="docs/getting-started">
<a href={this.docUrl('getting-started')}>
Getting Started
</a>
<a href="docs/schema-def">
<a href={this.docUrl('schema-def')}>
Schema Guide
</a>
<a href="docs/code-gen">
<a href={this.docUrl('code-gen')}>
Code Generation
</a>
<a href="docs/migrate">
<a href={this.docUrl('migrate')}>
Schema Migration
</a>
</div>