Skip to content

Commit 7239eaa

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # build.gradle
2 parents a460578 + 18eafb8 commit 7239eaa

38 files changed

+3647
-1605
lines changed

README.MD

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,33 @@ Ce framework puissant vous donne les outils nécessaires pour concevoir des menu
1818
> Il peut donc contenir des **bugs** / des **problèmes de performance**.
1919
> N'hésitez pas à nous faire part de vos retours, dans les [issues du repo](https://github.com/Libnaus/NoctisUI/issues).
2020
21+
### 📦 Utilisation comme dépendance
22+
23+
NoctisUI est disponible sur GitHub Packages et peut être utilisé comme dépendance dans vos mods Fabric.
24+
25+
#### Installation rapide
26+
27+
Ajoutez à votre `build.gradle`:
28+
29+
```gradle
30+
repositories {
31+
maven {
32+
name = "GitHubPackages"
33+
url = uri("https://maven.pkg.github.com/AxenoDev/NoctisUI")
34+
credentials {
35+
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_ACTOR")
36+
password = project.findProperty("gpr.token") ?: System.getenv("GITHUB_TOKEN")
37+
}
38+
}
39+
}
40+
41+
dependencies {
42+
modImplementation "fr.libnaus:noctisui:1.0.0"
43+
}
44+
```
45+
46+
Pour plus de détails sur l'installation et la configuration, consultez [MAVEN_PUBLISHING.md](MAVEN_PUBLISHING.md).
47+
2148
### Contribution
2249
1. Forkez le projet
2350
2. Assurez-vous de bien suivre les [conventions de contribution](CONTRIBUTING.md)

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -115,27 +115,27 @@ publishing {
115115
classifier = "sources"
116116
builtBy tasks.named("sourcesJar")
117117
}
118-
118+
119119
pom {
120120
name = 'NoctisUI'
121121
description = 'A Minecraft UI library for creating custom and interactive user interfaces'
122122
url = 'https://github.com/AxenoDev/NoctisUI'
123-
123+
124124
licenses {
125125
license {
126126
name = 'GNU General Public License v3.0'
127127
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
128128
}
129129
}
130-
130+
131131
developers {
132132
developer {
133133
id = 'AxenoDev'
134134
name = 'Timéo B.'
135135
email = 'tbavart@gmail.com'
136136
}
137137
}
138-
138+
139139
scm {
140140
connection = 'scm:git:git://github.com/AxenoDev/NoctisUI.git'
141141
developerConnection = 'scm:git:ssh://github.com:AxenoDev/NoctisUI.git'
@@ -155,7 +155,7 @@ publishing {
155155
password = System.getenv("GITHUB_TOKEN")
156156
}
157157
}
158-
158+
159159
// Local Maven repository for testing
160160
mavenLocal()
161161
}

docs/.vitepress/config.mts

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { defineConfig } from 'vitepress'
33
// https://vitepress.dev/reference/site-config
44
export default defineConfig({
55
lang: "en-US",
6-
title: "NoctisUI - Libnaus",
7-
description: "NoctisUI is a Minecraft UI library",
6+
title: "NoctisUI",
7+
description: "A powerful UI library for Minecraft Fabric mods",
88
sitemap: {
99
hostname: 'https://noctisui.libnaus.fr',
1010
},
@@ -16,14 +16,35 @@ export default defineConfig({
1616
logo: '/logo.svg',
1717
nav: [
1818
{ text: 'Home', link: '/' },
19-
{ text: 'Examples', link: '/markdown-examples' }
19+
{ text: 'Getting Started', link: '/getting-started' },
20+
{ text: 'API Reference', link: '/api/components' },
21+
{ text: 'Examples', link: '/examples/basic-button' }
2022
],
2123
sidebar: [
24+
{
25+
text: 'Introduction',
26+
items: [
27+
{ text: 'Getting Started', link: '/getting-started' }
28+
]
29+
},
30+
{
31+
text: 'API Reference',
32+
items: [
33+
{ text: 'Components', link: '/api/components' }
34+
]
35+
},
2236
{
2337
text: 'Examples',
2438
items: [
25-
{ text: 'Markdown Examples', link: '/markdown-examples' },
26-
{ text: 'Runtime API Examples', link: '/api-examples' }
39+
{ text: 'Basic Button', link: '/examples/basic-button' },
40+
{ text: 'Container Layout', link: '/examples/container-layout' },
41+
{ text: 'Custom Screen', link: '/examples/custom-screen' }
42+
]
43+
},
44+
{
45+
text: 'Guides',
46+
items: [
47+
{ text: 'Styling Guide', link: '/guides/styling' }
2748
]
2849
}
2950
],
@@ -34,7 +55,8 @@ export default defineConfig({
3455
provider: 'local'
3556
},
3657
footer: {
37-
message: 'Copyright © 2024-2025 Libnaus',
58+
message: 'Released under the GPL-3.0 License',
59+
copyright: 'Copyright © 2024-2025 Libnaus'
3860
}
3961
}
4062
})

docs/api-examples.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)