forked from asyncapi/modelina
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: initial setup for user-centric docs (asyncapi#338)
Co-authored-by: Alejandra Quetzalli <19964402+alequetzalli@users.noreply.github.com>
- Loading branch information
1 parent
70aa0ab
commit e82f1ef
Showing
56 changed files
with
17,338 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Documentation | ||
|
||
<!-- toc is generated with GitHub Actions do not remove toc markers --> | ||
|
||
<!-- toc --> | ||
|
||
- [Usage](#usage) | ||
- [Advanced](#advanced) | ||
- [Integration](#integration) | ||
- [Development](#development) | ||
- [Input processing](#input-processing) | ||
- [Generators](#generators) | ||
- [Presets](#presets) | ||
- [Interpretation of JSON Schema draft 7](#interpretation-of-json-schema-draft-7) | ||
- [Languages](#languages) | ||
|
||
<!-- tocstop --> | ||
|
||
This document gives the overview of all the available documentation for Modelina. | ||
|
||
### [Usage](./usage.md) | ||
Contains simple use-cases that you'll encounter when using Modelina. | ||
|
||
### [Advanced](./advanced.md) | ||
Contains many of the advanced use-cases that you may stumble upon when pushing the limits of Modelina. | ||
|
||
### [Integration](./integration.md) | ||
Contains many advanced ways to integrate Modelina _(i.e. websites)_. | ||
|
||
### [Development](./development.md) | ||
Explains how to setup the project for development. | ||
|
||
### [Input processing](./input_processing.md) | ||
Details how input processing works. | ||
|
||
### [Generators](./generators.md) | ||
Details which different generator options are supported. | ||
|
||
### [Presets](./presets.md) | ||
Goes more in-depth into how the preset system works, which enables full customization of generators. | ||
|
||
### [Interpretation of JSON Schema draft 7](./interpretation_of_JSON_Schema_draft_7.md) | ||
Explains how a JSON Schema draft 7 schema is interpreted to a data model. | ||
|
||
### Languages | ||
Each language has its own limitations, corner cases, and features; thus, each language has separate documentation. | ||
- [C#](./languages/Csharp.md) | ||
- [Go](./languages/Go.md) | ||
- [Java](./languages/Java.md) | ||
- [JavaScript](./languages/JavaScript.md) | ||
- [TypeScript](./languages/TypeScript.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Advanced use-cases for Modelina | ||
This document contains many of the advanced use-cases that you may stumble upon when pushing the limits of Modelina. | ||
|
||
<!-- toc is generated with GitHub Actions do not remove toc markers --> | ||
|
||
<!-- toc --> | ||
|
||
- [Generate each model in the same file](#generate-each-model-in-the-same-file) | ||
- [Generate a model in separate files](#generate-a-model-in-separate-files) | ||
- [Include a custom function in the data model](#include-a-custom-function-in-the-data-model) | ||
- [Use the models for data transfer](#use-the-models-for-data-transfer) | ||
- [Extend the logic of an existing renderer](#extend-the-logic-of-an-existing-renderer) | ||
- [Build your own model renderer](#build-your-own-model-renderer) | ||
- [Create your own models from the ground up, instead of a supported input](#create-your-own-models-from-the-ground-up-instead-of-a-supported-input) | ||
- [Add logging to library](#add-logging-to-library) | ||
* [Example usage](#example-usage) | ||
- [Change the generated indentation type and size](#change-the-generated-indentation-type-and-size) | ||
- [Change the naming format for properties](#change-the-naming-format-for-properties) | ||
- [Change the naming format for data models](#change-the-naming-format-for-data-models) | ||
|
||
<!-- tocstop --> | ||
|
||
## Generate each model in the same file | ||
TODO | ||
|
||
## Generate a model in separate files | ||
TODO | ||
|
||
## Include a custom function in the data model | ||
TODO | ||
|
||
## Use the models for data transfer | ||
TODO | ||
|
||
## Extend the logic of an existing renderer | ||
TODO | ||
|
||
## Build your own model renderer | ||
TODO | ||
|
||
## Create your own models from the ground up, instead of a supported input | ||
TODO | ||
|
||
|
||
## Add logging to library | ||
When you generate models, by default, nothing is logged to the console or elsewhere. | ||
|
||
If you want to integrate a logging implementation specific to your needs, this library allows you to implement a detached logging module. | ||
|
||
The library uses 4 different logging levels: | ||
- `debug`: for specific details only relevant to debugging | ||
- `info`: for general information relevant to the user | ||
- `warn`: for warnings a user may need if the output is not as expected | ||
- `error`: for errors that occur in the library | ||
|
||
Check out this [example out for a live demonstration](../examples/custom-logging). | ||
|
||
## Change the generated indentation type and size | ||
TODO | ||
|
||
## Change the naming format for properties | ||
TODO | ||
|
||
## Change the naming format for data models | ||
TODO |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.