pub fn add_and_render_page(&mut self, path: &Path) -> Result<()> {
        let page = Page::from_file(path, &self.config, &self.base_path)?;
        self.add_page(page, true)?;
        self.populate_sections();
        self.populate_taxonomies()?;
        let library = self.library.read().unwrap();
        let page = library.get_page(&path).unwrap();
        self.render_page(&page)
    }
/// Adds a page to the site and render it
/// Only used in `zola serve --fast`
Adds a page to the site and render it
Only used in `zola serve --fast`
Adds a page to the site and render it Only used in ` zola serve -- fast `
pub fn add_and_render_page(&mut self, path: &Path) -> Result<()> {
        let page = Page::from_file(path, &self.config, &self.base_path)?;
        self.add_page(page, true)?;
        self.populate_sections();
        self.populate_taxonomies()?;
        let library = self.library.read().unwrap();
        let page = library.get_page(&path).unwrap();
        self.render_page(&page)
    }
pub fn add_and_render_page ( & mut self , path : & Path ) -> Result < ( ) > { let page = Page :: from_file ( path , & self . config , & self . base_path ) ? ; self . add_page ( page , true ) ? ; self . populate_sections ( ) ; self . populate_taxonomies ( ) ? ; let library = self . library . read ( ) . unwrap ( ) ; let page = library . get_page ( & path ) . unwrap ( ) ; self . render_page ( & page ) }
Adds a page to the site and render it
Only used in `zola serve --fast`
Adds a page to the site and render it Only used in ` zola serve -- fast `
&mut self
path
&Path
&mut self
path
&Path