Thank you for investing your time in contributing to our project✨
If you don't have Git Bash on your machine, install it.
If you are new to Git and Github, you need to create a Github Account. It is advisable that you go through Git Handbook before moving to next step.
Fork this repository by clicking on the fork button on the top of this page. This will create a copy of this repository in your account.Now clone the forked repository to your machine. Go to your GitHub account, open the forked repository, click on the code button and then click the copy to clipboard icon.
Open Git Bash and run the following git command:
git clone url
where url is the url you just copied! (your fork of this project).
For example:
git clone https://github.com/username/Wikisyllabus.git
where username
is your GitHub username. Here you're copying the contents of the Wikisyllabus repository on GitHub to your computer.
What's an issue?
To create an issue, On the main page of your repository, click Issues. Click New issue.
Click Get started next to the type of issue you'd like to open. Or, click Open a blank issue if the type of issue you'd like to open isn't included in the available options.
Type a title and description for your issue. Then click Submit new issue.
Open up the project in your favourite text editor, select the file you want to contribute to, and make your changes.Make sure to save the edits. ...
If you fork and clone the WikiSyllabus Repository, follow these steps:
- Navigate to the
Wikisyllabus
folder. - If you are contributing materials for other universities, create a new folder with the university's name (e.g.,
foldername: MG
). Inside this folder, add aSUMMARY.md
file and type the university's name (e.g.,MG
).
For contributions to KTU (Kerala Technological University):
-
There are two folders:
2019_scheme
and2015_scheme
. -
Inside each of these folders, there are seven folders,
S1&S2
toS8
. -
Go to the folder corresponding to the semester you want to contribute.
-
Create a new folder with the course code as its name.
-
Add a
SUMMARY.md
file inside this folder and type the current folder's name, and the subject name. Add its index that your going to contribute md files Example :-(If your Subject is C-programming)# EST 102 - C PROGRAMMING #### INDEX - [Introduction to C Programming](./1intro.md) - [Variables and Keywords](./2variables_keywords.md) - [Datatypes](./3datatypes.md)
-
You can create one or more
.md
files in this folder. The names of these files should be specific to their content.
- If you have a PDF file, you can copy the text from the PDF and paste it into the
.md
file. - If there are any pictures in the PDF, take a screenshot and upload it at the appropriate position in the
.md
file.- If you are using GitHub for editing, you can easily drag and drop the image at the desired position.
- If the study material you want to contribute is already present, do not add it again. However, if there are any changes or additions to the existing content, you can edit the corresponding
.md
file and add your content below the current one.
- Open the
README.md
file in the repository. - Add a new
<td>
inside the table like this:<table><tr><td></td></tr></table>
. - Inside the
<td>
tag, add your details in the following format:
<td align="center">
<a href="https://github.com/your_github">
<img src="link_of_your_image_from_github" width="100px;" alt="" />
<br />
<sub><b>Your_Name</b></sub>
</a>
<br />
<a href="your_commit_link" title="File_type">Give a symbol</a>
</td>
- Commit your changes and create a pull request.
All the files in this project are .md
files. You would need to have Markdown knowledge to contribute to this project.
Markdown is a fast and easy way to take notes, create content for a website, and produce print-ready documents. It doesn't take long to learn the Markdown syntax, and once you know how to use it, you can write using Markdown just about everywhere. Visit here to master Markdown.
You could add Notes, Useful Website links, Youtube lecture links or anything you find useful in learning the specific topic.
An individual can earn 200 karma points for each contribution. You can contribute twice in a month to earn more karma points.
...
Open Git Bash, navigate to the project directory and execute the command git status
, you'll see there are changes.
Add those changes to the branch you just created using the git add
command:
git add filename.md
You can also add all the unstaged files using : git add .
Now commit those changes using the git commit
command:
git commit -m "commit message"
Push your changes using the command git push
:
git push origin main
What is a pull request?
You can find more GitHub Commands here
Congrats! You just completed the standard fork -> clone -> edit -> pull request workflow that you'll encounter often as a contributor!🎉
Comment on Issue or Pull Request, asking @all-contributors to add your details.
@all-contributors please add @<username> for <contributions>
eg:
@all-contributors please add @userid for coding
Make sure to add this comment after merging one of your PR to main
mdBook is a command line tool and Rust crate to create books with Markdown. You can edit the markdown files (.md) in a text editor of your choice, but you wouldn’t be able to view the rendered output in the book form with formatting. To view the book as intended, you will need to set up the mdBook CLI on your system.
mdBook can be installed with cargo, the package manager for Rust extensions. Cargo installation procedure is different depending on the OS you’re running.
-
Install rustup and cargo by running this command in the terminal. (Note : You may need to reopen the terminal after this command executes.)
curl https://sh.rustup.rs -sSf | sh
-
Install the mdBook CLI from cargo
cargo install mdbook
-
Check version of mdBook installed to verify the installation was successful
cargo -V
-
Install rustup and cargo
-
To use cargo, you may need to have C/C++ Build tools. If you don’t have it installed, there are two options, choose either one.
- GNU C Compiler : Install it using the following commands
rustup toolchain install stable-x86_64-pc-windows-gnu
rustup default stable-x86_64-pc-windows-gnu
- Visual Studio C++ Build Tools : Install C++ build tools from this link
- GNU C Compiler : Install it using the following commands
-
Install the mdBook CLI from cargo :
cargo install mdbook
-
Check version of mdBook installed to verify the installation was successful :
cargo -V
You could go through mdBook Handbook to get more familiar with mdBook.