forked from linux-test-project/ltp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce Doxygen support inside documentation
With Doxygen support inside documentation, we are able to generate a full API documentation from LTP headers. The idea is that we don't need to keep track of both source code and API documentation files, but we will auto-generate any API documentation via Doxygen + Sphinx.
- Loading branch information
Showing
7 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
GENERATE_XML = YES | ||
GENERATE_LATEX = NO | ||
GENERATE_HTML = NO | ||
HIDE_IN_BODY_DOCS = YES | ||
EXTRACT_ALL = YES | ||
INPUT = ../include | ||
OUTPUT_DIRECTORY = . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
.. SPDX-License-Identifier: GPL-2.0-or-later | ||
.. Generate API documentation with: | ||
.. doxygen Doxygen.in | ||
.. sphinx-build -b html -Dbreathe_projects.ltp=xml . html | ||
.. Include them in this file with: | ||
.. .. doxygenfile:: tst_uid.h | ||
Developing using C API | ||
====================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
.. SPDX-License-Identifier: GPL-2.0-or-later | ||
.. Generate API documentation with: | ||
.. doxygen Doxygen.in | ||
.. sphinx-build -b html -Dbreathe_projects.ltp=xml . html | ||
.. Include them in this file with: | ||
.. .. doxygenfile:: tst_uid.h | ||
Developing using KVM API | ||
======================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
.. SPDX-License-Identifier: GPL-2.0-or-later | ||
.. Generate API documentation with: | ||
.. doxygen Doxygen.in | ||
.. sphinx-build -b html -Dbreathe_projects.ltp=xml . html | ||
.. Include them in this file with: | ||
.. .. doxygenfile:: tst_uid.h | ||
Developing using network API | ||
============================ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
sphinx-rtd-theme==2.0.0 | ||
breathe==4.35.0 |