ikiwiki/doc/todo/submodule_support.mdwn

16 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-12-16 05:56:42 +01:00
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:
git submodule add /usr/share/ikiwiki/themes/night_city/
git commit -m"add the theme to my site" ; git push
2011-12-16 05:59:02 +01:00
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.
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...
Other people had experience with this? Or other suggestions on how to publish repositories within my site? -- [[anarcat]]
2011-12-16 19:58:28 +01:00
> Ikiwiki does not support git submodules.
>
2012-01-17 09:49:43 +01:00
> You can use the [[plugins/underlay]] plugin to merge the
2011-12-16 19:58:28 +01:00
> contents of other directories into your wiki's source. --[[Joey]]