💡 Visit paths.tinkerhub.org/python for the python path.
You can create a learning path via one of the following methods.
This is the easiest way of adding a new learning path. If you are familiar with GitHub and you consider youself as a CLI person, skip to the Using Hugo CLI section.
- Log in to the site's CMS at paths.tinkerhub.org/admin using your github account
- To add a new learning path click on the New Learning Path button
Field | Description | Example |
---|---|---|
title |
Title of the path | How to learn java |
publish date |
Date which the path is created | 08/15/2021 3:50 PM |
category |
Set the category of the path to
|
language |
image |
Upload an image or insert its url | images/java.png |
tags (comma seperated) |
Search terms for the learning path, used by the search bar to do fuzzy search | python, backend |
authors (comma seperated) |
GitHub usernames of authors | author1, author2 |
pathTypes (comma seperated) |
Sets the path type from the list. A path can have multiple path types | frontend,backend |
body |
Learning path content |
We will be using hugo, git and your favourite text editor to add the new learning path.
- Download and install Hugo and Git
- Fork the repository to your profile
- Clone the repository by running the following command:
git clone https://github.com/{your-username}/TinkerHub-Learning-Paths.git
- Create a new branch by running the following command:
git checkout -b "learning-path-name"
- Run the following command to create a new learning path
hugo new path-name.md
You can see that hugo generated a new file named path-name.md
under the content directory.
- Modify the file contents and metadata using your favourite text editor
- Run
hugo server
to preview your changes on the browser - If you are good with your changes, commit, push and open a pull request to this repository
Make sure that you follow code of conduct while contributing and engaging in the discussions.
- Netlify for sponsoring the Pro Plan
- This project uses Hugo paired with Netlify CMS
This project is licensed under MIT License