fixes to get hero working
This commit is contained in:
@@ -94,7 +94,7 @@ Hero uses three main directories to build an mdbook `books`, `collections` and `
|
||||
- `context.md` sets the proper configuration for the mdbook using the command `configure`
|
||||
- This file is the same throughout all the `info_tfgrid` repository.
|
||||
```
|
||||
!!books.configure
|
||||
\!!books.configure
|
||||
buildroot:'~/hero/var/mdbuild'
|
||||
publishroot:'~/hero/www/info'
|
||||
install:true
|
||||
@@ -107,11 +107,11 @@ Hero uses three main directories to build an mdbook `books`, `collections` and `
|
||||
- It also point the URLs where the markdown files are located
|
||||
- In the directory `collections` as we've seen above
|
||||
```
|
||||
!!book.generate name:'new_mdbook' title:'New mdbook'
|
||||
\!!book.generate name:'new_mdbook' title:'New mdbook'
|
||||
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript/new_mdbook'
|
||||
|
||||
|
||||
!!doctree.add
|
||||
\!!doctree.add
|
||||
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/new_mdbook'
|
||||
|
||||
```
|
||||
|
@@ -163,7 +163,7 @@ There are some distinctions between mdbook and hero mdbook. This is subject to c
|
||||
- hero mdbook cannot use parentheses in tables of contents (e.g. in SUMMARY.md)
|
||||
- hero mdbook uses the following include template:
|
||||
```
|
||||
!!wiki.include page:'collection_name:file_name.md'
|
||||
\!!wiki.include page:'collection_name:file_name.md'
|
||||
```
|
||||
- hero mdbook cannot parse codes with tabs or spaces
|
||||
- list contents are parsed as paragraphs (e.g. defs, comments, text, links), they can't contain code blocks
|
Reference in New Issue
Block a user