diff --git a/docs/intro.md b/docs/intro.md deleted file mode 100644 index d37c886..0000000 --- a/docs/intro.md +++ /dev/null @@ -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!" } - } -} -``` \ No newline at end of file diff --git a/docusaurus.config.ts b/docusaurus.config.ts index da839cf..d22ffec 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -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: 'Blog', - // to: '/blog', - // }, { - label: 'GitHub', - href: 'https://github.com/facebook/docusaurus', + 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', + // }, + // ], + // }, ], copyright: `Copyright © ${new Date().getFullYear()} OSUI, Inc. Built with Docusaurus.`, }, diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 82795b3..caff784 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -16,7 +16,7 @@ function HomepageHeader() {