File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ set ( SKIP_DOC_GEN FALSE CACHE BOOL
145
145
if ( NOT SKIP_DOC_GEN )
146
146
find_program ( FORD ford )
147
147
if ( FORD ) # Found
148
+ file ( COPY "${CMAKE_SOURCE_DIR} /media" DESTINATION "${CMAKE_BINARY_DIR} /" )
148
149
set ( DOC_DIR "${CMAKE_BINARY_DIR} /doc" )
149
150
set ( FORD_PROJECT_FILE "${CMAKE_SOURCE_DIR} /json-fortran.md" )
150
151
# Dynamically generate the FORD outputs list
Original file line number Diff line number Diff line change 1
1
project: json-fortran
2
+ favicon: ./media/json-fortran-32x32.png
2
3
project_dir: ./src
4
+ macro: USE_UCS4
3
5
output_dir: ./doc
6
+ media_dir: ./media
4
7
project_github: https://github.com/jacobwilliams/json-fortran
5
8
summary: JSON-FORTRAN -- A Fortran 2008 JSON API
6
9
author: Jacob Williams
7
10
github: https://github.com/jacobwilliams
11
+ website: http://degenerateconic.com
12
+ twitter: https://twitter.com/degenerateconic
8
13
predocmark_alt: >
9
14
predocmark: <
10
15
docmark_alt:
11
16
docmark: !
12
17
exclude_dir: tests
13
18
exclude_dir: introspection
14
19
display: public
15
- display: protected
16
- display: private
20
+ protected
21
+ private
17
22
source: true
23
+ md_extensions: markdown.extensions.toc(anchorlink=True)
24
+ markdown.extensions.smarty(smart_quotes=False)
25
+
26
+ <!-- Uncommenting these should work, but this actually causes issues
27
+
28
+ *[API]: Application Programmable Interface
29
+ *[JSON]: JavaScript Object Notation
30
+
31
+ -->
32
+
33
+ [ TOC]
18
34
19
35
# Brief description
20
36
Original file line number Diff line number Diff line change 6
6
!
7
7
! This module provides an interface for reading and writing JSON files.
8
8
!
9
- ! @note ```USE_UCS4 ``` is an optional preprocessor flag.
9
+ ! @note ```-DUSE_UCS4 ``` is an optional preprocessor flag.
10
10
! When present, Unicode support is enabled. Note that this
11
11
! is currently only supported with the gfortran compiler.
12
12
! Example: ```gfortran -DUSE_UCS4 ... ```
13
13
#ifdef USE_UCS4
14
+ # pragma push_macro("USE_UCS4")
15
+ # undef USE_UCS4
14
16
! The documentation given here assumes ```USE_UCS4``` **is** defined.
17
+ # pragma pop_macro("USE_UCS4")
15
18
#else
16
19
! The documentation given here assumes ```USE_UCS4``` **is not** defined.
17
20
#endif
You can’t perform that action at this time.
0 commit comments