Skip to main contentModule builder
Source use crate::hir_ext; ๐ use crate::render; ๐ use crate::utils::git_source_url; ๐ use crate::utils::is_safe_output_path; ๐ use crate::utils::read_deployments; ๐ use crate::utils::relative_source_path; ๐ use crate::vocs; ๐ use eyre::Result; ๐ use foundry_compilers::compilers::solc::SOLC_EXTENSIONS; ๐ use foundry_compilers::utils::source_files_iter; ๐ use foundry_config::DocConfig; ๐ use foundry_config::filter::expand_globs; ๐ use foundry_config::filter::is_ignored_path; ๐ use solar::config::CompilerStage; ๐ use solar::sema::Compiler; ๐ use std::collections::HashSet; ๐ use std::fs; ๐ use std::path::Path; ๐ use std::path::PathBuf; ๐ use std::time::Duration; ๐ use std::time::Instant; ๐ use rayon::prelude::*; ๐
- BuildStats
- Summary stats produced by
DocBuilder::build, surfaced to the user as
progress feedback by forge doc. - DocBuilder
- Build Solidity documentation for a project from natspec comments using
solar.
- update_manifest ๐
- The manifest is the ownership boundary: only previously generated pages can be pruned.
- write_pages ๐
- Write successful pages, but do not change ownership or prune if a user source failed.
- RenderResult ๐
- Successful pages or the path of a user source whose renderer panicked.