Skip to content

neoito-hub/learningHub

Repository files navigation

learningHub | Style Guides and Learning materials for devs, to build lightning fast web apps ๐Ÿš€

Website link: https://learn.neoito.com/

To contribute:

Site is built using gatsby and below are the instructions to add content.

To install and run app;

yarn install
yarn start

Deploy: All the changes in master branch will be deployed to live site using github actions and gh-pages.

Hacks:

There is a content folder in the root directory, where pages / topics are added as Markdown.

To create a new page; add a new file where filename will be assigned as the route / topic.

To change title and meta desc of each page

---
title: "Introduction"
metaTitle: "This is the title tag of this page"
metaDescription: "This is the meta description"
---

To create sub category structures, follow same structure as shell.md and shell directory

Place the above snippet of code in all MD files to customize title and meta data.

To change website title, description, theming and order of pages: Edit config.js file in the root

To change order or to define specific routes

forcedNavOrder: [
      '/introduction', // add trailing slash if enabled above
      '/newcomers',
      '/linux',
      '/git',
      '/angular',
      '/python',
      '/nativescript'
    ]

Happy Hacking ๐Ÿ™Œ

Credits:

Hasura [gitbook] - https://github.com/hasura/gatsby-gitbook-starter