Link to master version of doc when editing (#262)

* Ensure Edit this Doc links always point to the master source of truth, and not a particular version

* Only show Edit this Doc link if editUrl has been set
This commit is contained in:
Héctor Ramos 2017-12-05 15:44:14 -08:00 committed by Joel Marcey
parent 80fc8169b7
commit 97612cf20b
2 changed files with 29 additions and 18 deletions

View file

@ -52,6 +52,7 @@ class DocsLayout extends React.Component {
this.props.metadata.title
: this.props.metadata.title
}
version={metadata.version}
language={metadata.language}
/>
<div className="docs-prevnext">