Skip to content

Commit 5d705a1

Browse files
authored
Merge pull request #978 from turboencabulator/doxygen-sync
Re-sync Doxyfile with CMake
2 parents 8254fbd + 55d73a2 commit 5d705a1

File tree

2 files changed

+44
-35
lines changed

2 files changed

+44
-35
lines changed

CMakeLists.txt

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.6)
1+
cmake_minimum_required(VERSION 3.9)
22

33
project(LAPACK)
44

@@ -615,24 +615,21 @@ if(BUILD_HTML_DOCUMENTATION OR BUILD_MAN_DOCUMENTATION)
615615

616616
set(DOXYGEN_PROJECT_BRIEF "LAPACK: Linear Algebra PACKage")
617617
set(DOXYGEN_PROJECT_NUMBER ${LAPACK_VERSION})
618-
set(DOXYGEN_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/DOCS)
619-
set(DOXYGEN_PROJECT_LOGO ${CMAKE_CURRENT_SOURCE_DIR}/DOCS/lapack.png)
618+
set(DOXYGEN_OUTPUT_DIRECTORY DOCS)
619+
set(DOXYGEN_PROJECT_LOGO DOCS/lapack.png)
620620
set(DOXYGEN_OPTIMIZE_FOR_FORTRAN YES)
621621
set(DOXYGEN_SOURCE_BROWSER YES)
622622
set(DOXYGEN_CREATE_SUBDIRS YES)
623623
set(DOXYGEN_SEPARATE_MEMBER_PAGES YES)
624+
set(DOXYGEN_TAB_SIZE 8)
624625
set(DOXYGEN_EXTRACT_ALL YES)
625626
set(DOXYGEN_FILE_PATTERNS *.f *.f90 *.c *.h )
626627
set(DOXYGEN_RECURSIVE YES)
627628
set(DOXYGEN_GENERATE_TREEVIEW YES)
628629
set(DOXYGEN_DOT_IMAGE_FORMAT svg)
629630
set(DOXYGEN_INTERACTIVE_SVG YES)
630-
set(DOXYGEN_QUIET NO)
631-
set(DOXYGEN_WARNINGS YES)
632631
set(DOXYGEN_WARN_NO_PARAMDOC YES)
633632
set(DOXYGEN_WARN_LOGFILE doxygen_error)
634-
set(DOXYGEN_GENERATE_HTML NO)
635-
set(DOXYGEN_GENERATE_MAN NO)
636633
set(DOXYGEN_LAYOUT_FILE "DOCS/DoxygenLayout.xml")
637634

638635
# Exclude functions that are duplicated, creating conflicts.
@@ -647,46 +644,52 @@ if(BUILD_HTML_DOCUMENTATION OR BUILD_MAN_DOCUMENTATION)
647644

648645
if (BUILD_HTML_DOCUMENTATION)
649646
set(DOXYGEN_GENERATE_HTML YES)
650-
set(DOXYGEN_HTML_OUTPUT explore-html)
647+
set(DOXYGEN_GENERATE_MAN NO)
651648
set(DOXYGEN_INLINE_SOURCES YES)
652649
set(DOXYGEN_CALL_GRAPH YES)
653650
set(DOXYGEN_CALLER_GRAPH YES)
654651

652+
set(DOXYGEN_HTML_OUTPUT explore-html)
653+
set(DOXYGEN_HTML_TIMESTAMP YES)
655654
doxygen_add_docs(
656655
html
657656

658657
# Doxygen INPUT =
659-
${PROJECT_SOURCE_DIR}/README.md
660-
${PROJECT_SOURCE_DIR}/BLAS
661-
${PROJECT_SOURCE_DIR}/CBLAS
662-
${PROJECT_SOURCE_DIR}/SRC
663-
${PROJECT_SOURCE_DIR}/INSTALL
664-
${PROJECT_SOURCE_DIR}/TESTING
665-
${PROJECT_SOURCE_DIR}/DOCS/groups-usr.dox
658+
BLAS
659+
CBLAS
660+
SRC
661+
INSTALL
662+
TESTING
663+
DOCS/groups-usr.dox
664+
README.md
666665

667666
COMMENT "Generating html LAPACK documentation (it will take some time... time to grab a coffee)"
668667
)
668+
unset(DOXYGEN_HTML_OUTPUT)
669+
unset(DOXYGEN_HTML_TIMESTAMP)
669670
endif()
670671
if (BUILD_MAN_DOCUMENTATION)
672+
set(DOXYGEN_GENERATE_HTML NO)
671673
set(DOXYGEN_GENERATE_MAN YES)
672-
set(DOXYGEN_MAN_LINKS YES)
673674
set(DOXYGEN_INLINE_SOURCES NO)
674675
set(DOXYGEN_CALL_GRAPH NO)
675676
set(DOXYGEN_CALLER_GRAPH NO)
676677

