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:
parent
499b98f1b0
commit
bb92447ce7
@ -23,7 +23,7 @@ module.exports = {
|
||||
resolve: 'gatsby-source-filesystem',
|
||||
options: {
|
||||
name: 'data',
|
||||
path: `${__dirname}/src/data`
|
||||
path: `${__dirname}/data`
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ export default class Sidebar extends Component {
|
||||
const { sidebar, location } = this.props
|
||||
|
||||
const sidebarfile = sidebar
|
||||
? require(`../data/sidebars/${sidebar}.yml`) // eslint-disable-line
|
||||
? require(`../../data/sidebars/${sidebar}.yml`) // eslint-disable-line
|
||||
: []
|
||||
|
||||
if (!sidebarfile) {
|
||||
|
Loading…
Reference in New Issue
Block a user