-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from MikhailKravets/2.1.0
2.1.0
- Loading branch information
Showing
52 changed files
with
3,429 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Package that brings PlantUML to MkDocs""" | ||
|
||
__version__ = "2.0.0" | ||
__version__ = "2.1.0" |
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
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
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,66 @@ | ||
<h3 align="center"> | ||
|
||
<img src="img/[email protected]" width=200 /> | ||
|
||
🌊 kanagawa 🌊 | ||
</h3> | ||
|
||
----------------- | ||
|
||
Kanagawa theme implements a color palette defined in [kanagawa.nvim](https://github.com/rebelot/kanagawa.nvim). This color scheme is inspired by Katsushika Hokusai’s work, | ||
especially, his famous "The Great Wave". | ||
|
||
## How to use | ||
|
||
In order to use this theme with `mkdocs_puml`, set `theme` config of the plugin as follows: | ||
|
||
```yml | ||
theme: | ||
light: kanagawa/fuji | ||
dark: kanagawa/wave | ||
``` | ||
## Flavors | ||
This theme has two flavors | ||
- `fuji` for light mode | ||
- `wave` for dark mode | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/classes/classes-fuji.svg)|![](examples/classes/classes-wave.svg)| | ||
|
||
## Examples | ||
|
||
Let's take a look at some diagrams other diagrams with `kanagawa` theme. | ||
|
||
### Sequence | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/sequence/sequence-fuji.svg)|![](examples/sequence/sequence-wave.svg)| | ||
|
||
### Activity | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/activity/activity-fuji.svg)|![](examples/activity/activity-wave.svg)| | ||
|
||
### State | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/state/state-fuji.svg)|![](examples/state/state-wave.svg)| | ||
|
||
### Entity | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/entity/entity-fuji.svg)|![](examples/entity/entity-wave.svg)| | ||
|
||
### C4 | ||
|
||
|**kanagawa/fuji**|**kanagawa/wave**| | ||
|:-------:|:--------:| | ||
|![](examples/c4/c4-fuji.svg)|![](examples/c4/c4-wave.svg)| |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,16 @@ | ||
@startuml | ||
!include https://raw.githubusercontent.com/MikhailKravets/mkdocs_puml/themes/themes/kanagawa/fuji.puml | ||
|
||
skinparam backgroundcolor white | ||
start | ||
fork | ||
:action 1; | ||
fork again | ||
:action 2; | ||
fork again | ||
:action 3; | ||
fork again | ||
:action 4; | ||
end merge | ||
stop | ||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,28 @@ | ||
@startuml | ||
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml | ||
|
||
!include https://raw.githubusercontent.com/MikhailKravets/mkdocs_puml/themes/themes/kanagawa/fuji.puml | ||
|
||
' skinparam backgroundcolor white | ||
|
||
!define DEVICONS https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/devicons | ||
!define FONTAWESOME https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/master/font-awesome-5 | ||
!include DEVICONS/angular.puml | ||
!include DEVICONS/java.puml | ||
!include DEVICONS/msql_server.puml | ||
!include DEVICONS/redis.puml | ||
!include FONTAWESOME/users.puml | ||
|
||
Person(user, "Customer", "People that need products", $sprite="users") | ||
Container(spa, "SPA", "angular", "The main interface that the customer interacts with", $sprite="angular") | ||
Container(api, "API", "java", "Handles all business logic", $sprite="java") | ||
|
||
Container_Boundary(db_boundary, "Databases"){ | ||
ContainerDb(db, "Database", "Microsoft SQL", "Holds product, order and invoice information", $sprite="msql_server") | ||
ContainerDb(redis, "Cache & MB", "Redis", "Cache and simple message broker", $sprite="redis") | ||
} | ||
|
||
Rel_D(user, spa, "Uses") | ||
Rel_R(spa, api, "Uses") | ||
Rel_R(api, db, "Reads/Writes") | ||
@enduml |
Oops, something went wrong.