docs/node_modules/@docusaurus/plugin-content-docs/lib/index.js
// Add sidebar/next/previous to the docs
Add sidebar/next/previous to the docs
Add sidebar / next / previous to the docs
function addNavData(doc) {
                    const { sidebarName, previousId, nextId, } = sidebarsUtils.getDocNavigation(doc.id);
                    const toDocNavLink = (navDocId) => ({
                        title: docsBaseById[navDocId].title,
                        permalink: docsBaseById[navDocId].permalink,
                    });
                    return Object.assign(Object.assign({}, doc), { sidebar: sidebarName, previous: previousId ? toDocNavLink(previousId) : undefined, next: nextId ? toDocNavLink(nextId) : undefined });
                }
function addNavData ( doc ) { const { sidebarName , previousId , nextId , } = sidebarsUtils . getDocNavigation ( doc . id ) ; const toDocNavLink = ( navDocId ) => ( { title : docsBaseById [ navDocId ] . title , permalink : docsBaseById [ navDocId ] . permalink , } ) ; return Object . assign ( Object . assign ( { } , doc ) , { sidebar : sidebarName , previous : previousId ? toDocNavLink ( previousId ) : undefined , next : nextId ? toDocNavLink ( nextId ) : undefined } ) ; }
Add sidebar/next/previous to the docs
Add sidebar / next / previous to the docs