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
c7c7d73c
Commit
c7c7d73c
authored
Aug 04, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made bread crumb trails enabled unconditionally
parent
e7a188b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
17 deletions
+10
-17
config.xml
src/config.xml
+0
-9
util.cpp
src/util.cpp
+10
-8
No files found.
src/config.xml
View file @
c7c7d73c
...
...
@@ -3361,15 +3361,6 @@ remove the intermediate dot files that are used to generate the various graphs.
]]>
</docs>
</option>
<option
type=
'bool'
id=
'BREAD_CRUMB_TRAIL'
defval=
'0'
>
<docs>
<![CDATA[
If the \c BREAD_CRUMB_TRAIL tag is set to \c YES then the complete bread crumb
trail for a page will be displayed rather than just the root group.
]]>
</docs>
</option>
<option
type=
'obsolete'
id=
'USE_WINDOWS_ENCODING'
/>
<option
type=
'obsolete'
id=
'DETAILS_AT_TOP'
/>
<option
type=
'obsolete'
id=
'QTHELP_FILE'
/>
...
...
src/util.cpp
View file @
c7c7d73c
...
...
@@ -6353,12 +6353,13 @@ void addRefItem(const QList<ListItemInfo> *sli,
}
}
bool
recursivelyAddGroupListToTitle
(
OutputList
&
ol
,
Definition
*
d
,
bool
root
,
bool
shouldRecurse
)
bool
recursivelyAddGroupListToTitle
(
OutputList
&
ol
,
Definition
*
d
,
bool
root
)
{
GroupList
*
groups
=
d
->
partOfGroups
();
if
(
groups
)
// write list of group to which this definition belongs
{
if
(
root
)
{
if
(
root
)
{
ol
.
pushGeneratorState
();
ol
.
disableAllBut
(
OutputGenerator
::
Html
);
ol
.
writeString
(
"<div class=
\"
ingroups
\"
>"
);
...
...
@@ -6368,14 +6369,15 @@ bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root,bool
bool
first
=
true
;
for
(
gli
.
toFirst
();(
gd
=
gli
.
current
());
++
gli
)
{
if
(
shouldRecurse
&&
recursivelyAddGroupListToTitle
(
ol
,
gd
,
false
,
shouldRecurse
))
{
ol
.
writeString
(
" > "
);
if
(
recursivelyAddGroupListToTitle
(
ol
,
gd
,
FALSE
))
{
ol
.
writeString
(
" » "
);
}
if
(
!
first
)
{
ol
.
writeString
(
" | "
);
}
else
first
=
FALSE
;
ol
.
writeObjectLink
(
gd
->
getReference
(),
gd
->
getOutputFileBase
(),
0
,
gd
->
groupTitle
());
ol
.
writeObjectLink
(
gd
->
getReference
(),
gd
->
getOutputFileBase
(),
0
,
gd
->
groupTitle
());
}
if
(
root
)
{
if
(
root
)
{
ol
.
writeString
(
"</div>"
);
ol
.
popGeneratorState
();
}
...
...
@@ -6386,7 +6388,7 @@ bool recursivelyAddGroupListToTitle(OutputList &ol,Definition *d,bool root,bool
void
addGroupListToTitle
(
OutputList
&
ol
,
Definition
*
d
)
{
recursivelyAddGroupListToTitle
(
ol
,
d
,
true
,
Config_getBool
(
"BREAD_CRUMB_TRAIL"
)
);
recursivelyAddGroupListToTitle
(
ol
,
d
,
TRUE
);
}
void
filterLatexString
(
FTextStream
&
t
,
const
char
*
str
,
...
...
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