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

latex3/latex3.github.io: latex-project.org website

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

开源软件名称(OpenSource Name):

latex3/latex3.github.io

开源软件地址(OpenSource Url):

https://github.com/latex3/latex3.github.io

开源编程语言(OpenSource Language):

HTML 85.0%

开源软件介绍(OpenSource Introduction):

latex-project.org

Changes to the master branch can be viewed at https://latex3.github.io/, which is the staging environment. If everything looks fine, you can merge master with live to have the server running https://www.latex-project.org/ pick up the changes.

What actually happens is that the _site directory is pulled by the server, so it needs to contain a properly built site (see below).

Branches

The latex-project.org staging
https://latex3.github.io/ - main branch

The latex-project.org website
https://www.latex-project.org/ - live branch

Contributing (team members only)

If you want to develop locally first, this is the way to contribute:

  • Fork this repository (and make sure you are in sync with it if you forked a while ago).
  • Create a new branch for your changes: git checkout -b branch-name.
  • Make your changes.
  • Commit locally and push that to your repo.
  • Send in a pull request based on the above.

You can also edit/commit directly to the gh-pages branch on github:

  • Go to the file/directory you want to edit.
  • Make your changes.
  • Add a message describing your edit.
  • Commit directly to the gh-pages branch / Create a new branch for this commit and start a pull request.

Requirements

In order to contribute to the website’s codebase, you’ll need to know a bit about Git, Jekyll, CSS or Sass, Markdown, and some Command Line-fu. You'll also need to know how to install Ruby Gems and of course have Ruby installed on your machine.

Local Development

Gem Installation

Use the bundle command to install the necessary gems for the LaTeX Project. If you don't have bundler installed you'll need to run gem install bundler before using bundle.

$ bundle install

Preview

Trigger the local server by executing the jekyll serve task.

$ jekyll serve

Your local copy will now be accessible at http://localhost:4000. Then use CTRL + C to stop the server.

Generate the site version

jekyll serve saves the site in _sitebut it changes the site url to localhost (as of version 4.x) so it is no longer possible to use that directory as the official site. Instead you now need to run

$ jekyll build

to get the {{ site.url }} variable set correctly.

Resources

Website

Webdesign License

The latex-project.org webdesign by Jonas Jacek is licensed under a Creative Commons Attribution 4.0 International License. Based on a work at https://github.com/latex3/latex3.github.io.

This is a Free Culture License!

However, the license requires you to give appropriate credit to Jonas, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests Jonas or the LaTeX Project endorses you or your use.

Please credit Jonas with a link to his website (http://jonas.me/) and state the license somewhere on your page. Everything else brings bad karma.

Reporting Website Bugs

If you think you've found a bug on our website you can report it to the website team at mailto:[email protected]. If you do submit a report, thanks for taking the time!




鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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