pub fn add_and_render_section(&mut self, path: &Path) -> Result<()> {
        let section = Section::from_file(path, &self.config, &self.base_path)?;
        self.add_section(section, true)?;
        self.populate_sections();
        let library = self.library.read().unwrap();
        let section = library.get_section(&path).unwrap();
        self.render_section(&section, true)
    }
/// Adds a section to the site and render it
/// Only used in `zola serve --fast`
Adds a section to the site and render it
Only used in `zola serve --fast`
Adds a section to the site and render it Only used in ` zola serve -- fast `
pub fn add_and_render_section(&mut self, path: &Path) -> Result<()> {
        let section = Section::from_file(path, &self.config, &self.base_path)?;
        self.add_section(section, true)?;
        self.populate_sections();
        let library = self.library.read().unwrap();
        let section = library.get_section(&path).unwrap();
        self.render_section(&section, true)
    }
pub fn add_and_render_section ( & mut self , path : & Path ) -> Result < ( ) > { let section = Section :: from_file ( path , & self . config , & self . base_path ) ? ; self . add_section ( section , true ) ? ; self . populate_sections ( ) ; let library = self . library . read ( ) . unwrap ( ) ; let section = library . get_section ( & path ) . unwrap ( ) ; self . render_section ( & section , true ) }
Adds a section to the site and render it
Only used in `zola serve --fast`
Adds a section to the site and render it Only used in ` zola serve -- fast `
&mut self
path
&Path
&mut self
path
&Path