From 14ee271598f7efe4667698ff8c3c9da874fcf940 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Tue, 30 Aug 2011 12:20:40 +0200 Subject: [PATCH] Quick links update --- contribute.markdown | 10 +++++----- txt2md.sh | 31 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100755 txt2md.sh diff --git a/contribute.markdown b/contribute.markdown index 200eea1d..a8d049a7 100644 --- a/contribute.markdown +++ b/contribute.markdown @@ -5,15 +5,15 @@ title: How To Contribute ? # How To Contribute ? # -You can easily contribute to the Propel project since all projects are hosted by [Github](http://www.github.com). -You just have to _fork_ the Propel project on the [PropelORM organization](http://www.github.com/propelorm) and +You can easily contribute to the Propel project since all projects are hosted by [Github](https://github.com). +You just have to _fork_ the Propel project on the [PropelORM organization](https://github.com/propelorm) and to provide Pull Requests or to submit issues. Note, we are using [Git](http://git-scm.com) as main Source Code Management. The Propel organization maintains four projects: -* [Propel](http://www.github.com/propelorm/Propel) : the main project. -* [PropelBundle](http://www.github.com/propelorm/PropelBundle) : a bundle to integrate Propel with [Symfony2](http://www.symfony.com). -* [sfPropelORMPlugin](http://www.github.com/propelorm/sfPropelORMPlugin) : a plugin to integrate Propel with [symfony 1.x](http://www.symfony-project.org); +* [Propel](http://github.com/propelorm/Propel) : the main project. +* [PropelBundle](http://github.com/propelorm/PropelBundle) : a bundle to integrate Propel with [Symfony2](http://www.symfony.com). +* [sfPropelORMPlugin](http://github.com/propelorm/sfPropelORMPlugin) : a plugin to integrate Propel with [symfony 1.x](http://www.symfony-project.org); * [propel-docs](https://github.com/propelorm/propel-docs) : the Propel documentation (aka this website). ## Submit an issue ## diff --git a/txt2md.sh b/txt2md.sh new file mode 100755 index 00000000..15276b57 --- /dev/null +++ b/txt2md.sh @@ -0,0 +1,31 @@ +#!/bin/sh + +if [ -z $1 ] ; then + echo "Aborted." + exit 1 +fi + +sed -i 's/======/######/g' $1 +sed -i 's/=====/#####/g' $1 +sed -i 's/====/####/g' $1 +sed -i 's/===/###/g' $1 +sed -i 's/^==/##/g' $1 +sed -i 's/==$/##/g' $1 +sed -i 's/^=/#/g' $1 +sed -i 's/=$/#/g' $1 + +sed -i "s/'''Tip''': />\*\*Tip\*\*
/g" $1 + +sed -i -e 's/{{{\n#!/{% highlight /g' $1 +sed -i 's/}}}/{% endhighlight %}/g' $1 + +sed -i -e 's/\[\[PageOutline\]\]\n//' $1 + +sed -i "s/''/_/g" $1 + +sed -i 's/highlight php$/highlight php %}/' $1 +sed -i 's/highlight sh$/highlight bash %}/' $1 +sed -i 's/highlight bash$/highlight bash %}/' $1 +sed -i 's/highlight ini$/highlight ini %}/' $1 +sed -i 's/highlight sql$/highlight sql %}/' $1 +sed -i 's/highlight xml$/highlight xml %}/' $1