Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

Commit

Permalink
make doc links directly [deploy pr]
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Aug 28, 2019
1 parent ed9d76d commit 9270f64
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/reports/DynamicDataset.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import './DynamicDataset.css'

function makeListLink(href, val) {
return (
<li key={href}>
<li>
<a download={true} href={href}>{val}</a>
</li>
)
}

function linkToDocs(){
return [
makeListLink('/documentation/2018/public-lar-schema/', 'Public LAR Schema'),
makeListLink('/documentation/2018/public-ts-schema/', 'Public Transmittal Sheet Schema'),
makeListLink('/documentation/2018/public-panel-schema/', 'Public Panel Schema'),
<li key="0"><a href="/documentation/2018/public-lar-schema/">Public LAR Schema</a></li>,
<li key="1"><a href="/documentation/2018/public-ts-schema/">Public Transmittal Sheet Schema</a></li>,
<li key="2"><a href="/documentation/2018/public-panel-schema/">Public Panel Schema</a></li>
]
}

Expand Down
6 changes: 3 additions & 3 deletions src/reports/snapshot/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function makeListLink(href, val) {

function linkToDocs(){
return [
makeListLink('/documentation/2018/public-lar-schema/', 'Public LAR Schema'),
makeListLink('/documentation/2018/public-ts-schema/', 'Public Transmittal Sheet Schema'),
makeListLink('/documentation/2018/public-panel-schema/', 'Public Panel Schema'),
<li key="0"><a href="/documentation/2018/public-lar-schema/">Public LAR Schema</a></li>,
<li key="1"><a href="/documentation/2018/public-ts-schema/">Public Transmittal Sheet Schema</a></li>,
<li key="2"><a href="/documentation/2018/public-panel-schema/">Public Panel Schema</a></li>
]
}

Expand Down

0 comments on commit 9270f64

Please sign in to comment.