678+
set(DOXYGEN_MAN_LINKS YES)
677679
doxygen_add_docs(
678680
man
679681

680682
# Doxygen INPUT =
681-
${PROJECT_SOURCE_DIR}/BLAS
682-
${PROJECT_SOURCE_DIR}/CBLAS
683-
${PROJECT_SOURCE_DIR}/SRC
684-
${PROJECT_SOURCE_DIR}/INSTALL
685-
${PROJECT_SOURCE_DIR}/TESTING
686-
${PROJECT_SOURCE_DIR}/DOCS/groups-usr.dox
683+
BLAS
684+
CBLAS
685+
SRC
686+
INSTALL
687+
TESTING
688+
DOCS/groups-usr.dox
687689

688690
COMMENT "Generating man LAPACK documentation"
689691
)
692+
unset(DOXYGEN_MAN_LINKS)
690693
endif()
691694

692695
endif()

DOCS/Doxyfile

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,17 @@ REPEAT_BRIEF = YES
126126
# the entity):The $name class, The $name widget, The $name file, is, provides,
127127
# specifies, contains, represents, a, an and the.
128128

129-
ABBREVIATE_BRIEF =
129+
ABBREVIATE_BRIEF = "The $name class" \
130+
"The $name widget" \
131+
"The $name file" \
132+
is \
133+
provides \
134+
specifies \
135+
contains \
136+
represents \
137+
a \
138+
an \
139+
the
130140

131141
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
132142
# doxygen will generate a detailed section even if there is only a brief
@@ -885,9 +895,9 @@ INPUT_ENCODING = UTF-8
885895
# *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, *.f18, *.f, *.for, *.vhd, *.vhdl,
886896
# *.ucf, *.qsf and *.ice.
887897

888-
FILE_PATTERNS = *.c \
889-
*.f \
898+
FILE_PATTERNS = *.f \
890899
*.f90 \
900+
*.c \
891901
*.h
892902

893903
# The RECURSIVE tag can be used to specify whether or not subdirectories should
@@ -927,11 +937,7 @@ EXCLUDE_SYMLINKS = NO
927937
# Note that the wildcards are matched against the file with absolute path, so to
928938
# exclude all test directories for example use the pattern */test/*
929939

930-
EXCLUDE_PATTERNS = *.py \
931-
*.txt \
932-
*.in \
933-
*.inc \
934-
Makefile
940+
EXCLUDE_PATTERNS =
935941

936942
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
937943
# (namespaces, classes, functions, etc.) that should be excluded from the
@@ -955,7 +961,7 @@ EXAMPLE_PATH =
955961
# *.h) to filter out the source-files in the directories. If left blank all
956962
# files are included.
957963

958-
EXAMPLE_PATTERNS =
964+
EXAMPLE_PATTERNS = *
959965

960966
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
961967
# searched for input files to be used with the \include or \dontinclude commands
@@ -1602,7 +1608,7 @@ MATHJAX_FORMAT = HTML-CSS
16021608
# The default value is: https://cdn.jsdelivr.net/npm/mathjax@2.
16031609
# This tag requires that the tag USE_MATHJAX is set to YES.
16041610

1605-
MATHJAX_RELPATH = http://www.mathjax.org/mathjax
1611+
MATHJAX_RELPATH = https://cdn.jsdelivr.net/npm/mathjax@2
16061612

16071613
# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
16081614
# extension names that should be enabled during MathJax rendering. For example
@@ -1735,7 +1741,7 @@ LATEX_OUTPUT = latex
17351741
# the output language.
17361742
# This tag requires that the tag GENERATE_LATEX is set to YES.
17371743

1738-
LATEX_CMD_NAME = latex
1744+
LATEX_CMD_NAME =
17391745

17401746
# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
17411747
# index for LaTeX.
@@ -1938,7 +1944,7 @@ COMPACT_RTF = NO
19381944
# The default value is: NO.
19391945
# This tag requires that the tag GENERATE_RTF is set to YES.
19401946

1941-
RTF_HYPERLINKS = YES
1947+
RTF_HYPERLINKS = NO
19421948

19431949
# Load stylesheet definitions from file. Syntax is similar to doxygen's
19441950
# configuration file, i.e. a series of assignments. You only have to provide
@@ -2009,7 +2015,7 @@ MAN_SUBDIR =
20092015
# The default value is: NO.
20102016
# This tag requires that the tag GENERATE_MAN is set to YES.
20112017

2012-
MAN_LINKS = YES
2018+
MAN_LINKS = NO
20132019

20142020
#---------------------------------------------------------------------------
20152021
# Configuration options related to the XML output

0 commit comments

Comments
 (0)