Giới thiệu
Doxygen là một công cụ mã nguồn mở dùng để tạo tài liệu và phân tích mã nguồn tự động trong phát triển phần mềm. Phần mềm này giúp lập trình viên sinh ra tài liệu từ các chú thích trong mã nguồn, qua đó cung cấp thông tin chi tiết về các lớp, hàm và biến.
Nhờ Doxygen, quá trình tạo tài liệu trở nên đơn giản và chuẩn hóa hơn, hỗ trợ nhiều ngôn ngữ lập trình khác nhau và quy mô dự án đa dạng. Điều này giúp cải thiện sự hợp tác và bảo trì mã nguồn hiệu quả hơn.
Tính năng chính
- Tự động tạo tài liệu từ chú thích trong mã nguồn.
- Phân tích cấu trúc các lớp, hàm, biến trong dự án.
- Hỗ trợ xuất tài liệu ra nhiều định dạng phổ biến như HTML, PDF.
- Phù hợp cho nhiều ngôn ngữ lập trình khác nhau.
- Giúp chuẩn hóa và đơn giản hóa quy trình tạo tài liệu.
Ai nên dùng
Doxygen phù hợp với các lập trình viên và nhóm phát triển phần mềm cần tạo tài liệu chi tiết, rõ ràng từ mã nguồn để phục vụ việc quản lý, bảo trì và phát triển dự án hiệu quả hơn.
Cài đặt
- Bấm nút Tải về trên trang này để tải bộ cài gốc.
- Chạy file cài đặt dạng inno để bắt đầu quá trình cài đặt.
- Thực hiện theo hướng dẫn trên màn hình để hoàn tất cài đặt.
Lưu ý
Doxygen là phần mềm mã nguồn mở, miễn phí theo giấy phép GPL-2.0. Người dùng có thể sử dụng tự do và đóng góp phát triển. Phần mềm không yêu cầu bản quyền và phù hợp với nhiều môi trường lập trình khác nhau.
Có gì mới trong 1.18.0
Features
- Doxywizard's GUI and config option documentation are now translated to 8 addition languages (next to English): German, French, Spanish, Russian, Korean, Chinese, Taiwanese, and Japanese.
From the menu one can switch between languages (doing so will relaunch the application).
Via the wizard the Doxyfile can also be generated in 8 different languages next to English.
- The expert panel of Doxywizard now has a search field to quickly search for and filter configuration options. [view], [view], [view], [view], [view], [view], [view], [view], [view], [view], [view], [view], and [view]
- Changed doxygen.ico to higher resolution version [view]
- When using the external search engine, icons are used instead of numbers and words for search result types [view], and [view]
Minor incompatibilities
- Made SOURCE_TOOLTIPS independent of HTML_DYNAMIC_SECTIONS [view]
Bug fixes
- issue #4407 Extending an undocumented class. (Origin: bugzilla #658974) [view]
- issue #5940 Look for [[deprecated]] markers (Origin: bugzilla #761131) [view], [view]
- issue #9447 nested inline namespaces are incorrectly generated [view]
- issue #9502 Fortran containing a single apostrophe (') in comments interferes with Doxygen parsing. [view]
- issue #10855 About how to specify a relative path directory [view], [view]
- issue #10900 [1.9.5+] Inline comments on single-line classes with @copydoc create 'TK_COMMAND_BS' warnings [view]
- issue #11760 `\doxyconfig` does not work as an if-argument [view]
- issue #11913: Regression: missing references to function calls for objects declared outside function scope starting from v1.13.0 [view]
- issue #12111 Requirements output for LaTeX is not good [view]
- issue #12113 Doxygen generates ill-formed XML when \p is at the end of a line [view], [view]
- issue #12114 Docs for C++ nested namespace aaa::bbb are applied to both aaa and bbb [view]
- issue #12116 Test suite's test tagfile fails [view]
- issue #12140 Concatenating pages with same name behaves different in V.1.15 and 1.17 [view]
- issue #12148 HTML output generated from C-project contains invalid JavaScript if a source file starts with a number. [view]
- issue #12155 Link names to internal anchors in a md file are duplicated in HTML page when including the md in a doxygen page [view]
- issue #12169 Problems with links in markdown headers when using USE_MDFILE_AS_MAINPAGE [view]
- issue #12183 [REGRESSION] Hyperlink doesn't work in the <return value> field for @retval command [view], [view]
- issue #12213 Function parameters of type array of function pointers parsed incorrectly when there is 'static' or qualifiers in the square brackets [view]
- issue #12218 Compilation of 1.17.0 fails for gcc-based openSUSE [view]
- issue #12221 Mermaid CDN loading in offline builds and unclear render mode behavio [view]
- issue #12226 Anonymous union's @brief and documentation shown instead of member's in Data Fields table and Field Documentation [view], [view], [view]
- issue #12233 Call and caller graphs not rendered when functions only have brief [view]
- issue #12245 Doxygen renders html title including inline statements [view], [view]
- issue #12249 HTML mobile view: expanding and closing the hamburger menu creates a gap at the bottom. [view]
- issue #12256 Function no longer recognised by Doxygen 1.17.0 when using TAGFILES [view]
- issue #12268 Initializer should not be shown as inline sources [view]
- issue #12270 `@code{.shell-session}` is broken since 1.14.0 [view], [view]
- CSP: security: anti XSS [view], and [view]
- Error with Fortran string concatenation (`//`) and preprocessing [view]
- Fix small memory leak when using libclang [view]
- Fixes to make server based search work again [view] and [view]
- Incorrect representation of accented characters with `\cite{shortauthor}` [view], [view]
- Incorrect display of images in the treeview. [view], and [view]
- Fix nondeterministic input ordering of duplicate basenames [view]
- Adding missing block protection for `\mermaid` command [view]
- fixed a number of coverity warnings [view]
- Display Additional inherited members in HTML [view]
- fix: HTML docs for files starting with a digit [view]
- Unnecessary line break signs in LaTeX [view]
- Representation of (long) inline simple structs [view]
- Regression in (image) fenced code block when the block starts with newlines / whitespace [view]
- Problems with `--` in `\cite` command name. [view]
- Prevent wrong cross references between static functions defined in multiple files [view]
- Preprocessor problem with `'` in comment inside a define call [view]
- Navigation tree doesn't render due to `\n` in output [view]
- Incorrect handling of `\exception` command in markdown [view]
Improved user feedback and documentation
- Sync BUILD.txt with CMakeLists.txt [view]
- Don't show message "Running <tool> ..." when there is nothing to run [view]
- Correcting references to CDN for Mermaid usage [view]
Refactoring and cleanup
- Replace `FALSE` and `TRUE` with `false`/ `true` [view]
- Refactoring: rename QCString to DString [view], [view], [view], and [view]
- Refactoring: add final keyword to leaf classes [view]
- Refactoring: reduce code duplication in expert.cpp [view]
- Refactoring: Return Config strings and lists by value (rely on RVO) [view]
- Refactoring: simplify writing to TextStream [view]
- Refactoring: use argparse for configgen.py [view]
- Added some trace statements for better debugging [view]
- Creating some helper functions for the `enum class MemberType` [view]
Development improvements
- Create possibility to dump Doxyfile from doxywizard [view], [view], [view], [view]
- Fix capitalization of CMake (log, comment, doc) [view]
- Fixed warning 'captured structured bindings are a C++20 extension' [view]
- Improve brief part internal doxygen documentation [view]