Skip to main content

write_site_files

Function write_site_files 

Source
pub fn write_site_files(
    out_dir: &Path,
    config: &DocConfig,
    pages: &[PathBuf],
    root: &Path,
    sources: &Path,
    branch: Option<&str>,
    commit: Option<&str>,
) -> Result<()>
Expand description

Write all vocs site scaffolding into out_dir.

pages is the list of relative MDX paths emitted by the render step (relative to out_dir/pages/). root is the project root and sources is the Solidity sources directory; both are searched for a README to use as the homepage.