]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/submodule_support.mdwn
How signinview handles the goto leak
[ikiwiki.git] / doc / todo / submodule_support.mdwn
1 I would love to be able to publish my theme in my personnal wiki. The theme is in a separate git repository, and i feel it would be pretty awesome if it was rendered within my main ikiwiki site. I have tried the following:
2
3     git submodule add /usr/share/ikiwiki/themes/night_city/
4     git commit -m"add the theme to my site" ; git push
5
6 But this made really weird things on the other side. The files from the theme end up flat in the parent directory. Now I have reverted the above change and ikiwiki *still* generates those files. Not sure what is going on. 
7
8 To be really clear here: this is an arbitrary source code repository that I want to include, I do not mean to enable the theme with this, this could very well be presentation material, C source code or whatever else... In fact, I think this would be a powerful way to do syntax highlightning for source code published on your website...
9
10 Other people had experience with this? Or other suggestions on how to publish repositories within my site? -- [[anarcat]]
11
12 > Ikiwiki does not support git submodules. 
13
14 > You can use the [[plugins/underlay]] plugin to merge the
15 > contents of other directories into your wiki's source. --[[Joey]]