File tree 4 files changed +130
-3
lines changed
4 files changed +130
-3
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ set ( ROBODOC_SKIP_DOC_GEN FALSE CACHE BOOL
124
124
if ( NOT ROBODOC_SKIP_DOC_GEN )
125
125
find_program ( ROBODOC robodoc )
126
126
if ( ROBODOC ) # Found
127
- set ( ROBODOC_OPTIONS --tabsize 4 --index --toc --sections --syntaxcolors --source_line_numbers
127
+ set ( ROBODOC_OPTIONS --rc robodoc.rc -- tabsize 4 --index --toc --sections --syntaxcolors --source_line_numbers
128
128
CACHE STRING "Options passed to robodoc to control building the documentation" )
129
129
set ( DOC_DIR "${CMAKE_BINARY_DIR} /documentation" )
130
130
set ( REQUIRED_ROBODOC_OPTIONS
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ if find_executable('robodoc'):
64
64
join ('documentation' ,'robodoc.css' ),
65
65
join ('documentation' ,'toc_index.html' ), ]
66
66
67
- bld = Builder (action = 'robodoc --src src/ --doc documentation/ --multidoc --html' +
67
+ bld = Builder (action = 'robodoc --rc robodoc.rc -- src src/ --doc documentation/ --multidoc --html' +
68
68
' --ignore_case_when_linking --syntaxcolors --source_line_numbers --index --tabsize 4 --documenttitle jsonfortran --sections' )
69
69
env = Environment (BUILDERS = {'RoboDoc' : bld })
70
70
env .RoboDoc (docfiles , src )
Original file line number Diff line number Diff line change @@ -54,5 +54,5 @@ echo "Building example program..."
54
54
# build the documentation with RoboDoc:
55
55
echo " "
56
56
echo " Building documentation..."
57
- robodoc --src ${SRCDIR} --doc ${DOCDIR} --multidoc --html --ignore_case_when_linking --syntaxcolors --source_line_numbers --index --tabsize 4 --documenttitle ${PROJECTNAME} --sections
57
+ robodoc --rc ./robodoc.rc -- src ${SRCDIR} --doc ${DOCDIR} --multidoc --html --ignore_case_when_linking --syntaxcolors --source_line_numbers --index --tabsize 4 --documenttitle ${PROJECTNAME} --sections
58
58
echo " "
Original file line number Diff line number Diff line change
1
+ #
2
+ # DESCRIPTION
3
+ # Example robodoc.rc file for Fortran
4
+ #
5
+ # NOTES
6
+ # Fortran keywords (77-2008) from http://fortranwiki.org/fortran/show/Keywords
7
+ # Also added a few missing ones at the bottom.
8
+ #
9
+ # AUTHOR
10
+ # Jacob Williams, 12/28/2014
11
+ #
12
+
13
+ source line comments:
14
+ !
15
+ keywords:
16
+ assign
17
+ backspace
18
+ block data
19
+ call
20
+ close
21
+ common
22
+ continue
23
+ data
24
+ dimension
25
+ do
26
+ else
27
+ else if
28
+ end
29
+ endfile
30
+ endif
31
+ entry
32
+ equivalence
33
+ external
34
+ format
35
+ function
36
+ goto
37
+ if
38
+ implicit
39
+ inquire
40
+ intrinsic
41
+ open
42
+ parameter
43
+ pause
44
+ print
45
+ program
46
+ read
47
+ return
48
+ rewind
49
+ rewrite
50
+ save
51
+ stop
52
+ subroutine
53
+ then
54
+ write
55
+ allocatable
56
+ allocate
57
+ case
58
+ contains
59
+ cycle
60
+ deallocate
61
+ elsewhere
62
+ exit
63
+ include
64
+ interface
65
+ intent
66
+ module
67
+ namelist
68
+ nullify
69
+ only
70
+ operator
71
+ optional
72
+ pointer
73
+ private
74
+ procedure
75
+ public
76
+ recursive
77
+ result
78
+ select
79
+ sequence
80
+ target
81
+ use
82
+ while
83
+ where
84
+ elemental
85
+ forall
86
+ pure
87
+ abstract
88
+ associate
89
+ asynchronous
90
+ bind
91
+ class
92
+ deferred
93
+ enum
94
+ enumerator
95
+ extends
96
+ final
97
+ flush
98
+ generic
99
+ import
100
+ non_overridable
101
+ nopass
102
+ pass
103
+ protected
104
+ value
105
+ volatile
106
+ wait
107
+ block
108
+ codimension
109
+ do concurrent
110
+ contiguous
111
+ critical
112
+ error stop
113
+ submodule
114
+ sync all
115
+ sync images
116
+ sync memory
117
+ lock
118
+ unlock
119
+ associated
120
+ allocated
121
+ present
122
+ character
123
+ type
124
+ integer
125
+ real
126
+ logical
127
+ none
You can’t perform that action at this time.
0 commit comments