diff --git a/docs/functions/index.md b/docs/functions/index.md index 9e7da65..9440fec 100644 --- a/docs/functions/index.md +++ b/docs/functions/index.md @@ -35,4 +35,4 @@ hide_table_of_contents: false ## License -The Ionic UI Toolkit is a free and open source project, released under the permissible MIT license. This means it can be used in personal or commercial projects for free. MIT is the same license used by such popular projects as jQuery and Ruby on Rails. +useReact is a free and open source project, released under the permissible MIT license. This means it can be used in personal or commercial projects for free. MIT is the same license used by such popular projects as jQuery and Ruby on Rails. diff --git a/docs/index.md b/docs/index.md index 27fc600..721e3a9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -37,4 +37,4 @@ import DocsCards from '@components/global/DocsCards'; --> ## License -The Ionic UI Toolkit is a free and open source project, released under the permissible MIT license. This means it can be used in personal or commercial projects for free. MIT is the same license used by such popular projects as jQuery and Ruby on Rails. +useReact is a free and open source project, released under the permissible MIT license. This means it can be used in personal or commercial projects for free. MIT is the same license used by such popular projects as jQuery and Ruby on Rails. diff --git a/docs/intro.md b/docs/intro.md deleted file mode 100644 index 45e8604..0000000 --- a/docs/intro.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -sidebar_position: 1 ---- - -# Tutorial Intro - -Let's discover **Docusaurus in less than 5 minutes**. - -## Getting Started - -Get started by **creating a new site**. - -Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**. - -### What you'll need - -- [Node.js](https://nodejs.org/en/download/) version 18.0 or above: - - When installing Node.js, you are recommended to check all checkboxes related to dependencies. - -## Generate a new site - -Generate a new Docusaurus site using the **classic template**. - -The classic template will automatically be added to your project after you run the command: - -```bash -npm init docusaurus@latest my-website classic -``` - -You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor. - -The command also installs all necessary dependencies you need to run Docusaurus. - -## Start your site - -Run the development server: - -```bash -cd my-website -npm run start -``` - -The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there. - -The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/. - -Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes. diff --git a/docusaurus.config.ts b/docusaurus.config.ts index a3f0fc6..89508ed 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -56,8 +56,7 @@ const config: Config = { sidebarPath: "./sidebars.ts", // Please change this to your repo. // Remove this to remove the "edit this page" links. - editUrl: - "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/", + editUrl: "https://github.com/dedalik/use-react-docs/tree/main", }, blog: { showReadingTime: true, @@ -116,38 +115,34 @@ const config: Config = { }, ], }, - { - title: "Community", - items: [ - { - label: "Stack Overflow", - href: "https://stackoverflow.com/questions/tagged/docusaurus", - }, - { - label: "Discord", - href: "https://discordapp.com/invite/docusaurus", - }, - { - label: "Twitter", - href: "https://twitter.com/docusaurus", - }, - ], - }, + // { + // title: "Community", + // items: [ + // { + // label: "Stack Overflow", + // href: "https://stackoverflow.com/questions/tagged/docusaurus", + // }, + // { + // label: "Discord", + // href: "https://discordapp.com/invite/docusaurus", + // }, + // { + // label: "Twitter", + // href: "https://twitter.com/docusaurus", + // }, + // ], + // }, { title: "More", items: [ - { - label: "Blog", - to: "/blog", - }, { label: "GitHub", - href: "https://github.com/facebook/docusaurus", + href: "https://github.com/dedalik/use-react", }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} useReact, Legram Inc. Built with Docusaurus.`, + copyright: `Copyright © ${new Date().getFullYear()} useReact. Built with Docusaurus.`, }, prism: { theme: prismThemes.oneLight, diff --git a/src/pages/index.tsx b/src/pages/index.tsx index ac0cddd..fed27fe 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,11 +1,6 @@ -import clsx from "clsx"; -import Link from "@docusaurus/Link"; import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; import Layout from "@theme/Layout"; import HomepageFeatures from "@site/src/components/HomepageFeatures"; -import Heading from "@theme/Heading"; - -import styles from "./index.module.css"; function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); @@ -15,14 +10,14 @@ function HomepageHeader() {
{siteConfig.tagline}
-