<commit_before># Trac Wiki Exporter

## Synopsis

Exports wiki pages in Trac as HTML pages organized in categories for easy
local viewing.

## Installing

    $ [sudo] gem install trac-export-wiki
    
## Using

To use this script, you need to create a `config.yaml` file that tells the
exporter which pages you want to export under which categories. You can
see a sample config.yaml file in the "examples" directory. Once you've
created your configuration file, you can call the script with:

    $ trac-export-wiki config.yaml
    
This will download the wiki pages from your site into your current directory.
If you want to put your files in a `docs` directory, make sure to cd there
first:

    $ mkdir docs
    $ cd docs
    $ trac-export-wiki ../config.yaml
    <commit_msg>Update install info<commit_after># Trac Wiki Exporter

## Synopsis

Exports wiki pages in Trac as HTML pages organized in categories for easy
local viewing.

## Installing

This script requires [Ruby](http://ruby-lang.org). You can install it for Linux
or Windows from the above link, or use your OS's package manager to install it.
Once it is installed, call the following command:

    $ [sudo] gem install trac-export-wiki
    
## Using

To use this script, you need to create a `config.yaml` file that tells the
exporter which pages you want to export under which categories. You can
see a sample config.yaml file in the "examples" directory. Once you've
created your configuration file, you can call the script with:

    $ trac-export-wiki config.yaml
    
This will download the wiki pages from your site into your current directory.
If you want to put your files in a `docs` directory, make sure to cd there
first:

    $ mkdir docs
    $ cd docs
    $ trac-export-wiki ../config.yaml
    
{'fraction_non_alphanumeric': 0.06021384355655599, 'fraction_numerical': 0.0, 'mean_word_length': 3.4785894206549117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6656972', 'n_tokens_mistral': 501, 'n_tokens_neox': 466, 'n_words': 257}