diff --git a/.moonwave/custom.css b/.moonwave/custom.css new file mode 100644 index 0000000..b7ef463 --- /dev/null +++ b/.moonwave/custom.css @@ -0,0 +1,42 @@ +@import url("https://Cinnab0nBak3ry.github.io/AppleFontsCSS/Apple-fonts.css"); +@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap'); + +:root { + --ifm-color-primary: #cba6f7; + --ifm-color-primary-dark: #b580f4; + --ifm-color-primary-darker: #aa6df2; + --ifm-color-primary-darkest: #8934ed; + --ifm-color-primary-light: #e1ccfa; + --ifm-color-primary-lighter: #ecdffc; + --ifm-color-primary-lightest: #ffffff; + + --ifm-footer-color: ##a6adc8; + --ifm-footer-background-color: #45475a; + + --ifm-font-family-base: "SF Pro Display"; + --ifm-font-family-monospace: "JetBrains Mono"; + --ifm-font-family-monospace: "JetBrains Mono"; + --ifm-code-font-size: 80%; +} + +/* Catppuccin Mocha from https://github.com/catppuccin/catppuccin?tab=readme-ov-file#-palette */ + +[data-theme='dark']:root { + --ifm-color-scheme: dark; + --ifm-background-color: #1e1e2e; + --ifm-background-surface-color: #313244; + --ifm-color-black: #11111b; + --ifm-font-color-base: #cdd6f4; +} + + +/* + TODO: Light theme catppuccin latte + [data-theme='light']:root { + --ifm-color-scheme: light; + --ifm-background-color: ##eff1f5; + --ifm-background-surface-color: #ccd0da; + --ifm-color-white: #e6e9ef; + --ifm-font-color-base: ##4c4f69; + } +*/ \ No newline at end of file diff --git a/.moonwave/static/logo.png b/.moonwave/static/logo.png new file mode 100644 index 0000000..8c6c446 Binary files /dev/null and b/.moonwave/static/logo.png differ diff --git a/lib/future.luau b/lib/future.luau index dda79dd..0678f55 100644 --- a/lib/future.luau +++ b/lib/future.luau @@ -63,7 +63,8 @@ export type Status = "initialized" | "pending" | "cancelled" | "ready" @interface Future @within Future - This is a dictionary that may contain one or more of the following values: + Represents the internal state of a [Future]. + @field _thread thread -- The background coroutine spawned for execution @field _ret T -- The value returned once execution has halted @field _spawnEvt Signal<()> -- Event for internal communication among threads pre execution diff --git a/moonwave.toml b/moonwave.toml new file mode 100644 index 0000000..68d7dce --- /dev/null +++ b/moonwave.toml @@ -0,0 +1,24 @@ +title = "rusty-luau" +gitRepoUrl = "https://github.com/CompeyDev/rusty-luau" + +gitSourceBranch = "main" +changelog = true + +[docusaurus] +onBrokenLinks = "throw" +onBrokenMarkdownLinks = "warn" +favicon = "/logo.png" +organizationName = "CompeyDev" +url = "https://rusty-luau.devcomp.xyz" +baseUrl = "/" +tagline = "Strongly typed implementations of various rust idioms in luau." + +# TODO: Disable theme toggle +# [docusaurus.themeConfig.colorMode] +# defaultMode = "dark" +# disableSwitch = true +# respectPrefersColorScheme = false + +[footer] +style = "light" +copyright = "Copyright © 2021 Erica Marigold."