Updates documentation file with make

This commit is contained in:
Bruno Tavares 2015-05-24 00:09:52 -03:00
parent 421148456f
commit 62a482c062
2 changed files with 10 additions and 3 deletions

View File

@ -6,6 +6,12 @@ PREFIX?=/usr/local
INSTALL_BIN=$(PREFIX)/bin
KICKSTART_LOCATION=$(PREFIX)/share/kickstart
docs/index.md: $(shell find docs/kickstart)
echo "# Kickstart" > docs/index.md
echo "" >> docs/index.md
echo "### Functions" >> docs/index.md
find docs/kickstart -type f | cut -d/ -f2- | cut -d. -f1 | xargs -n1 -I l bash -c 'echo "* [$$(echo l | tr / .)](l)"' >> docs/index.md
deb: clean
fpm -s dir -t deb -n kickstart \
-x usr/local/share/kickstart/.baseline \

View File

@ -1,13 +1,12 @@
# Kickstart
### Functions
* [index](index)
* [kickstart.apt.add_key_from_keychain](kickstart/apt/add_key_from_keychain)
* [kickstart.apt.add_key_from_url](kickstart/apt/add_key_from_url)
* [kickstart.apt.ppa](kickstart/apt/ppa)
* [kickstart.command_exists](kickstart/command_exists)
* [kickstart.context](kickstart/context)
* [kickstart.debugging?](kickstart/debugging?)
* [kickstart.debugging](kickstart/debugging)
* [kickstart.download.file](kickstart/download/file)
* [kickstart.download.stream](kickstart/download/stream)
* [kickstart.file.contains](kickstart/file/contains)
@ -41,6 +40,8 @@
* [kickstart.user.add_group](kickstart/user/add_group)
* [kickstart.user.create](kickstart/user/create)
* [kickstart.user.exec](kickstart/user/exec)
* [kickstart.user.exists](kickstart/user/exists)
* [kickstart.user.home_folder](kickstart/user/home_folder)
* [kickstart.user.is_on_group](kickstart/user/is_on_group)
* [kickstart.user.is_root](kickstart/user/is_root)
* [kickstart.user.remove_group](kickstart/user/remove_group)
* [kickstart.user.root?](kickstart/user/root?)