pub async fn build_site(config: AbbayeConfig) -> Result<()>Expand description
Build the full website into config.output_dir (defaults to public/).
ยงSteps
- Extract the current version via the configured [
AnyVersionExtractor]. - Run every configured builder and split the resulting [
ArtifactPath]s into dist (regular files) and docs (directories). - Copy dist artifacts to
<output>/<version>/dist/. - Copy doc directories to
<output>/<version>/docs/<crate>/and archive the wholedocs/tree asdocs.tar.gz. - Render
<output>/<version>/index.htmlfrom the project README and the matching changelog section. - Re-render the root
<output>/index.html, listing all known versions (newest first). - Update the
<output>/latestsymlink (Unix) or redirect page (other).