<commit_before>## Generate help pages from project wiki using h5bp documentation generator

### Install h5bp-docs

See [h5bp-docs](https://github.com/mklabs/h5bp-docs) readme

### Usage

Clone the wiki repository, 'https://github.com/uo-lca/CalRecycleLCA.wiki.git'

cd to this directory (CalRecycleLCA/FrontEnd/help) in your local repository.

Execute

h5bp-docs --src *local wiki repository path*/CalRecycleLCA.wiki --config conf/config.js

append `--server` flag to start a static server that will host the generated directory. `--baseurl` allows you to change the location where you'd like to test things locally (localhost:4000/docs/ or localhost:4000/wikis/ for example)

#### File generation

    The h5bp-docs command creates files under home, the root of the help web site

### Customizing Help

* layout.html is a mustache template file for all html file generation.

It contains references to css files in home. These can be modified to customize help page style.<commit_msg>Wiki Help: Doc issue workaround<commit_after>## Generate help pages from project wiki using h5bp documentation generator

### Install h5bp-docs

See [h5bp-docs](https://github.com/mklabs/h5bp-docs) readme

### Usage

Clone the wiki repository, 'https://github.com/uo-lca/CalRecycleLCA.wiki.git'.

H5bp-docs seems to have some trouble with repository paths that do not have a common parent. Therefore, clone CalRecycleLCA.wiki.git into the same directory where CalRecycleLCA.git is cloned.

cd to this directory (CalRecycleLCA/FrontEnd/help) in your local CalRecycleLCA.git repository.

Execute

`h5bp-docs --src ../../../CalRecycleLCA.wiki --config conf/config.js`

append `--server` flag to start a static server that will host the generated directory. `--baseurl` allows you to change the location where you'd like to test things locally (localhost:4000/docs/ or localhost:4000/wikis/ for example)

#### File generation

The h5bp-docs command creates files under `home`, the root of the help web site

### Customizing Help

* layout.html is a mustache template file for all html file generation.

It contains references to css files in home. These can be modified to customize help page style.
{'fraction_non_alphanumeric': 0.08623853211009175, 'fraction_numerical': 0.013302752293577982, 'mean_word_length': 4.358722358722359, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6561187', 'n_tokens_mistral': 639, 'n_tokens_neox': 611, 'n_words': 266}