progressing
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
# Installation
|
||||
```bash
|
||||
cargo add osui
|
||||
```
|
||||
|
||||
# Hello World
|
||||
```rust title='src/main.rs'
|
||||
use osui::prelude::*;
|
||||
|
||||
fn main() {
|
||||
launch!(app());
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
rsx! {
|
||||
text { "Hello, World!" }
|
||||
}
|
||||
}
|
||||
```
|
||||
+23
-10
@@ -25,7 +25,7 @@ const config: Config = {
|
||||
docs: {
|
||||
sidebarPath: './sidebars.json',
|
||||
editUrl:
|
||||
'https://github.com/osui-rs/docs/',
|
||||
'https://github.com/osui-rs/docs/tree/master/',
|
||||
},
|
||||
blog: false,
|
||||
// blog: {
|
||||
@@ -85,8 +85,8 @@ const config: Config = {
|
||||
title: 'Docs',
|
||||
items: [
|
||||
{
|
||||
label: 'Tutorial',
|
||||
to: '/docs/intro',
|
||||
label: 'Installation',
|
||||
to: '/docs/',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -104,18 +104,31 @@ const config: Config = {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'More',
|
||||
title: 'Resources',
|
||||
items: [
|
||||
{
|
||||
label: 'Crossterm',
|
||||
href: 'https://github.com/crossterm-rs/crossterm',
|
||||
},
|
||||
{
|
||||
label: 'Rust-lang',
|
||||
href: 'https://rust-lang.org/',
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// title: 'More',
|
||||
// items: [
|
||||
// {
|
||||
// label: 'Blog',
|
||||
// to: '/blog',
|
||||
// },
|
||||
{
|
||||
label: 'GitHub',
|
||||
href: 'https://github.com/facebook/docusaurus',
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// label: 'GitHub',
|
||||
// href: 'https://github.com/facebook/docusaurus',
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
],
|
||||
copyright: `Copyright © ${new Date().getFullYear()} OSUI, Inc. Built with Docusaurus.`,
|
||||
},
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ function HomepageHeader() {
|
||||
<div className={styles.buttons}>
|
||||
<Link
|
||||
className="button button--secondary button--lg"
|
||||
to="/docs/intro">
|
||||
to="/docs">
|
||||
Get started
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
# Installation
|
||||
```bash
|
||||
cargo add osui
|
||||
```
|
||||
|
||||
# Hello World
|
||||
```rust title='src/main.rs'
|
||||
use osui::prelude::*;
|
||||
|
||||
fn main() {
|
||||
launch!(app());
|
||||
}
|
||||
|
||||
fn app() -> Element {
|
||||
rsx! {
|
||||
text { "Hello, World!" }
|
||||
}
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user