Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Linux 下的 C++ 项目中使用 doxygen。可以使用文档主页上的搜索框进行搜索,但是有没有办法从命令行调用搜索?例如,通过使用类似firefox myHelp.html/+search for myClass+.
firefox myHelp.html/+search for myClass+
你真的想用你的 doxygen 文档中的搜索结果来启动浏览器吗?
在 doxygen 文档页面中执行搜索的 URL 具有以下形式:
...Doxygen/html/search.php?query=searchterm
所以你可以尝试类似
firefox file:///somepath/Doxygen/html/search.php?query=searchterm
但是,我不确定这是否能解决您的问题。
此外,您还可以使用典型的命令行工具在文件系统中查找术语:
grep -R searchterm