有关如何以最有效的方式在Trac wiki上展示UML的Visual Paradigm文档的任何提示? 有没有办法在wiki页面上嵌入表格?
Any tips how to present documentation coming out of Visual Paradigm for UML on Trac wiki in most efficient way? Is there a way to embed the tables on wiki page?
最满意答案
事实上在Trac中没有来自VP的文档演示方式。
我使用的解决方法对我来说非常实用:
在VP中制作已更改图表的屏幕截图,并将其另存为.png文件将映像文件复制到我在httpd.conf中定义Apache webserver Location的路径:
<Location /doc> ... </Location>
Alias /doc "//your.local.imagefileserver.org/anysubdir/doc"
然后我只使用图片wiki链接到我的wiki页面中的那个位置,例如[[Image(// doc / UML / diagram1.png)]]
这样,在更改图表后,我可以替换磁盘上的图像而不触及维基,然后维基显示最新的页面重新加载。
There is actually in Trac no way of docs presentation coming out of VP.
I use a workaround which is quite practical for me:
make a screenshot of changed diagrams in VP and save them as .png filescopy the image files to a path I defined an Apache webserver Location for in httpd.conf:
<Location /doc> ... </Location>
Alias /doc "//your.local.imagefileserver.org/anysubdir/doc"
then I just use image wiki links to that location in my wiki page, e.g. [[Image(//doc/UML/diagram1.png)]]
This way, after changes to diagrams, I can replace the images on disk without touching the wiki, and the wiki shows the latest on page reload then.
用于UML的Trac wiki和Visual Paradigm(Trac wiki and Visual Paradigm for UML)有关如何以最有效的方式在Trac wiki上展示UML的Visual Paradigm文档的任何提示? 有没有办法在wiki页面上嵌入表格?
Any tips how to present documentation coming out of Visual Paradigm for UML on Trac wiki in most efficient way? Is there a way to embed the tables on wiki page?
最满意答案
事实上在Trac中没有来自VP的文档演示方式。
我使用的解决方法对我来说非常实用:
在VP中制作已更改图表的屏幕截图,并将其另存为.png文件将映像文件复制到我在httpd.conf中定义Apache webserver Location的路径:
<Location /doc> ... </Location>
Alias /doc "//your.local.imagefileserver.org/anysubdir/doc"
然后我只使用图片wiki链接到我的wiki页面中的那个位置,例如[[Image(// doc / UML / diagram1.png)]]
这样,在更改图表后,我可以替换磁盘上的图像而不触及维基,然后维基显示最新的页面重新加载。
There is actually in Trac no way of docs presentation coming out of VP.
I use a workaround which is quite practical for me:
make a screenshot of changed diagrams in VP and save them as .png filescopy the image files to a path I defined an Apache webserver Location for in httpd.conf:
<Location /doc> ... </Location>
Alias /doc "//your.local.imagefileserver.org/anysubdir/doc"
then I just use image wiki links to that location in my wiki page, e.g. [[Image(//doc/UML/diagram1.png)]]
This way, after changes to diagrams, I can replace the images on disk without touching the wiki, and the wiki shows the latest on page reload then.
发布评论