<commit_before># Static Site for Moebio Framework.

This site contains introductory material and docs for the moebio framework and is hosted on github-pages.

## Dev Workflow

The site currently uses jekyll to build as that is what github natively supports. To install you need Ruby installed, then you can use the following command to install jekyll.

````
gem install jekyll
````

Once you have that you can run.

````
jekyll serve
````

From the ```source``` directory and follow the instructions given at the command line.

See http://jekyllrb.com/docs/usage/ for more info.

You can also run the following grunt task from the top level

````
grunt jekyll:serve
````

then go to

````
http://localhost:8000/moebio_framework/index.html
````

to see the site

## Building

To build the site into the ```build folder``` use the following command from the ```source``` folder.

````
jekyll build --destination ../build
````

You can also run the following grunt task from the top level.

````
grunt jekyll:build
````

## Deployment

We are using [this plugin](https://github.com/tschaub/grunt-gh-pages) to manage deploying to gh-pages.

To deploy the site to gh-pages and update the ```gh-pages``` branch at the same time use the following grunt task from the top level folder of the project. This will automatically build the ```site/source``` folder into ```site/build```.

````
grunt deploy
````

Note that this will deploy the content of your current branch, whether it is pushed to github or not.
<commit_msg>use github markdown for code blocks<commit_after># Static Site for Moebio Framework.

This site contains introductory material and docs for the moebio framework and is hosted on github-pages.

## Dev Workflow

The site currently uses jekyll to build as that is what github natively supports. To install you need Ruby installed, then you can use the following command to install jekyll.

```
gem install jekyll
```

Once you have that you can run.

```
jekyll serve
```

From the `source` directory and follow the instructions given at the command line.

See http://jekyllrb.com/docs/usage/ for more info.

You can also run the following grunt task from the top level

```
grunt jekyll:serve
```

then go to

```
http://localhost:8000/moebio_framework/index.html
```

to see the site

## Building

To build the site into the `build folder` use the following command from the `source` folder.

```
jekyll build --destination ../build
```

You can also run the following grunt task from the top level.

```
grunt jekyll:build
```

## Deployment

We are using [this plugin](https://github.com/tschaub/grunt-gh-pages) to manage deploying to gh-pages.

To deploy the site to gh-pages and update the `gh-pages` branch at the same time use the following grunt task from the top level folder of the project. This will automatically build the `site/source` folder into `site/build`.

```
grunt deploy
```

Note that this will deploy the content of your current branch, whether it is pushed to github or not.

{'fraction_non_alphanumeric': 0.09096945551128818, 'fraction_numerical': 0.0026560424966799467, 'mean_word_length': 4.106779661016949, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6090446', 'n_tokens_mistral': 890, 'n_tokens_neox': 831, 'n_words': 425}