From 27ec4e620a7b59313b1f94c765af5ab4f6e7b176 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Mon, 28 Sep 2026 13:04:54 +0100 Subject: [PATCH] Uhhhmmm... I may just have messed up my codox source path pattern... --- README.md | 18 +++++++++--------- project.clj | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 183c77c..12748c6 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ At present several useful functions are implemented: Return a list of maps, each representing one account from the `gaza.onl` database, with a key `:donations`, whose value is a float representing the total donations received by that account between the dates `start-date` (exclusive) and `end-date` (inclusive). Date arguments should be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L98) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L98) ### chart-accounts-with-donations-by-months-in-range @@ -38,7 +38,7 @@ Return a chart with one line for each calendar month covering from `start-date` TODO: There are currently two problems with this at present: chart legends are not displayed in sequential order; and there appears to be occasional spurious data (but I don’t know why). -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L138) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L138) ### chart-donations-as-percentage-in-date-range @@ -48,7 +48,7 @@ TODO: There are currently two problems with this at present: chart legends are Return a chart of donations received by individual accounts between `start-date` (exclusive) and `end-date` (inclusive). Arguments should be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. Accounts are identified in the chart only by rank order. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L125) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L125) ### chart-donations-by-accounts-in-date-range @@ -58,7 +58,7 @@ Return a chart of donations received by individual accounts between `start-date` Return a chart of donations received by individual accounts between `start-date` (exclusive) and `end-date` (inclusive). Arguments should be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. Accounts are identified in the chart only by rank order. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L115) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L115) ### chart-donations-by-weeks @@ -68,7 +68,7 @@ Return a chart of donations received by individual accounts between `start-date` Create and return an XY chart of data on field represented by `key` of donations made between `start-date` and `end-date`. Arguments may be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L58) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L58) ### chart-number-donations-by-weeks @@ -78,7 +78,7 @@ Create and return an XY chart of data on field represented by `key` of donations Create and return an XY chart of data on number of donations made between `start-date` and `end-date`. Arguments may be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L75) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L75) ### chart-total-donations-by-weeks @@ -88,7 +88,7 @@ Create and return an XY chart of data on number of donations made between `start Create and return an XY chart of data on total donations made between `start-date` and `end-date`. Arguments may be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L68) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L68) ### enhance-account-with-donations @@ -98,7 +98,7 @@ Create and return an XY chart of data on total donations made between `start-dat Take this `account_map`, which must at least have a valid value for the key `:campaign_url` and return a similar map including the key `:donations`, whose value is a float representing the total donations received by that campaign URL between the dates `sd` (exclusive) and `ed` (inclusive). Date arguments should be supplied as `java.time.LocalDate` objects. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L82) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L82) ### total-donations-by-weeks @@ -106,7 +106,7 @@ Take this `account_map`, which must at least have a valid value for the key `:ca Return a list of pairs [java.time.LocalDate date, float amount](file:///home/simon/workspace/gaza-stats/docs/codox/java.time.LocalDate date, float amount) representing the total of donations made between `start-date` and `end-date`. Arguments may be supplied as `java.time.LocalDate` objects, or as strings in the format `yyyy-mm-dd`. If `end-date` is not supplied, data for a single week will be returned. -[view source](https://github.com/simon-brooke/gaza-stats/blob/main/src/gaza_stats/core.clj#L18) +[view source](https://git.journeyman.cc/simon/gaza-stats/src/branch/main/src/gaza_stats/core.clj#L18) ### Viewing charts diff --git a/project.clj b/project.clj index e6bfa22..94cb8ae 100644 --- a/project.clj +++ b/project.clj @@ -6,7 +6,7 @@ :metadata {:doc "**TODO**: write docs" :doc/format :markdown} :output-path "docs/codox" - :source-uri "https://github.com/simon-brooke/gaza-stats/blob/main/{filepath}#L{line}"} + :source-uri "https://git.journeyman.cc/simon/gaza-stats/src/branch/main/{filepath}#L{line}"} :dependencies [[org.clojure/clojure "1.12.6"] [com.hypirion/clj-xchart "0.2.0"] [korma "0.4.3"]