meonkeys commented on code in PR #56:
URL: https://github.com/apache/fineract-site/pull/56#discussion_r2927335696
##########
README.md:
##########
@@ -56,6 +56,21 @@ docker run --rm -v "${PWD}:/src" -w /src/site-src
fineract-site build
docker run --rm -it -p 1313:1313 -v "${PWD}:/src" -w /src/site-src
fineract-site serve
```
+## Verifying ASF homepage footer checks locally
+
+Apache Whimsy validates that the public homepage includes specific ASF-required
+footer links and legal text. Before opening a PR, verify the footer locally.
+
+### Build and run checks
+```bash
+docker build -t fineract-site .
+docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src
fineract-site build
+docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src
fineract-site check
+
+Serve the site locally
+
+docker run --rm -it -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src -p
1313:1313 fineract-site serve
+
Review Comment:
How does one "verify the footer locally"? Do you mean visually? I would hope
a dev would run whimsy instead. And if there's any way we can make that easier
for them, we should. E.g. "before submitting your PR, do `docker run
whimsy-checks`" or something like that. And then add that same check to
`.github/workflows/site-pr-check.yml`. Then it's much more likely
https://whimsy.apache.org/site/project/fineract will show all green before and
after every PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]