Skip to content

Commit c760ef4

Browse files
author
Ercan Er
committed
Update all files
1 parent 9302dfc commit c760ef4

File tree

10 files changed

+93
-62
lines changed

10 files changed

+93
-62
lines changed

blog/2019-05-29-long-blog-post.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
slug: long-blog-post
33
title: Long Blog Post
4-
authors: endi
4+
authors: ercaner
55
tags: [hello, docusaurus]
66
---
77

blog/authors.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
endi:
2-
name: Endilie Yacop Sucipto
3-
title: Maintainer of Docusaurus
4-
url: https://github.com/endiliey
5-
image_url: https://github.com/endiliey.png
1+
ercaner:
2+
name: Ercan Er
3+
title: Senior Frontend Developer
4+
url: https://github.com/ercan-er
5+
image_url: https://github.com/ercan-er.png
66

77
yangshun:
8-
name: Yangshun Tay
9-
title: Front End Engineer @ Facebook
10-
url: https://github.com/yangshun
11-
image_url: https://github.com/yangshun.png
8+
name: Yangshun Tay
9+
title: Front End Engineer @ Facebook
10+
url: https://github.com/yangshun
11+
image_url: https://github.com/yangshun.png
1212

1313
slorber:
14-
name: Sébastien Lorber
15-
title: Docusaurus maintainer
16-
url: https://sebastienlorber.com
17-
image_url: https://github.com/slorber.png
14+
name: Sébastien Lorber
15+
title: Docusaurus maintainer
16+
url: https://sebastienlorber.com
17+
image_url: https://github.com/slorber.png

docs/Javascript-Notes/_category_.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "Javascript Notes",
3+
"position": 2,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "Javascript important topics for me"
7+
}
8+
}

docs/Javascript-Notes/context.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
sidebar_label: "Context"
3+
sidebar_position: 1
4+
---

docs/React-Notes/React-notes.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
sidebar_label: "React - useState"
2+
sidebar_label: "useState"
33
sidebar_position: 1
44
---
55

6-
# useState()
6+
# useState
77

88
This is my **first Docusaurus document**!

