我希望能够更改 Doxygen 生成的文档中显示的文本。就像,如果我按下这个按钮,以下文本就会改变:
这就是我现在所拥有的(仅显示按钮):
Language
--------
@htmlonly
<button type="button" >C++</button>
<button type="button" >Python</button>
<button type="button" >Java</button>
@endhtmlonly
Goal
----
We have multiple ways to acquire digital images...
最佳答案
在页面中嵌入 JS,一切尽在掌握。您可以生成默认的页眉和页脚
http://www.doxygen.nl/manual/doxygen_usage.html
然后将JS嵌入到header中。或者直接嵌入...
/** @mainpage Stuff
@htmlonly
<script type="text/javascript">
alert();
</script>
@endhtmlonly
*/
关于javascript - Doxygen 带有 HTML 按钮,点击后会更改文本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36163610/