Skip to content

Commit e0d207c

Browse files
authored
Major documentation update (#19)
* Major documentation update * Fixed linux specific issues * Fix broken test
1 parent 6a71fc4 commit e0d207c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+5220
-418
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ IndentAccessModifiers: true
163163
IndentCaseBlocks: false
164164
IndentCaseLabels: true
165165
IndentExportBlock: true
166-
IndentExternBlock: AfterExternBlock
166+
IndentExternBlock: NoIndent
167167
IndentGotoLabels: true
168168
IndentPPDirectives: None
169169
IndentRequiresClause: true

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,7 @@
5858
**/ui/build
5959
**/ui/.dart_tool
6060
**/.flutter-plugins
61-
**/.flutter-plugins-dependencies
61+
**/.flutter-plugins-dependencies
62+
63+
# macos files
64+
**/.DS_Store

LICENSE renamed to LICENSE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ Unauthorized copying, modification, distribution, or use of the Software is stri
66

77
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
88

9-
For licensing information, please contact: [YOUR CONTACT EMAIL OR ADDRESS]
9+
For licensing information, please contact: [YOUR CONTACT EMAIL OR ADDRESS]
10+
11+
<div class="section_buttons">
12+
13+
| Previous | Next |
14+
|:------------------|----------------------------------:|
15+
| [API Reference](docs/api_overview.md) | |
16+
17+
</div>

MODULE.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ module(
1010
# Import external dependencies
1111
bazel_dep(name = "rules_cc", version = "0.1.0")
1212
bazel_dep(name = "rules_foreign_cc", version = "0.11.1")
13-
bazel_dep(name = "rules_python", version = "0.37.2")
13+
bazel_dep(name = "rules_python", version = "0.40.0")
1414
bazel_dep(name = "platforms", version = "0.0.10")
1515
bazel_dep(name = "googletest", version = "1.15.2")
1616
bazel_dep(name = "apple_support", version = "1.17.1", repo_name = "build_bazel_apple_support")
1717
bazel_dep(name = "curl", version = "8.8.0")
1818
bazel_dep(name = "nlohmann_json", version = "3.11.3")
1919
bazel_dep(name = "hedron_compile_commands", dev_dependency = True)
2020
bazel_dep(name = "flatbuffers", version = "24.3.25")
21+
bazel_dep(name = "opentelemetry-cpp", version = "1.19.0")
2122

2223
# Hedron's Compile Commands Extractor for Bazel
2324
git_override(

MODULE.bazel.lock

Lines changed: 193 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
# CoreVX Project
1+
# What is CoreVX ?
2+
![](https://img.shields.io/badge/OpenVX-1.3.1-blue)
3+
![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black)
4+
![macOS](https://img.shields.io/badge/macOS-000000?logo=apple&logoColor=F0F0F0)
5+
![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white)
6+
[TOC]
27
This project is an implementation of the OpenVX specification version 1.3.1, with various extensions and features enabled.
38
The project is built using Google's Bazel build system and is validated by unit tests, integration tests, and the OpenVX conformance tests.
49

10+
- [Installation](./docs/install.md)
11+
- [API Reference](./docs/api_overview.md)
12+
- [Licenses](LICENSE.md)
13+
514
## Project Structure
615
```
716
.bazelrc
@@ -75,4 +84,12 @@ The following extensions are conditionally enabled for ARM and ARM64 architectur
7584
The project includes conformance tests to verify the implementation against the OpenVX standard. The test data path is set using the VX_TEST_DATA_PATH environment variable.
7685

7786
## License
78-
This project is of confidental and propreitary material. See the LICENSE file for more details.
87+
This project is of confidental and propreitary material. See the [LICENSE](LICENSE.md) file for more details.
88+
89+
<div class="section_buttons">
90+
91+
| Previous | Next |
92+
|:------------------|----------------------------------:|
93+
| | [Installation](docs/install.md) |
94+
95+
</div>

docs/Doxyfile

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ PROJECT_ICON =
7474
# entered, it will be relative to the location where Doxygen was started. If
7575
# left blank the current directory will be used.
7676

77-
OUTPUT_DIRECTORY = /Users/Andrew/Projects/coreVX/docs
77+
OUTPUT_DIRECTORY = .
7878

7979
# If the CREATE_SUBDIRS tag is set to YES then Doxygen will create up to 4096
8080
# sub-directories (in 2 levels) under the output directory of each output format
@@ -615,7 +615,7 @@ HIDE_UNDOC_CLASSES = NO
615615
# option has no effect if EXTRACT_ALL is enabled.
616616
# The default value is: YES.
617617

618-
HIDE_UNDOC_NAMESPACES = YES
618+
HIDE_UNDOC_NAMESPACES = NO
619619

620620
# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all friend
621621
# declarations. If set to NO, these declarations will be included in the
@@ -732,7 +732,7 @@ SORT_MEMBERS_CTORS_1ST = NO
732732
# appear in their defined order.
733733
# The default value is: NO.
734734

735-
SORT_GROUP_NAMES = NO
735+
SORT_GROUP_NAMES = YES
736736

737737
# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
738738
# fully-qualified names, including namespaces. If set to NO, the class list will
@@ -752,13 +752,13 @@ SORT_BY_SCOPE_NAME = NO
752752
# accept a match between prototype and implementation in such cases.
753753
# The default value is: NO.
754754

755-
STRICT_PROTO_MATCHING = NO
755+
STRICT_PROTO_MATCHING = YES
756756

757757
# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
758758
# list. This list is created by putting \todo commands in the documentation.
759759
# The default value is: YES.
760760

761-
GENERATE_TODOLIST = YES
761+
GENERATE_TODOLIST = NO
762762

763763
# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
764764
# list. This list is created by putting \test commands in the documentation.
@@ -770,7 +770,7 @@ GENERATE_TESTLIST = YES
770770
# list. This list is created by putting \bug commands in the documentation.
771771
# The default value is: YES.
772772

773-
GENERATE_BUGLIST = YES
773+
GENERATE_BUGLIST = NO
774774

775775
# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
776776
# the deprecated list. This list is created by putting \deprecated commands in
@@ -815,7 +815,7 @@ SHOW_FILES = YES
815815
# Folder Tree View (if specified).
816816
# The default value is: YES.
817817

818-
SHOW_NAMESPACES = YES
818+
SHOW_NAMESPACES = NO
819819

820820
# The FILE_VERSION_FILTER tag can be used to specify a program or script that
821821
# Doxygen should invoke to get the current version for each file (typically from
@@ -949,7 +949,7 @@ WARN_LAYOUT_FILE = YES
949949
# Possible values are: NO, YES, FAIL_ON_WARNINGS and FAIL_ON_WARNINGS_PRINT.
950950
# The default value is: NO.
951951

952-
WARN_AS_ERROR = NO
952+
WARN_AS_ERROR = YES
953953

954954
# The WARN_FORMAT tag determines the format of the warning messages that Doxygen
955955
# can produce. The string should contain the $file, $line, and $text tags, which
@@ -991,7 +991,11 @@ WARN_LOGFILE =
991991
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
992992
# Note: If this tag is empty the current directory is searched.
993993

994-
INPUT = /Users/Andrew/Projects/coreVX
994+
INPUT = /Users/Andrew/Projects/coreVX \
995+
/Users/Andrew/Projects/coreVX/README.md \
996+
/Users/Andrew/Projects/coreVX/docs/install.md \
997+
/Users/Andrew/Projects/coreVX/docs/api_overview.md \
998+
/Users/Andrew/Projects/coreVX/LICENSE.md
995999

9961000
# This tag can be used to specify the character encoding of the source files
9971001
# that Doxygen parses. Internally Doxygen uses the UTF-8 encoding. Doxygen uses
@@ -1112,10 +1116,17 @@ EXCLUDE_SYMLINKS = NO
11121116
# Note that the wildcards are matched against the file with absolute path, so to
11131117
# exclude all test directories for example use the pattern */test/*
11141118

1115-
EXCLUDE_PATTERNS = */tests/* \
1119+
EXCLUDE_PATTERNS = */bazel-*/* \
1120+
*/build/* \
11161121
*/cts/* \
1122+
*/external/* \
11171123
*/kernels/NNEF-Tools/* \
1118-
*/kernels/utils/half/*
1124+
*/kernels/utils/half/* \
1125+
*.md \
1126+
/private/var/tmp/_bazel* \
1127+
*/tests/* \
1128+
*/third_party/* \
1129+
*/ui/*
11191130

11201131
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
11211132
# (namespaces, classes, functions, etc.) that should be excluded from the
@@ -1210,7 +1221,7 @@ FILTER_SOURCE_PATTERNS =
12101221
# (index.html). This can be useful if you have a project on for instance GitHub
12111222
# and want to reuse the introduction page also for the Doxygen output.
12121223

1213-
USE_MDFILE_AS_MAINPAGE =
1224+
USE_MDFILE_AS_MAINPAGE = ../README.md
12141225

12151226
# If the IMPLICIT_DIR_DOCS tag is set to YES, any README.md file found in sub-
12161227
# directories of the project's root, is used as the documentation for that sub-
@@ -1379,7 +1390,7 @@ HTML_FILE_EXTENSION = .html
13791390
# of the possible markers and block names see the documentation.
13801391
# This tag requires that the tag GENERATE_HTML is set to YES.
13811392

1382-
HTML_HEADER =
1393+
HTML_HEADER = header.html
13831394

13841395
# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
13851396
# generated HTML page. If the tag is left blank Doxygen will generate a standard
@@ -1389,7 +1400,7 @@ HTML_HEADER =
13891400
# that Doxygen normally uses.
13901401
# This tag requires that the tag GENERATE_HTML is set to YES.
13911402

1392-
HTML_FOOTER =
1403+
HTML_FOOTER = footer.html
13931404

13941405
# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
13951406
# sheet that is used by each HTML page. It can be used to fine-tune the look of
@@ -1419,7 +1430,9 @@ HTML_STYLESHEET =
14191430
# documentation.
14201431
# This tag requires that the tag GENERATE_HTML is set to YES.
14211432

1422-
HTML_EXTRA_STYLESHEET =
1433+
HTML_EXTRA_STYLESHEET = doxygen-awesome.css \
1434+
doxygen-awesome-sidebar-only.css \
1435+
doxygen-awesome-sidebar-only-darkmode-toggle.css
14231436

14241437
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
14251438
# other source files which should be copied to the HTML output directory. Note
@@ -1429,7 +1442,12 @@ HTML_EXTRA_STYLESHEET =
14291442
# files will be copied as-is; there are no commands or markers available.
14301443
# This tag requires that the tag GENERATE_HTML is set to YES.
14311444

1432-
HTML_EXTRA_FILES =
1445+
HTML_EXTRA_FILES = doxygen-awesome-darkmode-toggle.js \
1446+
doxygen-awesome-fragment-copy-button.js \
1447+
doxygen-awesome-interactive-toc.js \
1448+
doxygen-awesome-paragraph-link.js \
1449+
expand-all-sidebar.js \
1450+
custom-sidebar-links.js
14331451

14341452
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
14351453
# should be rendered with a dark or light theme.
@@ -1442,7 +1460,7 @@ HTML_EXTRA_FILES =
14421460
# The default value is: AUTO_LIGHT.
14431461
# This tag requires that the tag GENERATE_HTML is set to YES.
14441462

1445-
HTML_COLORSTYLE = AUTO_LIGHT
1463+
HTML_COLORSTYLE = LIGHT
14461464

14471465
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
14481466
# will adjust the colors in the style sheet and background images according to
@@ -1531,7 +1549,7 @@ HTML_PROJECT_COOKIE =
15311549
# Minimum value: 0, maximum value: 9999, default value: 100.
15321550
# This tag requires that the tag GENERATE_HTML is set to YES.
15331551

1534-
HTML_INDEX_NUM_ENTRIES = 100
1552+
HTML_INDEX_NUM_ENTRIES = 0
15351553

15361554
# If the GENERATE_DOCSET tag is set to YES, additional index files will be
15371555
# generated that can be used as input for Apple's Xcode 3 integrated development
@@ -1648,7 +1666,7 @@ BINARY_TOC = NO
16481666
# The default value is: NO.
16491667
# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
16501668

1651-
TOC_EXPAND = NO
1669+
TOC_EXPAND = YES
16521670

16531671
# The SITEMAP_URL tag is used to specify the full URL of the place where the
16541672
# generated documentation will be placed on the server by the user during the
@@ -1856,7 +1874,7 @@ FORMULA_MACROFILE =
18561874
# The default value is: NO.
18571875
# This tag requires that the tag GENERATE_HTML is set to YES.
18581876

1859-
USE_MATHJAX = NO
1877+
USE_MATHJAX = YES
18601878

18611879
# With MATHJAX_VERSION it is possible to specify the MathJax version to be used.
18621880
# Note that the different versions of MathJax have different requirements with
@@ -2544,7 +2562,7 @@ ALLEXTERNALS = NO
25442562
# listed.
25452563
# The default value is: YES.
25462564

2547-
EXTERNAL_GROUPS = YES
2565+
EXTERNAL_GROUPS = NO
25482566

25492567
# If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
25502568
# the related pages index. If set to NO, only the current project's pages will
@@ -2869,7 +2887,7 @@ PLANTUMLFILE_DIRS =
28692887
# Minimum value: 0, maximum value: 10000, default value: 50.
28702888
# This tag requires that the tag HAVE_DOT is set to YES.
28712889

2872-
DOT_GRAPH_MAX_NODES = 100
2890+
DOT_GRAPH_MAX_NODES = 500
28732891

28742892
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
28752893
# generated by dot. A depth value of 3 means that only nodes reachable from the
@@ -2926,3 +2944,11 @@ MSCGEN_TOOL =
29262944
# command).
29272945

29282946
MSCFILE_DIRS =
2947+
2948+
# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
2949+
# grouped member include a list of all files that are member of the same group
2950+
# (e.g. class, group or namespace) to the documentation. The default value is:
2951+
# NO.
2952+
# This tag requires that the tag GENERATE_HTML is set to YES.
2953+
2954+
SHOW_GROUPED_MEMB_INC = YES

0 commit comments

Comments
 (0)