diff --git a/docs/.gitignore b/docs/.gitignore index be60d87a8..f42d8799a 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -1,6 +1,2 @@ doxygen/html/ doxygen/latex/ -user_technical/.bundle_community/ -user_technical/.couscous/ -user_technical/couscous.phar -user_technical/docs.tar.gz diff --git a/docs/user_technical/bundle_community b/docs/user_technical/bundle_community deleted file mode 100755 index 8e3cdf567..000000000 --- a/docs/user_technical/bundle_community +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -working_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -build_dir=.bundle_community - -# curl and php are required -if ! which php >/dev/null; then - echo "php is required!" - exit 1 -fi - -cd ${working_dir} -generator="couscous.phar" - -# download the generator if it's not already downloaded -if [ ! -f ${generator} ]; then - curl -OS http://couscous.io/${generator} -fi - -# create build directory -if [ -d $build_dir ]; then - rm -rf $build_dir -fi -mkdir $build_dir - -# copy all files to build directory -cp couscous.yml *.md $generator $build_dir - -# go to build directory -cd $build_dir - -# modify config file -cat >> couscous.yml < default.twig - -# generate the site -php ${generator} generate - -# create contents file -cd .couscous/generated -tail -n +$( grep -n "Contents" index.html | cut -d ':' -f 1 ) index.html | \ - grep href | grep .html | \ - sed -r 's/^[^"]+"//' | sed -r 's/.html">/ /' | sed -r 's/<.+//' > .contents -rm index.html - -# create archive -target=docs.tar.gz -if [ -f $target ]; then - rm $target -fi -tar -czf $working_dir/$target .contents *.html - -echo "Created archive: $working_dir/$target" diff --git a/docs/user_technical/couscous.yml b/docs/user_technical/couscous.yml deleted file mode 100644 index f8b838b21..000000000 --- a/docs/user_technical/couscous.yml +++ /dev/null @@ -1,2 +0,0 @@ -title: Memgraph -subTitle: Technical Documentation diff --git a/docs/user_technical/run b/docs/user_technical/run deleted file mode 100755 index fcb2ee07b..000000000 --- a/docs/user_technical/run +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -working_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" - -# curl and php are required -if [ "$( which curl )" == "" ] || [ "$( which php )" == "" ]; then - echo "curl and php are required!" - exit 1 -fi - -cd ${working_dir} -generator="couscous.phar" - -# download the generator if it's not already downloaded -if [ ! -f ${generator} ]; then - curl -OS http://couscous.io/${generator} -fi - -# run the preview -php ${generator} preview