Skip to content

Commit

Permalink
Revert "Merge branch 'main' of https://github.com/tcet-opensource/doc…
Browse files Browse the repository at this point in the history
…umentation into 241-tl-troubleshoot-welcome-app"

This reverts commit 02365fb, reversing
changes made to 9c9b89c.
  • Loading branch information
himanshu-03 committed Oct 11, 2023
1 parent 7c6131e commit 2767fae
Show file tree
Hide file tree
Showing 90 changed files with 30,170 additions and 8,366 deletions.
3 changes: 0 additions & 3 deletions .env

This file was deleted.

2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on:
pull_request:
branches:
- main
- staging
- blogs
workflow_dispatch:

permissions:
contents: read

env:
API_KEY: ${{secrets.API_KEY}}
APPLICATION_ID: ${{secrets.APPLICATION_ID}}
index: ${{secrets.index}}

jobs:
build:
Expand All @@ -18,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
.env.development.local
.env.test.local
.env.production.local
.env

npm-debug.log*
yarn-debug.log*
Expand Down
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/documentation.iml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

28 changes: 1 addition & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ One of the key visions of the TCET Open Source Organization is to provide users

The **Documentation Website** will act as our Organization's website. It will consist of the *documentation of all projects* undertaken by TCET Open Source. The website will also have dedicated *blogs contributed by the community* covering various different interests.

## Hacktoberfest
### Powered by:
<img width="311" alt="mlh-logo-color" src="https://github.com/tcet-opensource/hacktober-fest/assets/55846983/d5ccae96-86a7-4fed-8f00-e9f1d0aa5cac">

