• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

haskellfoundation/HaskellSchool

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

haskellfoundation/HaskellSchool

开源软件地址(OpenSource Url):

https://github.com/haskellfoundation/HaskellSchool

开源编程语言(OpenSource Language):

SCSS 50.9%

开源软件介绍(OpenSource Introduction):

Haskell School

Haskell school was built on the model and using the code of elixir school. You can find elixir school at ElixirSchool.com.

Feedback and participation are strongly encouraged! Please see Contributing for more details on how to get involved.

Running locally

Haskell School is generated using Jekyll. To run it locally, you need both Ruby and Bundler installed.

  1. Install dependencies:
$ bundle install
  1. Run Jekyll:
$ bundle exec jekyll s
  1. Access it at http://localhost:4000

Translating a lesson

  1. Each of the languages has a folder in root of this repo. To start translating you need to copy a file from the English language to the corresponding folder in your language and start translating it.

  2. Check the translation report for pages that haven't been translated yet, or for pages which need to have their translations updated in the corresponding language you want to work with.

  3. Translated lessons must include page metadata.

    • title should be a translation of the original lesson's title.
    • version should be set to the original English version.

    For example /ja/lessons/basics/basics.md:

---
title: 基本
version: 1.0.0
---
  1. Submit a PR with the new translated lesson and join https://school.haskell.org/contributors/.

Posting an article

In its current iteration Haskell School is powered by Jekyll, a powerful static blog generator. If you're familiar with Jekyll then you're ready to go, if you aren't don't fret we're here to help!

  1. We need to create the file for our article. Blog posts live in the _posts/ directory. Our filename will need to confirm to the YYYY-MM-DD-name-separated-with-hyphens.md pattern.

  2. After opening the new file in our favorite editor we need to add some metadata to the top of it:

---
author: Author Name
author_link: https://github.com/author_github_account (or website)
categories: article_category (find them or add a new one in _data/blog_meta.yml)
tags: ['phoenix'] (find them or create a new one in _data/blog_meta.yml)
date: YYYY-MM-DD for the post date
layout: post
title: Full Article Title
excerpt: >
 Article short preview text
---
  1. Once we've completed writing our post we should add/update _data/contributors.yml with our details.



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
haskell-graphql/graphql-api: Write type-safe GraphQL services in Haskell发布时间:2022-06-22
下一篇:
mvoidex/hsdev: Haskell development tool发布时间:2022-06-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap