1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

move data folder to root

This commit is contained in:
Matthias Kretschmann 2018-11-08 14:53:46 +01:00
parent 499b98f1b0
commit bb92447ce7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
6 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ module.exports = {
resolve: 'gatsby-source-filesystem', resolve: 'gatsby-source-filesystem',
options: { options: {
name: 'data', name: 'data',
path: `${__dirname}/src/data` path: `${__dirname}/data`
} }
}, },
{ {

View File

@ -55,7 +55,7 @@ export default class Sidebar extends Component {
const { sidebar, location } = this.props const { sidebar, location } = this.props
const sidebarfile = sidebar const sidebarfile = sidebar
? require(`../data/sidebars/${sidebar}.yml`) // eslint-disable-line ? require(`../../data/sidebars/${sidebar}.yml`) // eslint-disable-line
: [] : []
if (!sidebarfile) { if (!sidebarfile) {