Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lsegal/trac-export-wiki
Exports Trac wiki pages as local HTML files
https://github.com/lsegal/trac-export-wiki
Last synced: about 2 months ago
JSON representation
Exports Trac wiki pages as local HTML files
- Host: GitHub
- URL: https://github.com/lsegal/trac-export-wiki
- Owner: lsegal
- License: mit
- Created: 2010-09-11T07:07:53.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-11T17:01:39.000Z (over 14 years ago)
- Last Synced: 2024-10-31T06:51:31.334Z (2 months ago)
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
## UsingTo 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
You can specify some parameters on the command-line, see `trac-export-wiki --help`
for a list of options. Specifically, you may want to only regenerate the index
page, or not generate the index page. This is done with `-i` or `-n` respectively.## License & Author
This library is written by Loren Segal and released under the MIT license.
See the `LICENSE` file attached with this archive.