Giter VIP home page Giter VIP logo

grain-lang.org's Introduction

Grain Website

Documentation for the Grain programming language at grain-lang.org.

Netlify Status

About

This documentation site is a Hexo site. All of the docs are generated from Markdown files, and Hexo builds a static website that is hosted on Netlify.

Contributing

Editing a Document

To make a change to a document, edit the corresponding Markdown file in src. The file path matches the URL path after /docs, but if you have trouble finding the page you're looking for, you can click the "Edit on GitHub" button at the top of page on the website.

Adding a New Document

Create your new Markdown file in src. You'll also need to update docs_config.yml to include your new page in the sidebar. Each document starts with some front-matter, which is a bit of yml/json that is given to the renderer. For now, this only includes the title of the page. Since the title of the page is an h1, headers in your document should begin at level 2:

---
title: Some Title of Some Topic
---

## Content Begins Here

Previewing the Site

Once a PR is created, Netlify will create a preview site and comment on the PR with a link. If you'd like to view your changes locally,

For the docs, run:

npm install
npm run start-docs

For the blog, run:

npm install
npm run start-blog

This will install all build dependencies and serve the website on port 3000.

grain-lang.org's People

Contributors

asyncanup avatar c0d3d avatar cameron-miller avatar cmmartin avatar dependabot[bot] avatar designsbysm avatar ecancino avatar keichinger avatar ospencer avatar peblair avatar phated avatar razzius avatar saulecabrera 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.