docs/React-Notes/_category_.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"label": "React Docs",
3-
"position": 2,
3+
"position": 3,
44
"link": {
55
"type": "generated-index",
66
"description": "React important topics for me"

docs/React-Notes/useEffect.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
sidebar_label: "useEffect"
3+
sidebar_position: 2
4+
---
5+
6+
# useEffect
7+
8+
## What the fuck is this ?
9+
10+
This is my **first Docusaurus document**!

docs/intro.md

+44-24
Original file line numberDiff line numberDiff line change
@@ -2,46 +2,66 @@
22
sidebar_position: 1
33
---
44

5-
# EE Notes Intro
5+
# My Notes
66

77
Let's discover **Blog or My Notes**.
88

9-
## Getting Started
9+
## What am I doing here
1010

11-
Get started by **reading some notes**.
11+
I am writing my own notes here, from my English notes to my Node.js notes. I will try to keep the notes as short as possible.
12+
They may be useful for you or they may not interest you at all. I hope you find something useful.
1213

13-
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
14+
## Software Development Notes
1415

15-
### What you'll need
16+
These are my notes on various software development topics, including.
1617

17-
- [Node.js](https://nodejs.org/en/download/)
18-
- You need Node js knowledge.
18+
### `Javascript`
1919

20-
## Generate a new site
20+
Javascript is everything. ;)
2121

22-
Generate a new Docusaurus site using the **classic template**.
22+
### `React`
2323

24-
The classic template will automatically be added to your project after you run the command:
24+
React is a JavaScript library for building user interfaces.
25+
Components are the building blocks of React applications.
26+
Use React's state and props to manage data and pass it between components.
2527

26-
```bash
27-
npm init docusaurus@latest my-website classic
28-
```
28+
### `React Native`
2929

30-
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
30+
React Native is a mobile application development framework that uses React to build native mobile apps.
31+
Components in React Native work similarly to those in React, but are specific to mobile devices.
32+
React Native supports both iOS and Android platforms.
3133

32-
The command also installs all necessary dependencies you need to run Docusaurus.
34+
### `SCSS`
3335

34-
## Start your site
36+
SCSS (Sassy CSS) is a preprocessor scripting language that is compiled into CSS.
37+
Use SCSS to write CSS more efficiently and with more flexibility.
38+
SCSS supports variables, mixins, functions, and more.
3539

36-
Run the development server:
40+
### `Svelte`
3741

38-
```bash
39-
cd my-website
40-
npm run start
41-
```
42+
Svelte is a lightweight, fast, and easy-to-learn JavaScript framework for building web applications.
43+
Svelte compiles your code into highly optimized JavaScript code, resulting in fast and performant web applications.
44+
Svelte's component-based architecture makes it easy to build modular and reusable components.
4245

43-
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.
46+
### `Vue`
4447

45-
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/.
48+
Vue is a progressive JavaScript framework for building user interfaces.
49+
Vue is designed to be flexible and easy to learn, making it a great choice for beginners and experienced developers alike.
50+
Vue's component-based architecture makes it easy to build reusable and maintainable components.
4651

47-
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
52+
### `Node.js`
53+
54+
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
55+
Node.js allows developers to build scalable, high-performance web applications using JavaScript on both the server and client side.
56+
Node.js has a vast ecosystem of libraries and tools, making it a popular choice for web developers.
57+
I hope these notes are useful to you in your software development journey. Let me know if you have any questions or if there's anything else I can help with!
58+
59+
### English Learn Notes
60+
61+
#### `Vocabulary`
62+
63+
- I will write vocabulary notes
64+
65+
#### `Grammer`
66+
67+
- I am gonna write grammer tricky notes

docusaurus.config.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ const config = {
4141
sidebarPath: require.resolve("./sidebars.js"),
4242
// Please change this to your repo.
4343
// Remove this to remove the "edit this page" links.
44-
editUrl: "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
44+
// editUrl: "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
4545
},
4646
blog: {
4747
showReadingTime: true,
4848
// Please change this to your repo.
4949
// Remove this to remove the "edit this page" links.
50-
editUrl: "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
50+
// editUrl: "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
5151
},
5252
theme: {
5353
customCss: require.resolve("./src/css/custom.css"),
@@ -76,7 +76,7 @@ const config = {
7676
},
7777
{ to: "/blog", label: "Blog", position: "left" },
7878
{
79-
href: "https://github.com/facebook/docusaurus",
79+
href: "https://github.com/ercan-er",
8080
label: "GitHub",
8181
position: "right",
8282
},
@@ -99,15 +99,15 @@ const config = {
9999
items: [
100100
{
101101
label: "Stack Overflow",
102-
href: "https://stackoverflow.com/questions/tagged/docusaurus",
102+
href: "https://stackoverflow.com/users/5804675/ercaner",
103103
},
104104
{
105105
label: "Discord",
106-
href: "https://discordapp.com/invite/docusaurus",
106+
href: "https://discord.gg/qbn9cHM2",
107107
},
108108
{
109109
label: "Twitter",
110-
href: "https://twitter.com/docusaurus",
110+
href: "https://twitter.com/dev_ercaner",
111111
},
112112
],
113113
},
@@ -125,7 +125,7 @@ const config = {
125125
],
126126
},
127127
],
128-
copyright: `Copyright © ${new Date().getFullYear()} Ercan Er Docs, Inc. Built with Docusaurus.`,
128+
copyright: `Copyright © ${new Date().getFullYear()} Ercan Er Docs.`,
129129
},
130130
prism: {
131131
theme: lightCodeTheme,

src/pages/index.js

+3-14
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import clsx from "clsx";
33
import Link from "@docusaurus/Link";
44
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
55
import Layout from "@theme/Layout";
6-
import HomepageFeatures from "@site/src/components/HomepageFeatures";
6+
import { Redirect } from "react-router-dom";
77

88
import styles from "./index.module.css";
99

@@ -19,7 +19,7 @@ function HomepageHeader() {
1919
className="button button--secondary button--lg"
2020
to="/react-notes"
2121
>
22-
Look at the notes
22+
Look at the my notes
2323
</Link>
2424
</div>
2525
</div>
@@ -28,16 +28,5 @@ function HomepageHeader() {
2828
}
2929

3030
export default function Home() {
31-
const { siteConfig } = useDocusaurusContext();
32-
return (
33-
<Layout
34-
title={`Hello from ${siteConfig.title}`}
35-
description="Description will go into a meta tag in <head />"
36-
>
37-
<HomepageHeader />
38-
<main>
39-
<HomepageFeatures />
40-
</main>
41-
</Layout>
42-
);
31+
return <Redirect to="/docs/intro" />;
4332
}

0 commit comments

Comments
 (0)