whole_func_string: function createNavigation( context ) {
  	const siteFragment = getSiteFragment( context.pathname );
  	let basePath = context.pathname;
  
  	if ( siteFragment ) {
  		basePath = sectionify( context.pathname );
  	}
  
  	return (
  		<NavigationComponent
  			path={ context.path }
  			allSitesPath={ basePath }
  			siteBasePath={ basePath }
  		/>
  	);
  }
func_code_string: function createNavigation( context ) {
  	const siteFragment = getSiteFragment( context.pathname );
  	let basePath = context.pathname;
  
  	if ( siteFragment ) {
  		basePath = sectionify( context.pathname );
  	}
  
  	return (
  		<NavigationComponent
  			path={ context.path }
  			allSitesPath={ basePath }
  			siteBasePath={ basePath }
  		/>
  	);
  }
func_documentation_string: /*
  The main navigation of My Sites consists of a component with
  the site selector list and the sidebar section items
  @param { object } context - Middleware context
  @returns { object } React element containing the site selector and sidebar