Create a wiki for PictureSign

This commit is contained in:
Martin Prokoph
2024-06-28 11:53:00 +02:00
parent d404d99ccf
commit 75715104b1
11 changed files with 2845 additions and 2150 deletions

View File

@@ -6,7 +6,7 @@ title: MidnightLib Wiki
import VersionDropdown from '../../components/VersionDropdown.astro'
import { Icon } from 'astro-icon/components'
import { Notification } from 'accessible-astro-components'
import { resultingVersion } from '../../js/modversion.js'
import { getResultingVersion } from '../../js/modversion.js'
# MidnightLib Wiki
@@ -33,7 +33,7 @@ dependencies {
```
### `gradle.properties`
<VersionDropdown></VersionDropdown>
{<pre><code className="language-java">midnightlib_version = {resultingVersion}</code></pre>}
{<pre><code className="language-java">midnightlib_version = {getResultingVersion()}</code></pre>}
<Notification type="info">
<Icon name="ion:information-circle-outline" />
@@ -119,4 +119,13 @@ If you don't use the whole library and therefore not the automatic ModMenu integ
public ConfigScreenFactory<?> getModConfigScreenFactory() {
return parent -> MidnightConfig.getScreen(parent, "modid");
}`
```
```
<script>
import Alpine from "alpinejs";
document.addEventListener('alpine:init', () => {
//Alpine.data('versionSelection', () => ({
//}))
})
</script>