Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
54f60c11
Commit
54f60c11
authored
Sep 28, 2013
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 708806 - Wrong path to graph_legend figure in graph_legend.html when CREATE_SUBDIRS = YES
parent
8e0e64c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
index.cpp
src/index.cpp
+14
-4
No files found.
src/index.cpp
View file @
54f60c11
...
...
@@ -3300,15 +3300,21 @@ void writeGraphInfo(OutputList &ol)
ol
.
pushGeneratorState
();
ol
.
disableAllBut
(
OutputGenerator
::
Html
);
generateGraphLegend
(
Config_getString
(
"HTML_OUTPUT"
));
bool
&
stripCommentsStateRef
=
Config_getBool
(
"STRIP_CODE_COMMENTS"
);
bool
oldStripCommentsState
=
stripCommentsStateRef
;
bool
&
createSubdirs
=
Config_getBool
(
"CREATE_SUBDIRS"
);
bool
oldCreateSubdirs
=
createSubdirs
;
// temporarily disable the stripping of comments for our own code example!
stripCommentsStateRef
=
FALSE
;
// temporarily disable create subdirs for linking to our example
createSubdirs
=
FALSE
;
startFile
(
ol
,
"graph_legend"
,
0
,
theTranslator
->
trLegendTitle
().
data
());
startTitle
(
ol
,
0
);
ol
.
parseText
(
theTranslator
->
trLegendTitle
());
endTitle
(
ol
,
0
,
0
);
ol
.
startContents
();
bool
&
stripCommentsStateRef
=
Config_getBool
(
"STRIP_CODE_COMMENTS"
);
bool
oldStripCommentsState
=
stripCommentsStateRef
;
// temporarily disable the stripping of comments for our own code example!
stripCommentsStateRef
=
FALSE
;
QCString
legendDocs
=
theTranslator
->
trLegendDocs
();
int
s
=
legendDocs
.
find
(
"<center>"
);
int
e
=
legendDocs
.
find
(
"</center>"
);
...
...
@@ -3319,7 +3325,11 @@ void writeGraphInfo(OutputList &ol)
}
FileDef
fd
(
""
,
"graph_legend"
);
ol
.
generateDoc
(
"graph_legend"
,
1
,
&
fd
,
0
,
legendDocs
,
FALSE
,
FALSE
);
// restore config settings
stripCommentsStateRef
=
oldStripCommentsState
;
createSubdirs
=
oldCreateSubdirs
;
endFile
(
ol
);
ol
.
popGeneratorState
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment