odoc link in footer, not sidebar, for now

This commit is contained in:
Georges Dupéron 2019-06-13 12:01:36 +02:00
parent 461b0ff331
commit 134f308889
2 changed files with 4 additions and 1 deletions

View File

@ -37,6 +37,9 @@ class Footer extends React.Component {
<a href={this.docUrl('contributors/origin.html', this.props.language)}> <a href={this.docUrl('contributors/origin.html', this.props.language)}>
Contribute Contribute
</a> </a>
<a href={this.docUrl('/odoc', this.props.language)}>
Api Documentation
</a>
</div> </div>
<div> <div>
<h5>Community</h5> <h5>Community</h5>

View File

@ -101,7 +101,7 @@ const siteConfig = {
{doc: 'api-cli-commands', label: 'CLI'}, {doc: 'api-cli-commands', label: 'CLI'},
{doc: 'tutorials/first-smart-contract', label: 'Tutorials'}, {doc: 'tutorials/first-smart-contract', label: 'Tutorials'},
{ blog: true, label: 'Blog' }, { blog: true, label: 'Blog' },
{ href: "/odoc", label: "Api" }, // TODO: { href: "/odoc", label: "Api" },
{doc: 'contributors/origin', label: 'Contribute'} {doc: 'contributors/origin', label: 'Contribute'}
], ],