diff --git a/README.rst b/README.rst index 62f572e..84a4704 100644 --- a/README.rst +++ b/README.rst @@ -47,13 +47,13 @@ Requirements The script uses ``/usr/bin/env`` and ``python``. -Note ----- +Alternatives +------------ -The first incarnation of this script was written in bash using ``find`` and -``sed``. It was delightfully old school but not very portable and not very fast. -It is available as ``sphinx-to-github.legacy`` because the author isn't ready to -let go yet. +`dinoboff's `_ project `github-tools +`_ provides similar functionality +combined with a much more comprehensive set of tools for helping you to manage +Python based projects on github. Credits ------- diff --git a/sphinx-to-github.legacy b/sphinx-to-github.legacy deleted file mode 100755 index eab16e5..0000000 --- a/sphinx-to-github.legacy +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -sed=`which gsed || which sed` - -for underscore_folder in _* -do - echo "Processing matches for: " $underscore_folder - - folder_without_underscore=`echo -n $underscore_folder | $sed 's/^.//'` - - for underscore_file in $( find $underscore_folder -type f ) - do - file_without_underscore=`echo -n $underscore_file | $sed 's/^.//'` - - for file in $( find . -type f -name "*.html" ) - do - $sed -i "s/${underscore_file//\//\/}/${file_without_underscore//\//\/}/g" $file - done - done - - mv $underscore_folder $folder_without_underscore -done -