You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,11 @@ With Notebook, you can easily contribute to technical content and gain valuable
34
34
35
35
Hey there, fellow developer !!!... I'm happy to see you intrested in contributing to this open source project. Since, this project is an open notebook for everyone, you're always welcome to make your techinal writing contribution by writing you own blog, tip & trick, documentation and much more. All you have to do is write down your content in `markdown`*(just like how wrote this README.md file)* and place those file within `_posts` directory.
36
36
37
-
> First time ???... Then I highly recommend you to check out [CONTRIBUTING.md](CONTRIBUTING.md"goto CONTRIBUTING.md").
37
+
> First time ???... Then I highly recommend you to check out [CONTRIBUTING.md](docs/CONTRIBUTING.md"goto CONTRIBUTING.md").
38
38
39
-
-**Step 1:**Make sure you install the required dependencies like `Ruby`, `bundler` and `Jekyll` framework. Installation varies from platform to platform, so make sure to check out the [CONTRIBUTING.md](CONTRIBUTING.md"goto CONTRIBUTING.md").
39
+
-**Step 1:**Setting up development environment. Refer to [CONTRIBUTING.md](docs/CONTRIBUTING.md"goto CONTRIBUTING.md") that guide you to setup the required evironment for the project.
40
40
41
-
-**Step 2:** After installing the required dependencies, [fork](https://github.com/Grow-with-Open-Source/Notebook/fork"Let's fork this repo") this repository and clone it in your local system, using the following command:
41
+
-**Step 2:** After setting up environment, [fork](https://github.com/Grow-with-Open-Source/Notebook/fork"Let's fork this repo") this repository and clone it in your local system, using the following command:
- **Step 6:** Now to the actual task, Create a new markdown file with `YYYY-MM_DD-your-post-name.md` *(make sure your post name is in small letters and separated by single dash)* within the [`_post`](/tree/main/_posts/) directory.
92
92
93
-
- **Step 7:** Each and every markdown file that you have created for content writing should contain the following meta data (or) config:
93
+
- **Step 7:** Each and every markdown file that you have created for content writing should contain the following meta data called `Front Matter
> - Note that the `+/-TTTT` in the `date` section refers the **UTC offset**. You can find your **UTC offset** value by searching for your country in the [list of UTC](https://en.wikipedia.org/wiki/List_of_UTC_offsets "Goto List of UTC offsets"). And if you're from India, you can use the above UTC offset from the example.
135
-
> - Also not that `img_path` and `image` *(including its sub attributes)* are optional and only need when you're going to add images to your post.
136
+
> - Also not that `media_subpath` and `image` *(including its sub attributes)* are optional and only need when you're going to add images to your post.
136
137
> - If there are more than one person working on a single post use `authors` attribute instead of `author`. And the input for the `authors` attribute will be a list of key of authors specified within the [`authors.yml`](_data/authors.yml) file.
137
138
138
-
- **Step 8:** Now, you can proceed to write your technical content. And if you have any images that are part of your technical writing, then create a new directory using your post's name within `assets/img` directory as `assets/img/<your-post-name>`. Now add your images to your folder. After adding images to your folder, don't forget to add location to `img_path` attribute as `img_path: ../../assets/img/<your-post-name>`. Now, you can directly access your images with specifying full relative path.
139
+
- **Step 8:** Now, you can proceed to write your technical content. And if you have any images that are part of your technical writing, then create a new directory using your post's name within `assets/img` directory as `assets/img/<your-post-name>`. Now add your images to your folder. After adding images to your folder, don't forget to add location to `media_subpath` attribute as `media_subpath: ../../assets/img/<your-post-name>`. Now, you can directly access your images with specifying full relative path.
139
140
140
141
> [!NOTE]
141
142
> It's highly suggested to use CDN links for images. But if you could not for any reason, then you can proceed with above process.
0 commit comments