diff --git a/.gitignore b/.gitignore index cd9ceee..598a2f5 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ site-src/.hugo_build.lock # Generated commit message for docs/VERSION updates (scripts/generate_docs.py) /DOCS-LOG-MESSAGE + +# Python bytecode from running the scripts/ unit tests +__pycache__/ diff --git a/README.md b/README.md index 0f24691..ec416e1 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,14 @@ backend. To refresh it: Make sure the clone's working tree is clean (`git status`) -- the commit hash is recorded so the copied doc can be traced back to the exact source commit. + Install Graphviz (`dot`), plus `vl2vg` and `vg2svg` (`npm install -g vega-cli + vega-lite`), first. Without them the build still succeeds but leaves + diagrams out: PlantUML draws a "Cannot find Graphviz" error image in place of + each of its diagrams. `fineract-site docs` refuses such a page, and + `fineract-site build` fails on any already in `docs/` + (`scripts/check_doc_diagrams.py`). After installing Graphviz, delete + `fineract-doc/build` before rebuilding, as generated diagrams are cached. + 2. Run the `docs` command in the site tool image, mounting both repos: ```bash @@ -91,7 +99,8 @@ This copies `fineract-doc/build/docs/html/en/index.html` from the backend clone into `docs/VERSION/index.html`, then rewrites the Google Fonts and Font Awesome CDN links to point at the site's local `css/` stylesheets (per Apache project website requirements). Versions ending in `-SNAPSHOT` are overwritten; released -versions are not. +versions are not, unless you pass `--replace-release` to republish one from the +same release tag (e.g. to fix a broken build). It also suggests a commit message. Use it like so: diff --git a/docs/1.16.0/index.html b/docs/1.16.0/index.html index b3c005c..94c9393 100644 --- a/docs/1.16.0/index.html +++ b/docs/1.16.0/index.html @@ -927,7 +927,7 @@
Version: 1.16.0
Built on: Sat Oct 24 21:56:23 IST 2026
+Built on: Sun Oct 25 13:19:31 IST 2026
Note the version in the URL path:
@@ -2715,7 +2715,7 @@