### How to contribute
Read our [workflow](https://opensource.tcetmumbai.in/docs/resources/workflows/external-workflow/) guide, and have a look at issues marked with the <code>Hacktoberfest</code> tag on it. Do not forget to read the rest of the README. For serious doubts, contact the project maintainers on our discord server.

## Cloning

To clone the repository copy paste the following command in your system's terminal.
Expand All @@ -37,25 +30,6 @@ Run the project live on your local system to make changes and check the updates.
npm run start
```

## .env File Setup

In addition to cloning the repository and setting up the project as described above, you will need to create a .env file to configure certain environment variables. These variables are essential for the proper functioning of the Documentation Website. Here's how you can set up the .env file:

+ Create the .env file: First, create a file named .env in the root directory of your cloned repository.

+ Add API Key and Application ID: Inside the .env file, you'll need to set two important variables: API_KEY and APPLICATION_ID. These variables are used for connecting to external services or APIs that the website may rely on.

```
API_KEY=<your_api_key>
APPLICATION_ID=<your_id>
index=tcetopensource
```

+ API_KEY should be replaced with the actual API key required for your project. Make sure to obtain the API key from the respective service or provider you're using.

+ APPLICATION_ID should be replaced with the unique application ID required for your project. Again, obtain this ID from the relevant service or provider.


<div align="center">
<h3> Connect with us<a href="https://gifyu.com/image/Zy2f"><img src="https://github.com/milaan9/milaan9/blob/main/Handshake.gif" width="50px"></a>
</h3>
Expand All @@ -65,4 +39,4 @@ index=tcetopensource
<a href="https://discord.gg/r7ZhAREg2M" target="_blank"><img alt="Discord" width="40px" src="https://cdn-icons-png.flaticon.com/512/5968/5968756.png"></a> &nbsp&nbsp&nbsp
<a href="mailto:[email protected]" target="_blank"><img alt="Gmail" width="40px" src="https://cdn-icons-png.flaticon.com/512/5968/5968534.png"></a> &nbsp&nbsp&nbsp
<a href="https://www.linkedin.com/company/tcet-opensource/" target="_blank"><img alt="LinkedIn" width="40px" src="https://cdn-icons-png.flaticon.com/512/3536/3536505.png"></a> &nbsp&nbsp&nbsp
</p>
</p>
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
slug: blog-posting-guidelines
title: General Posting Guidelines
title: First Blog - General Posting Guidelines
authors: [gaurang, vishal]
tags: [free, open, source, software]
description: General Posting Guidelines
description: First Blog - General Posting Guidelines
keywords: [free, open, source, software]
---

Expand All @@ -13,12 +13,10 @@ Welcome everyone to TCET Open Source's Blog Section. Here, we promote blogging i

:::note

This particular blog will have recurring adjustments. Last revised on Oct 1st, 2023.
This particular blog will have recurring adjustments.

:::

<!--truncate-->

## General Blog Guidlines

Here we define all the basic guidlines a blog should follow in TCET Open Source Blogs.
Expand All @@ -42,11 +40,11 @@ Once you have cloned the project in your local storage, you will need to perform
yyyy-mm-dd-blog-title
```
* Here, the date stands for the date when the post is supposed to be released. The blog title should be relevant to the content within the post.
3. Within the folder, create `index.mdx`. This file will serve as a text document where you can format your content which will reflect in the final post.
3. Within the folder, create `index.md`. This file will serve as a text document where you can format your content which will reflect in the final post.

### Understand markdown files and syntax

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. The `index.mdx` file created in your blog folder is a markdown file, similar to how _index.html_ can be an HTML file. It is very essential for a blog contributor to understand the basic syntax of markdown. _Resource forum_ in our **[Discord server](https://discord.com/invite/r7ZhAREg2M)** covers basic syntax of these files.
Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. The `index.md` file created in your blog folder is a markdown file, similar to how _index.html_ can be an HTML file. It is very essential for a blog contributor to understand the basic syntax of markdown. _Resource forum_ in our **Discord server** covers basic syntax of these files.

### First steps

Expand All @@ -63,12 +61,12 @@ These four information are necessary to be present in every post. Without these,
:::info Mention Authors

Authors can be added in two ways.
- Internally in `index.mdx` (recommended, for outside organization contributors)
- Internally in `index.md` (recommended, for outside organization contributors)
- In the `authors.yml` file. (**TCET Open Source Members only**)

If you are not a member of the organization, you can simply append your author(s) in the following way:

```mdx
```md
authors:
- name: Name of Author 1
title: Designation, Post or About
Expand All @@ -92,7 +90,7 @@ authors:
Tired of good ol' _textbook nerdy_ look on your post? Introducing: **images**. Images are a great way to keep the reader's attention to your posts, and now you can do that very easily:
1. The image must be present within your blog folder. If it isn't, save the image in your blog folder.
2. To add the image within your post, use the following syntax:
```mdx
```sh
![Alt text](image.png)
```
* Here, `image.png` stands for the name of the image you have in the blog directory. Markdown supports a great amount of image formats, ranging from png, jpg, svg, and even gifs.
Expand All @@ -101,28 +99,6 @@ Tired of good ol' _textbook nerdy_ look on your post? Introducing: **images**. I
Is gif pronounced _gif_ or _jif_? Something to ponder upon.
:::

### Utilizing truncate

Many bloggers have many different ways to write their blogs. Many start off with a nice paragraph, some start off with images, and some do both! All blogging practices are welcome in the Organization. However it is important to **truncate**.

Truncate is a custom breakpoint introduced in the blog to identify how much part of the blog should be visible in the feed. It cuts off the rest of the blog which can be read further by opening the blog itself. Here's a good example of how to use it:

:::info This is a blogpost
```mdx
Hello and welcome to my blogpost.
Today we will be covering everything you can imagine!
JAM Stack, Web3, ML, Data Science, my favourite food, Cybersecurity, and much more.
Sounds like a hefty lot, and it would be embarassing to flood out the entire blogs feed.
This might be a decent place to cut the rest of the blog out!

<!--truncate-->

Here's where the rest of the blog content goes
```
:::

Hence in the output, only the above paragraph is visible on the feed. The rest of the blog would be visible once the viewer opens your blog.

### Congratulations

Following these steps and points, you will be able to create a beautiful blog post. It's final structure would look something like this:
Expand Down
Binary file removed blog/2023-10-06-linux-cli/history.png
Binary file not shown.
Loading

0 comments on commit 2767fae

Please sign in to comment.