Skip to content

Commit b0fbaf6

Browse files
Transform custom validation text into a folder
1 parent 8dfbe31 commit b0fbaf6

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/content/docs/validation/01-getting-started/first-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,4 @@ formatted shouldContain "wrong number"
149149
- Learn how Validation works internally:
150150
[Architecture](../09-developers-guide/architecture.md).
151151
- If you need organization-specific rules:
152-
[Adding custom validation](../adding-custom-validation.md).
152+
[Custom validation](../08-custom-validation/).

docs/content/docs/validation/adding-custom-validation.md renamed to docs/content/docs/validation/08-custom-validation/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Adding custom validation
1+
# Custom validation
22

33
Users can extend the library by providing custom Protobuf options and code generation logic.
44

@@ -15,11 +15,11 @@ Follow these steps to create a custom option:
1515

1616
Below is a workflow diagram for a typical option:
1717

18-
![Typical custom option](.github/readme/typical_custom_option.jpg)
18+
![Typical custom option](../.github/readme/typical_custom_option.jpg)
1919

2020
## What’s next
2121

22-
- Learn where this plugs in: [Architecture](09-developers-guide/architecture.md).
22+
- Learn where this plugs in: [Architecture](../09-developers-guide/architecture.md).
2323

2424
Take a look at the `:java-tests:extensions` module that contains a full example of
2525
implementation of the custom `(currency)` option.

docs/content/docs/validation/09-developers-guide/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ The workflow is the following:
1818
## What’s next
1919

2020
- See the project layout: [Key modules](key-modules.md).
21-
- If you need organization-specific rules: [Adding custom validation](../adding-custom-validation.md).
21+
- If you need organization-specific rules: [Custom validation](../08-custom-validation/).

docs/content/docs/validation/09-developers-guide/key-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
## What’s next
1010

11-
- Build custom constraints: [Adding custom validation](../adding-custom-validation.md).
11+
- Build custom constraints: [Custom validation](../08-custom-validation/).

docs/content/docs/validation/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ options, and runs those checks automatically when you build messages.
1111
## Deeper topics
1212

1313
- How it works: [Architecture](09-developers-guide/architecture.md)
14-
- Extension points: [Adding custom validation](adding-custom-validation.md)
14+
- Extension points: [Custom validation](08-custom-validation/)

0 commit comments

Comments
 (0)