remove EOL 1.10.1 release
1 file changed
tree: a96a0d1ad88722c8b1d84634524bab417fd454cd
  1. .github/
  2. css/
  3. docs/
  4. font/
  5. images/
  6. js/
  7. scripts/
  8. site-src/
  9. .asf.yaml
  10. .dockerignore
  11. .gitignore
  12. .htaccess
  13. 404.html
  14. CONTRIBUTING.md
  15. doap_Fineract.rdf
  16. Dockerfile
  17. index.html
  18. index.xml
  19. LICENSE.txt
  20. README.md
  21. security.html
  22. sitemap.xml
README.md

fineract-site

Apache Fineract website source repository for https://fineract.apache.org.

Prerequisites

  • Git
  • Docker

Source Of Truth

  • Hugo source is in site-src/.
  • Generated output is in .build/site.
  • Static passthrough is mounted from:
    • docs/ -> /docs/
    • css/ -> /css/
    • js/ -> /js/
    • images/ -> /images/
    • font/ -> /font/
    • .htaccess -> /.htaccess
    • doap_Fineract.rdf -> /doap_Fineract.rdf

Do not edit generated output directly. Edit files under site-src/ and mounted static sources instead.

Local Build and Checks (Docker)

  1. Build the site tool image:
docker build -t fineract-site .
  1. Build site and run checks (internal links):
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src fineract-site build
  1. Serve locally with watch mode:
docker run --rm -it -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src -p 1313:1313 fineract-site serve
  1. Optional: run checks only (without rebuilding):
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/src" -w /src/site-src fineract-site check

Windows PowerShell equivalent (no UID/GID mapping):

docker build -t fineract-site .
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

CI/CD

  • PR validation workflow: .github/workflows/site-pr-check.yml
    • Builds the same Docker image used locally
    • Runs build + checks in container
  • Publish workflow: .github/workflows/site-publish.yml
    • Builds on pushes to asf-site
    • Commits generated publish files back to asf-site via GitHub Actions

Note: .build/ is ignored in .gitignore and is never pushed.

Contributor Guide

See CONTRIBUTING.md for branch/PR workflow and validation checklist.