Expand description
Generates the site from the configuration and builds it.
ConstantsΒ§
- TEMPLATE_
ROOT_ πINDEX - TEMPLATE_
VERSION_ πINDEX
FunctionsΒ§
- archive_
dir π - Pack
srcdirectory into a.tar.gzarchive atdest. - build_
site - Build the full website into
config.output_dir(defaults topublic/). - compare_
versions π - copy_
dir_ πrecursive - Recursively copy the contents of
srcintodst. - find_
doc_ πcrates - Scan
docs_dirfor subdirectories that contain anindex.htmland return their names. Used to build a fallback listing when rustdoc itself did not generate a rootindex.html(typical for multi-crate workspaces). - load_
config - Load the Abbaye2 configuration from the current working directory.
- render_
markdown π - Render Markdown to an HTML string.
- strip_v π
- Compare two version strings, preferring semver ordering and falling back to lexicographic comparison for non-semver strings (e.g. git describe output).
- update_
latest_ πsymlink - Create or replace the
latestsymlink inoutput_dir, pointing toversion_dir_name. - write_
docs_ πindex - Write a
docs/index.htmlthat either redirects straight to the single crateβs docs (one crate) or lists all crates (multiple crates).