+
+
+!!! info "Credits"
+
+ A Server Driven UI library for Android.
+ Inspired by the [_DynamicView_](https://github.com/rviannaoliveira/DynamicView).
-- [Setup](setup.md)
\ No newline at end of file
diff --git a/docs/notes/developers.md b/docs/notes/developers.md
new file mode 100644
index 0000000..f0b6085
--- /dev/null
+++ b/docs/notes/developers.md
@@ -0,0 +1,12 @@
+# For Developers
+
+!!! info "Note"
+ This library was created by the [CodandoTV YouTube channel](https://www.youtube.com/codandotv) community.
+
+If you want to participate in the project just get in touch or fork the project on github.
+
+- [:fontawesome-brands-github: CraftD repository](https://github.com/CodandoTV/CraftD/)
+
+And if you are not yet subscribed to the channel, give us a hand and subscribe.
+
+- [:fontawesome-brands-youtube: CodandoTV](https://www.youtube.com/codandotv)
\ No newline at end of file
diff --git a/docs/notes/license.md b/docs/notes/license.md
new file mode 100644
index 0000000..254cb5f
--- /dev/null
+++ b/docs/notes/license.md
@@ -0,0 +1,11 @@
+# License
+
+MIT License
+
+Copyright (c) 2024 CodandoTV and Rodrigo Vianna Calixto de Oliveira
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/docs/setup.md b/docs/setup.md
index 1a29b9f..4440c4a 100644
--- a/docs/setup.md
+++ b/docs/setup.md
@@ -2,20 +2,58 @@
## Android
-First of all, you should add the library in your `build.gradle.kts`. The latest android version (add latest version badge), so you can do:
-
-```
-implementation(....)
+- Add in your settings.gradle mavenCetral:
+
+```kotlin
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ //Stuff
+ mavenCentral()
+ }
+}
```
+- There are three versions for Android
+
+!!! example "Jetpack Compose"
+
+ ```kotlin
+ implementation("io.github.codandotv:craftd-compose:${last_version}")
+ ```
+
+!!! example "XML View System"
+
+ ```kotlin
+ implementation("io.github.codandotv:craftd-xml:${last_version}")
+ ```
+
+!!! example "Core"
+ Core - Is meant to be used for you to customize even the craftD mechanism
+
+ ```kotlin
+ implementation("io.github.codandotv:craftd-core:${last_version}")
+ ```
+
+## iOS
+
+- Add your pod ‘CraftDSwiftUI’
+
+!!! warning "In Progress"
+ This section is in progress...
+
## Flutter
-First of all, you should add the library in your `pubspec.yaml`. The latest flutter version (add latest version badge), so you can do:
+- Run this command with Flutter:
-```
-implementation(....)
+```shell
+flutter pub add craftd_widget
```
-## iOS
+This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
-TODO
\ No newline at end of file
+!!! example "pubspec.yml"
+ ```yaml
+ dependencies:
+ craftd_widget: $last_version
+ ```
\ No newline at end of file
diff --git a/docs/why.md b/docs/why.md
deleted file mode 100644
index 95ba5a9..0000000
--- a/docs/why.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Why
-
-CraftD provides an easy, and efficient way to implement Server Driven UI paradigm.
-
-The goals of CraftD are:
-
-- Provides an abstraction layer to build you widgets that comes from a server;
-
-- TODO
\ No newline at end of file
diff --git a/mkdocs.yml b/mkdocs.yml
new file mode 100644
index 0000000..ab4c498
--- /dev/null
+++ b/mkdocs.yml
@@ -0,0 +1,55 @@
+site_name: CraftD
+theme:
+ name: material
+ logo: assets/img/logo.png
+ font:
+ text: Merriweather Sans
+ code: Red Hat Mono
+ features:
+ - navigation.footer
+ - content.code.annotations # (1)!
+ - content.code.copy
+ palette:
+ # Dark Mode
+ - scheme: slate
+ toggle:
+ icon: material/weather-sunny
+ name: Dark mode
+ primary: deep purple
+ accent: light blue
+
+ # Light Mode
+ - scheme: default
+ toggle:
+ icon: material/weather-night
+ name: Light mode
+ primary: deep purple
+ accent: blue
+
+markdown_extensions:
+ - smarty
+ - codehilite:
+ guess_lang: false
+ - footnotes
+ - meta
+ - toc:
+ permalink: true
+ - pymdownx.betterem:
+ smart_enable: all
+ - pymdownx.caret
+ - pymdownx.inlinehilite
+ - pymdownx.magiclink
+ - pymdownx.smartsymbols
+ - pymdownx.superfences
+ - pymdownx.emoji
+ - pymdownx.details
+ - pymdownx.tabbed:
+ alternate_style: true
+ - tables
+ - admonition
+ - attr_list
+ - md_in_html
+ - pymdownx.blocks.caption
+ - pymdownx.emoji:
+ emoji_index: !!python/name:material.extensions.emoji.twemoji
+ emoji_generator: !!python/name:material.extensions.emoji.to_svg