avoid building news page when building doc wiki for package
This commit is contained in:
parent
71d60eb87a
commit
6f932a0963
2 changed files with 8 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -30,7 +30,8 @@ docs:
|
|||
$(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \
|
||||
--no-usedirs --disable-plugin=openid --plugin=sidebar \
|
||||
--underlaydir=/dev/null --disable-plugin=shortcut \
|
||||
--disable-plugin=smiley
|
||||
--disable-plugin=smiley \
|
||||
--exclude='news/.*'
|
||||
|
||||
clean:
|
||||
rm -rf build git-annex git-annex.1 test configure SysConfig.hs
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
[[!if test="news/*" then="""
|
||||
This is where announcements of new releases, features, and other news is
|
||||
posted. git-annex users are recommended to subscribe to this page's RSS
|
||||
feed.
|
||||
|
||||
[[!inline pages="./news/* and !*/Discussion" rootpage="news" show="30"]]
|
||||
|
||||
"""
|
||||
else="""
|
||||
(Please see the changelog.)
|
||||
"""]]
|
||||
|
|
Loading…
Reference in a new issue