Skip to content

Commit

Permalink
add index, rename tutorial docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carbon-hvze committed Jul 31, 2023
1 parent ab3bbd3 commit 662db34
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 44 deletions.
5 changes: 5 additions & 0 deletions customers-x/_index.zd
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:title "Index"
:menu-order 98
:desc /
shows database structure in a compact format. folds documents which have >20 children.
:zd/index
1 change: 1 addition & 0 deletions customers-x/timeline.zd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:title "Timeline"
:icon [:fa-duotone :fa-list-timeline]
:menu-order 99
:desc /
shows history of changes in zendoc repo from git remote
Expand Down
44 changes: 0 additions & 44 deletions customers-x/tutorial/1doc/visuals.zd

This file was deleted.

File renamed without changes.
File renamed without changes.
44 changes: 44 additions & 0 deletions customers-x/tutorial/doc/visuals.zd
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

:title "3. Visual ways to think in data"

:desc /

zendoc includes support for [mermaid](https://mermaid.js.org/) and mindmaps.

:mermaid mm/
---
title: Animal example
---
classDiagram
note "From Duck till Giraffe"
Animal <|-- Duck
note for Duck "can fly\ncan swim\ncan dive\ncan help in debugging"
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}

:mindmap mindmap/

What is mindmap?
* It is a tool for thought
* ask questions
* structure knowledge
* It is a brainstorm method
* set goals
* generate ideas
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

:title "2. Zentext markup language"
:desc /

Expand Down

0 comments on commit 662db34

Please sign in to comment.