-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
173 additions
and
22 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,6 +1,3 @@ | ||
# Mkdocs | ||
venv | ||
|
||
# Wally | ||
Packages | ||
DevPackages | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Creating Actions |
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 @@ | ||
# Creating Menus |
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 @@ | ||
# Creating Toolbars |
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 @@ | ||
# Setup |
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 @@ | ||
# Saving Data |
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,10 @@ | ||
--- | ||
hide: | ||
- toc | ||
- navigation | ||
--- | ||
|
||
An extension of Framework with added plugin support and methods. | ||
|
||
[Guides](./guides/){ .md-button .md-button--primary } | ||
[API Reference](./api/){ .md-button } |
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,13 +1,18 @@ | ||
--- | ||
hide: | ||
- navigation | ||
--- | ||
|
||
# Installation | ||
|
||
### Roblox | ||
|
||
1. Go to the [latest releases page](https://github.com/lumin-dev/LuminPluginFramework/releases/latest) | ||
1. Go to the [latest releases page](https://github.com/luminlabsdev/plugin-framework/releases/latest) | ||
2. Download `Standalone.rbxm` | ||
3. Select `Insert from file`, and find `Standalone.rbxm` in your designated downloads folder | ||
|
||
### Wally | ||
|
||
1. Open a project in your favorite text editor | ||
2. Add `lumin/plugin-framework@^0.1.0` to your `wally.toml` file | ||
3. Run `wally install` the project should be inside of your `/Packages` directory. | ||
2. Add `lumin/plugin-framework@^0.3.0` to your `wally.toml` file | ||
3. Run `wally install` the project should be inside of your `/Packages` directory. |
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,79 @@ | ||
site_name: Lumin Plugin Framework | ||
repo_url: https://github.com/luminlabsdev/plugin-framework | ||
repo_name: plugin-framework | ||
copyright: Copyright © 2021 - 2024 Lumin Labs & Contributors | ||
edit_uri: edit/main/docs/ | ||
nav: | ||
- Home: index.md | ||
- Guides: | ||
- Setup: guides/index.md | ||
- Saving Data: guides/saving-data.md | ||
- Creating Toolbars: guides/creating-toolbars.md | ||
- Creating Actions: guides/creating-actions.md | ||
- Creating Menus: guides/creating-menus.md | ||
- API: api/index.md | ||
- Install: installation.md | ||
- Changelog: changelog.md | ||
markdown_extensions: | ||
- attr_list | ||
- pymdownx.emoji: | ||
emoji_index: !!python/name:material.extensions.emoji.twemoji | ||
emoji_generator: !!python/name:material.extensions.emoji.to_svg | ||
- pymdownx.highlight: | ||
anchor_linenums: true | ||
line_spans: __span | ||
pygments_lang_class: true | ||
- pymdownx.superfences: | ||
custom_fences: | ||
- name: mermaid | ||
class: mermaid | ||
format: !!python/name:pymdownx.superfences.fence_code_format | ||
extra: | ||
social: | ||
- icon: fontawesome/brands/github | ||
link: https://github.com/luminlabsdev | ||
- icon: fontawesome/brands/discord | ||
link: https://luminlabsdev.github.io/link/discord | ||
theme: | ||
name: material | ||
favicon: assets/images/favicon.ico | ||
font: | ||
text: Inter | ||
code: JetBrains Mono | ||
icon: | ||
edit: material/pencil | ||
view: material/eye | ||
features: | ||
- navigation.instant | ||
- navigation.instant.progress | ||
- navigation.tabs | ||
- navigation.path | ||
- navigation.top | ||
- navigation.footer | ||
- content.action.edit | ||
- content.code.copy | ||
- content.code.select | ||
- content.tooltips | ||
palette: | ||
|
||
# Palette toggle for automatic mode | ||
- media: "(prefers-color-scheme)" | ||
toggle: | ||
icon: material/brightness-auto | ||
name: Switch to light mode | ||
|
||
# Palette toggle for light mode | ||
- media: "(prefers-color-scheme: light)" | ||
scheme: default | ||
primary: black | ||
toggle: | ||
icon: material/brightness-7 | ||
name: Switch to dark mode | ||
|
||
# Palette toggle for dark mode | ||
- media: "(prefers-color-scheme: dark)" | ||
scheme: slate | ||
primary: black | ||
toggle: | ||
icon: material/weather-night | ||
name: Switch to system preference |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-- Variables | ||
|
||
local plugin = script:FindFirstAncestorWhichIsA("Plugin") | ||
|
||
local Index = {} | ||
Index.__index = Index | ||
|
||
-- Functions | ||
|
||
local function New(name: string) | ||
local self = setmetatable({ | ||
Toolbar = plugin:CreateToolbar(name), | ||
Buttons = {} | ||
}, Index) | ||
return self | ||
end | ||
|
||
function Index.Button(self: any, name: string, tooltip: string, image: string, onClick: () -> ()) | ||
local Button = self.Toolbar:CreateButton(name, tooltip, image) | ||
Button.Click:Connect(onClick) | ||
table.insert(self.Buttons, Button) | ||
end | ||
|
||
-- Module | ||
|
||
return { | ||
New = New, | ||
} |
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,5 @@ | ||
return { | ||
Menu = require(script.Menu), | ||
Toolbar = require(script.Toolbar), | ||
Widget = require(script.Widget), | ||
} |
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