On Sun, 16 Jan 2011 10:24:16 +0000, David Bovill wrote: > One think I'm missing in terms of usability is the ability to > intimately link a particular source code file with a wiki page. AFAIK > this is not part of the structure or interface at the moment - so no > wiki-tags for linking to / embedding the source code from the wiki.
as said before you can do that with an [url|display] to the file of you desire. > > It seems that this may be partly possible by creating your own custom > header in the wiki page - but there is no equivalent for the file > display page? basically I want to have two-way links between the > source code file and a root documentation page. Probably using the > Embedded docs as then the docs and source code are versioned > together. You can link to the source code file. But the source code file cannot link to the documentation. As said before there is no wiki parsing for source code. > > Is there a way to access / alter the html template for the non-wiki > pages? In general it is nice to have these templates in the wiki > itself - reuses the code and allow total flexibility in terms of > customisation? But if these files are stored in the db somewhere I > can > access and alter these directly? All the templates fossil is using are under Admin (header, footer, [skins, css]) and you can change them as much as you want. But the "template language" is basic, no include other templates. TH1 is available so you have if then else. But you have to code everything in the header and the footer. for instance if you detect that the page is version.c then you could generate a link to the documentation. But al the intelligence for connecting the source code to the documentation must be contained in header and footer. -- Rene _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users