Contribution Guidelines
Welcome to the HPTU Exam Helper content contribution section. The content of the site is written in markdown, a lightweight markup language with plain-text formatting syntax. It is simple to learn and use, allowing contributors to focus on writing content without needing to understand complex formatting rules. Markdown supports a wide range of formatting options, including headings, lists, links, images, and code blocks, providing the flexibility needed to create rich, structured content. It also integrates seamlessly with GitHub, which is our chosen platform for managing and reviewing contributions. This makes it easy for contributors to submit their articles and for us to manage them.
You can contribute by writing articles on topics from your syllabus:
1. Choose a Topic - Select a topic from your syllabus in any subject.
2. Write Your Article - Prepare a well-structured article covering the chosen topic. Ensure clarity, depth, and relevance. Make sure you don’t just copy and paste articles from other sites or PDFs. You should modify the article.
3. Submit Your Article - We will review your article and provide feedback or approve it for publication.
How to Contribute?
There are two ways:
Changing an Existing Article on the Site
Open GitHub
- Click on the Continue to Github button.
![Continue img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fcontinue.a2a6ba12.png&w=1080&q=75)
- Create a GitHub account (if you don't have one).
![GitHub img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fgithub.ffcec0bc.png&w=3840&q=75)
After that, you will be redirected to the page shown below.
Fork the Repository
- You can start writing your article using md syntax and preview your code using the Preview button.
![Write img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fwrite.e6d4df2b.png&w=3840&q=75)
- After writing your article, click on the Commit changes... button.
![Commit Changes img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fcommit_changes.36e5d2fb.png&w=3840&q=75)
- Write a description of your changes in the title and click on the Propose changes button.
![Changes img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fchanges.45011fbc.png&w=1920&q=75)
- After that, click on the Create pull request button.
![Changes Button img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fchanges_button.cdecabb2.png&w=3840&q=75)
![Another img](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fanother.379c05f5.png&w=3840&q=75)
-
Upon review, your pull request can be labeled as
improve content
oraccepted
.accepted
- If your pull request is labeled asaccepted
, congratulations! Your article has been approved and will be published on the site :)improve content
- If your pull request is labeled asimprove content
, additional instructions will be provided detailing what changes are needed. You might need to edit your article.
You will receive an email regarding the status of your pull request.
Edit Article
-
To edit your submitted article, go to the site pulls page, find your pull request, and click on your forked repository.
-
Find the article you have modified. Here, I have modified the article for Semester III -> Java Programming -> Unit I -> An Overview of Java.
-
Click on the edit icon, modify your article, and repeat steps from Fork the Repository step 3 and 4.
Writing a New Article
Open GitHub
-
Go to the HPTU Exam Helper repository.
-
Click on Add file -> Create new file button.
Fork the Repository
-
Fork the GitHub repository by clicking on the Fork this repository button.
-
Name your file based on the topic of the title, ensuring it ends with the
.md
extension. At the top of the article, make sure to mention the Semester -> Subject Name -> Unit.
-
The rest of the steps are the same as Fork the Repository step 3 onwards.
md
Syntax
Link syntax []()
can also be used to link to a YouTube video.
For example,
[MD Syntax](https://www.youtube.com/watch?v=dHIBYItuF2I)
will render as: MD Syntax