Fix manual generation and deploy
This commit is contained in:
@@ -92,7 +92,7 @@ install(FILES ${CMAKE_BINARY_DIR}/configured_files/include/bayesnet/config.h DES
|
|||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
# -------------
|
# -------------
|
||||||
find_package(Doxygen REQUIRED dot)
|
find_package(Doxygen)
|
||||||
set(DOC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/docs)
|
set(DOC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/docs)
|
||||||
set(doxyfile_in ${DOC_DIR}/Doxyfile.in)
|
set(doxyfile_in ${DOC_DIR}/Doxyfile.in)
|
||||||
set(doxyfile ${DOC_DIR}/Doxyfile)
|
set(doxyfile ${DOC_DIR}/Doxyfile)
|
||||||
|
2
Makefile
2
Makefile
@@ -140,7 +140,7 @@ viewcoverage: ## View the html coverage report
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
@$(genhtml) $(f_debug)/tests/coverage.info --demangle-cpp --output-directory $(docsrcdir)/coverage --title "BayesNet Coverage Report" -s -k -f --legend >/dev/null 2>&1;
|
@$(genhtml) $(f_debug)/tests/coverage.info --demangle-cpp --output-directory $(docsrcdir)/coverage --title "BayesNet Coverage Report" -s -k -f --legend >/dev/null 2>&1;
|
||||||
@xdg-open html/index.html || open html/index.html 2>/dev/null
|
@xdg-open $(docsrcdir)/coverage/index.html || open $(docsrcdir)/coverage/index.html 2>/dev/null
|
||||||
@echo ">>> Done";
|
@echo ">>> Done";
|
||||||
|
|
||||||
updatebadge: ## Update the coverage badge in README.md
|
updatebadge: ## Update the coverage badge in README.md
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
[](https://sonarcloud.io/summary/new_code?id=rmontanana_BayesNet)
|
[](https://sonarcloud.io/summary/new_code?id=rmontanana_BayesNet)
|
||||||
[](https://sonarcloud.io/summary/new_code?id=rmontanana_BayesNet)
|
[](https://sonarcloud.io/summary/new_code?id=rmontanana_BayesNet)
|
||||||

|

|
||||||
[](html/index.html)
|
[](html/index.html)
|
||||||
|
|
||||||
Bayesian Network Classifiers using libtorch from scratch
|
Bayesian Network Classifiers using libtorch from scratch
|
||||||
|
|
||||||
|
@@ -61,7 +61,7 @@ PROJECT_BRIEF = "@CMAKE_PROJECT_DESCRIPTION@"
|
|||||||
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
|
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
|
||||||
# the logo to the output directory.
|
# the logo to the output directory.
|
||||||
|
|
||||||
PROJECT_LOGO = /Users/rmontanana/Code/BayesNet/docs/logo_small.png
|
PROJECT_LOGO = logo_small.png
|
||||||
|
|
||||||
# With the PROJECT_ICON tag one can specify an icon that is included in the tabs
|
# With the PROJECT_ICON tag one can specify an icon that is included in the tabs
|
||||||
# when the HTML document is shown. Doxygen will copy the logo to the output
|
# when the HTML document is shown. Doxygen will copy the logo to the output
|
||||||
@@ -74,7 +74,7 @@ PROJECT_ICON =
|
|||||||
# entered, it will be relative to the location where doxygen was started. If
|
# entered, it will be relative to the location where doxygen was started. If
|
||||||
# left blank the current directory will be used.
|
# left blank the current directory will be used.
|
||||||
|
|
||||||
OUTPUT_DIRECTORY = /Users/rmontanana/Code/BayesNet/docs
|
OUTPUT_DIRECTORY =
|
||||||
|
|
||||||
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
|
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create up to 4096
|
||||||
# sub-directories (in 2 levels) under the output directory of each output format
|
# sub-directories (in 2 levels) under the output directory of each output format
|
||||||
@@ -949,8 +949,8 @@ WARN_LOGFILE =
|
|||||||
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
|
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
|
||||||
# Note: If this tag is empty the current directory is searched.
|
# Note: If this tag is empty the current directory is searched.
|
||||||
|
|
||||||
INPUT = /Users/rmontanana/Code/BayesNet/bayesnet
|
INPUT = ../bayesnet
|
||||||
INPUT += /Users/rmontanana/Code/BayesNet/README.md
|
INPUT += ../README.md
|
||||||
|
|
||||||
# This tag can be used to specify the character encoding of the source files
|
# This tag can be used to specify the character encoding of the source files
|
||||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
|
||||||
@@ -1425,8 +1425,7 @@ HTML_EXTRA_STYLESHEET =
|
|||||||
# files will be copied as-is; there are no commands or markers available.
|
# files will be copied as-is; there are no commands or markers available.
|
||||||
# This tag requires that the tag GENERATE_HTML is set to YES.
|
# This tag requires that the tag GENERATE_HTML is set to YES.
|
||||||
|
|
||||||
HTML_EXTRA_FILES = /Users/rmontanana/Code/BayesNet/diagrams
|
HTML_EXTRA_FILES = ../logo.png
|
||||||
HTML_EXTRA_FILES += /Users/rmontanana/Code/BayesNet/logo.png
|
|
||||||
|
|
||||||
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
|
# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
|
||||||
# should be rendered with a dark or light theme.
|
# should be rendered with a dark or light theme.
|
||||||
@@ -2264,7 +2263,7 @@ GENERATE_MAN = YES
|
|||||||
# The default directory is: man.
|
# The default directory is: man.
|
||||||
# This tag requires that the tag GENERATE_MAN is set to YES.
|
# This tag requires that the tag GENERATE_MAN is set to YES.
|
||||||
|
|
||||||
MAN_OUTPUT = /Users/rmontanana/Code/BayesNet/docs
|
MAN_OUTPUT = ./
|
||||||
|
|
||||||
# The MAN_EXTENSION tag determines the extension that is added to the generated
|
# The MAN_EXTENSION tag determines the extension that is added to the generated
|
||||||
# man pages. In case the manual section does not start with a number, the number
|
# man pages. In case the manual section does not start with a number, the number
|
||||||
|
Reference in New Issue
Block a user