Coder Social home page Coder Social logo

docs.rtcamp.com's Introduction

rtCamp Docs

This includes following details

  • Product Documentation
  • Release Notes
  • Change Logs (Maybe)

Getting Started

Install Jekyll

gem install jekyll

Run Docs site on localhost

git clone [email protected]:static/docs-rtcamp-com.git
cd docs-rtcamp-com
jekyll serve

Create New Page

  • Create pages easily via rake task:
rake page name="about.md"
  • Create a nested page:
rake page name="pages/about.md"
  • Create a page with a "pretty" path:
rake page name="pages/about"
# this will create the file: ./pages/about/index.html

NOTE: When you add a new page, set its permalink into the YAML Front Matter of the page as follows. This will help Jekyll in generating parent-child relationship of the pages and Breadcrumbs as well.

  • Parent Page YAML Front Matter
---
layout: page
title: "Parent Page"
description: ""
permalink: parent-page-slug/
---
  • Child Page YAML Front Matter
---
layout: page
title: "Child Page"
description: ""
permalink: parent-page-slug/child-page-slug/
---
  • Directory Structure would be as follows:
|-parent-page-slug
	|-index.markdown
	|-child-page-slug
		|-index.markdown

Publish

After you've added pages or made changes to your files, simply commit them to your git repo and push the commits up to server.

git add .
git commit -m "Addding new Doc"
git push origin master

A git post-commit hook will automatically deploy your changes to http://docs.rtcamp.com.

List Child Pages

Whenever you are creating a new parent folder which does not have index.md/index.html/index.markdown, you will need to add such file, so that its following child pages do not break in permalinks and breadcrumbs.

You may put following snippet in the content to display a list of child pages:

{% child_pages depth:1 %}

This template accepts two parametes:

  • depth: You may define the depth till which the template should go while listing child pages.

docs.rtcamp.com's People

Contributors

desaiuditd avatar rahul286 avatar sumeetsarna avatar tecnich avatar nitun avatar sagarjadhav avatar ritesh-patel avatar mdavid2574661 avatar bombaypirate avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.