getOption('layout', 'base') === 'docs') { return view('layout.docs.master'); } return theme()->getView('layout.master'); } }