Skip to content

Commit dec2227

Browse files
authored
Merge pull request #1165 from lread/lread-rel-doc-img-refs
docs: use project relative links for malli content
2 parents 28d72f4 + 3291e2b commit dec2227

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

CHANGELOG.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ borkdude/edamame '1.4.25' to '1.4.27'
5858

5959
## 0.16.3 (2024-08-05)
6060

61-
* `:->` added to default registry, see [documentation](https://github.com/metosin/malli/blob/master/docs/function-schemas.md#flat-arrow-function-schemas).
61+
* `:->` added to default registry, see [documentation](/docs/function-schemas.md#flat-arrow-function-schemas).
6262
* New `:seqable` and `:every` schemas [#1041](https://github.com/metosin/malli/pull/1041), see [docs](https://github.com/metosin/malli#seqable-schemas)
6363
* Fix OOM error with infinitely expanding schema [#1069](https://github.com/metosin/malli/pull/1069)
6464
* Correctly form prop-less schemas that have map/nil as first child [#1071](https://github.com/metosin/malli/pull/1071)
@@ -112,9 +112,9 @@ borkdude/edamame '1.4.25' to '1.4.27'
112112

113113
```clojure
114114
;; function of arg:int -> ret:int, where arg < ret
115-
[:=>
116-
[:cat :int]
117-
:int
115+
[:=>
116+
[:cat :int]
117+
:int
118118
[:fn (fn [[[arg] ret]] (< arg ret))]]
119119
```
120120

@@ -455,7 +455,7 @@ borkdude/edamame 0.0.18 -> 0.0.19
455455

456456
* `malli.dev.pretty/explain` for pretty-printing explanations
457457

458-
<img src="https://github.com/metosin/malli/blob/master/docs/img/pretty-explain.png" width=800>
458+
<img src="docs/img/pretty-explain.png" width=800>
459459

460460
* updated dependencies:
461461

@@ -761,7 +761,8 @@ No need to play with Compiler options or JVM properties to swap the default regi
761761

762762
* New experimental pretty printer for schema errors, using [fipp](https://github.com/brandonbloom/fipp).
763763

764-
<img src="https://github.com/metosin/malli/blob/master/docs/img/defn-schema.png">
764+
![](/docs/img/defn-schema.png)
765+
765766

766767
### Extender API
767768

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Data-driven Schemas for Clojure/Script and [babashka](#babashka).
1010

1111
[Metosin Open Source Status: Active](https://github.com/metosin/open-source/blob/main/project-status.md#active). Stability: well matured [*alpha*](#alpha).
1212

13-
<img src="https://raw.githubusercontent.com/metosin/malli/master/docs/img/malli.png" width=130 align="right"/>
13+
<img src="docs/img/malli.png" width=130 align="right"/>
1414

1515
- Schema definitions as data
1616
- [Vector](#vector-syntax), [Map](#map-syntax) and [Lite](#lite) syntaxes
@@ -46,7 +46,7 @@ Try the [online demo](https://malli.io), see also some [3rd Party Libraries](#3r
4646

4747
Want to contribute? See the [Development](#development) guide.
4848

49-
<img src="https://raw.githubusercontent.com/metosin/malli/master/docs/img/malli-defn.png" width="600" />
49+
<img src="docs/img/malli-defn.png" width="600" />
5050

5151
> Hi! We are [Metosin](https://metosin.fi), a consulting company. These libraries have evolved out of the work we do for our clients.
5252
> We maintain & develop this project, for you, for free. Issues and pull requests welcome!
@@ -1022,11 +1022,11 @@ Now, any exception thrown via `malli.core/-fail!` is being captured and pretty p
10221022

10231023
Pretty Coercion:
10241024

1025-
<img src="https://github.com/metosin/malli/blob/master/docs/img/pretty-coerce.png" width=800>
1025+
<img src="docs/img/pretty-coerce.png" width=800>
10261026

10271027
Custom exception (with default layout):
10281028

1029-
<img src="https://github.com/metosin/malli/blob/master/docs/img/bats-in-the-attic.png" width=800>
1029+
<img src="docs/img/bats-in-the-attic.png" width=800>
10301030

10311031
Pretty printing in being backed by `malli.dev.virhe/-format` multimethod using `(-> exception (ex-data) :data)` as the default dispatch key. As fallback, exception class - or exception subclass can be used, e.g. the following will handle all `java.sql.SQLException` and it's parent exceptions:
10321032

@@ -1044,7 +1044,7 @@ Pretty printing in being backed by `malli.dev.virhe/-format` multimethod using `
10441044

10451045
For pretty development-time error printing, try `malli.dev.pretty/explain`
10461046

1047-
<img src="https://github.com/metosin/malli/blob/master/docs/img/pretty-explain.png" width=800>
1047+
<img src="docs/img/pretty-explain.png" width=800>
10481048

10491049
## Value transformation
10501050

@@ -3277,7 +3277,7 @@ Transforming Schemas into [DOT Language](https://en.wikipedia.org/wiki/DOT_(grap
32773277

32783278
Visualized with [Graphviz](https://graphviz.org/):
32793279

3280-
<img src="https://raw.githubusercontent.com/metosin/malli/master/docs/img/dot.png"/>
3280+
![Graphviz image output](/docs/img/dot.png)
32813281

32823282
### PlantUML
32833283

@@ -3292,7 +3292,7 @@ Transforming Schemas into [PlantUML](https://plantuml.com/):
32923292

32933293
Visualized with [PlantText](https://www.planttext.com/):
32943294

3295-
<img src="https://raw.githubusercontent.com/metosin/malli/master/docs/img/plantuml.png"/>
3295+
![PlanText image output](/docs/img/plantuml.png)
32963296

32973297
## Lite
32983298

0 commit comments

Comments
 (0)