mdbook
Go to file
2024-05-08 15:04:24 -04:00
_archive ... 2024-03-18 14:28:08 +02:00
books tfgrid4 update home 2024-05-08 14:43:40 -04:00
collections tfgrid4 update farming 2024-05-08 15:04:24 -04:00
collections_beta tfgrid4 economy update 2024-05-08 14:10:20 -04:00
docs updated docker docs hero 2024-04-29 20:29:19 -04:00
heroscript tfgrid4 added back farming for v4 files 2024-05-08 14:02:36 -04:00
scripts Update scripts/hero_mdbook.sh 2024-02-22 15:04:48 +00:00
specs ... 2024-03-18 14:28:08 +02:00
.gitignore ... 2024-01-26 06:06:57 +03:00
hero_mdbook.sh stated tft for grants 2024-04-25 14:19:14 -04:00
LICENSE ... 2024-01-26 06:06:57 +03:00
README.md readme 2024-04-16 07:26:11 -03:00
sshkey.md ... 2024-02-05 12:51:02 +03:00
sync_production.sh .. 2024-03-19 08:28:25 +02:00

TFGrid Docs

Table of Contents

Overview

This repository contains TFGrid docs in the form of mdbooks generated with the Hero tool.

To see the whole list of books, check the heroscript directory.

Basic Hero mdBook Commands

Once Hero is set on your machine, you can run the following commands to preview mdbooks on your local browser:

  • Pull new changes

    hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -gp
    
  • Build the book

    hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook
    
  • Preview on a web browser

    hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/nameofyourbook -o
    

Note: You can use -p instead of -u and set a path to your heroscript directory, as explained in the docs.

Install and Use Hero

install hero as follows

curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh | bash /tmp/hero_install.sh

you can also do it on a VM (experts only)

To install and use Hero on a full VM running on the grid, read the full VM guide.

Create a New mdBook

To create a new mdbook, read the mdbook creation guide.

Contribute

To contribute to this repository, make a pull request of your changes.

  1. Fork the repository and make a pull requests with your changes
  2. If you have access, create a new branch in this repo and make a pull request with your changes