项目作者: Nakilon

项目描述 :
Github Action powered repository that automatically converts raw tables to neat markdown for PCBR algorithm demo purposes
高级语言: Ruby
项目地址: git://github.com/Nakilon/pcbr-demo.git
创建时间: 2020-10-18T20:49:42Z
项目社区:https://github.com/Nakilon/pcbr-demo

开源协议:MIT License

下载


Different rankings made using PCBR for demo purposes

See the resulting rankings here: https://nakilon.github.io/pcbr-demo/
This is for demo purposes of https://github.com/Nakilon/pcbr

(development note) How to update

Some .txt files in this repo are updated manually.
Some are updated programmatically:

  1. ## "The most developed loot management in video games"
  2. # update the Google Spreadsheet
  3. $ ruby loot.rb > loot.txt
  1. ## Rimworld textiles
  2. # sort the <table> by name and copypaste from wiki to textiles.html
  3. $ bundle exec ruby textiles.rb
  1. ## LoL TFT champions
  2. $ bundle exec ruby lol.rb
  1. ## Ruby Web App Frameworks
  2. $ bundle exec ruby ruby-web.rb

To preview the effect, according to main.yaml workflow:

  1. $ ruby main.rb
  2. $ yfm -i ./yfm -o ./out -s
  3. $ open ./out/....html

Then after you push the .txt changes GitHub Action will automatically compile the single-page index.md, YFM docs and deploy them as GitHub Pages.