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
98849cac
Commit
98849cac
authored
May 19, 2012
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minor bug in treeview layout when using @subpage inside @mainpage
parent
55e5055c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
11 deletions
+31
-11
INSTALL
INSTALL
+1
-1
README
README
+1
-1
doxygen_manual.css
doc/doxygen_manual.css
+24
-4
index.cpp
src/index.cpp
+5
-5
No files found.
INSTALL
View file @
98849cac
...
@@ -4,4 +4,4 @@ Please read the installation section of the manual
...
@@ -4,4 +4,4 @@ Please read the installation section of the manual
(http://www.doxygen.org/install.html) for instructions.
(http://www.doxygen.org/install.html) for instructions.
--------
--------
Dimitri van Heesch (
19
May 2012)
Dimitri van Heesch (
20
May 2012)
README
View file @
98849cac
...
@@ -26,4 +26,4 @@ forum.
...
@@ -26,4 +26,4 @@ forum.
Enjoy,
Enjoy,
Dimitri van Heesch (dimitri@stack.nl) (
19
May 2012)
Dimitri van Heesch (dimitri@stack.nl) (
20
May 2012)
doc/doxygen_manual.css
View file @
98849cac
...
@@ -237,7 +237,7 @@ body {
...
@@ -237,7 +237,7 @@ body {
div
.contents
{
div
.contents
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
padding
:
8
px
;
padding
:
12
px
;
margin-left
:
auto
;
margin-left
:
auto
;
margin-right
:
auto
;
margin-right
:
auto
;
width
:
800px
;
width
:
800px
;
...
@@ -861,8 +861,8 @@ div.header
...
@@ -861,8 +861,8 @@ div.header
margin-left
:
auto
;
margin-left
:
auto
;
margin-right
:
auto
;
margin-right
:
auto
;
width
:
800px
;
width
:
800px
;
padding-left
:
8
px
;
padding-left
:
12
px
;
padding-right
:
8
px
;
padding-right
:
12
px
;
/* firefox specific markup */
/* firefox specific markup */
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
0px
0px
5px
;
-moz-box-shadow
:
rgba
(
0
,
0
,
0
,
0.15
)
0px
0px
5px
;
/* webkit specific markup */
/* webkit specific markup */
...
@@ -881,42 +881,62 @@ dl
...
@@ -881,42 +881,62 @@ dl
dl
.section
dl
.section
{
{
border-left
:
4px
solid
;
padding
:
0
0
0
6px
;
padding
:
0
0
0
6px
;
}
}
dl
.note
dl
.note
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#D0C000
;
border-color
:
#D0C000
;
}
}
dl
.warning
,
dl
.attention
dl
.warning
,
dl
.attention
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#FF0000
;
border-color
:
#FF0000
;
}
}
dl
.pre
,
dl
.post
,
dl
.invariant
dl
.pre
,
dl
.post
,
dl
.invariant
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#00D000
;
border-color
:
#00D000
;
}
}
dl
.deprecated
dl
.deprecated
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#505050
;
border-color
:
#505050
;
}
}
dl
.todo
dl
.todo
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#00C0E0
;
border-color
:
#00C0E0
;
}
}
dl
.test
dl
.test
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#3030E0
;
border-color
:
#3030E0
;
}
}
dl
.bug
dl
.bug
{
{
margin-left
:
-7px
;
padding-left
:
3px
;
border-left
:
4px
solid
;
border-color
:
#C08050
;
border-color
:
#C08050
;
}
}
...
...
src/index.cpp
View file @
98849cac
...
@@ -3144,7 +3144,7 @@ static void countRelatedPages(int &docPages,int &indexPages)
...
@@ -3144,7 +3144,7 @@ static void countRelatedPages(int &docPages,int &indexPages)
static
void
writePages
(
PageDef
*
pd
,
FTVHelp
*
ftv
)
static
void
writePages
(
PageDef
*
pd
,
FTVHelp
*
ftv
)
{
{
//printf("writePages()=%s
\n",pd->title().data()
);
//printf("writePages()=%s
pd=%p mainpage=%p\n",pd->name().data(),pd,Doxygen::mainPage
);
LayoutNavEntry
*
lne
=
LayoutDocManager
::
instance
().
rootNavEntry
()
->
find
(
LayoutNavEntry
::
Pages
);
LayoutNavEntry
*
lne
=
LayoutDocManager
::
instance
().
rootNavEntry
()
->
find
(
LayoutNavEntry
::
Pages
);
bool
addToIndex
=
lne
==
0
||
lne
->
visible
();
bool
addToIndex
=
lne
==
0
||
lne
->
visible
();
if
(
!
addToIndex
)
return
;
if
(
!
addToIndex
)
return
;
...
@@ -3169,7 +3169,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
...
@@ -3169,7 +3169,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
pd
->
getReference
(),
pd
->
getOutputFileBase
(),
pd
->
getReference
(),
pd
->
getOutputFileBase
(),
0
,
hasSubPages
,
TRUE
,
pd
);
0
,
hasSubPages
,
TRUE
,
pd
);
}
}
if
(
addToIndex
)
if
(
addToIndex
&&
pd
!=
Doxygen
::
mainPage
)
{
{
Doxygen
::
indexList
.
addContentsItem
(
Doxygen
::
indexList
.
addContentsItem
(
hasSubPages
,
pageTitle
,
hasSubPages
,
pageTitle
,
...
@@ -3178,7 +3178,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
...
@@ -3178,7 +3178,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
}
}
}
}
if
(
hasSubPages
&&
ftv
)
ftv
->
incContentsDepth
();
if
(
hasSubPages
&&
ftv
)
ftv
->
incContentsDepth
();
if
(
hasSections
||
hasSubPages
)
if
(
(
hasSections
||
hasSubPages
)
&&
pd
!=
Doxygen
::
mainPage
)
{
{
Doxygen
::
indexList
.
incContentsDepth
();
Doxygen
::
indexList
.
incContentsDepth
();
}
}
...
@@ -3197,7 +3197,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
...
@@ -3197,7 +3197,7 @@ static void writePages(PageDef *pd,FTVHelp *ftv)
}
}
}
}
if
(
hasSubPages
&&
ftv
)
ftv
->
decContentsDepth
();
if
(
hasSubPages
&&
ftv
)
ftv
->
decContentsDepth
();
if
(
hasSections
||
hasSubPages
)
if
(
(
hasSections
||
hasSubPages
)
&&
pd
!=
Doxygen
::
mainPage
)
{
{
Doxygen
::
indexList
.
decContentsDepth
();
Doxygen
::
indexList
.
decContentsDepth
();
}
}
...
@@ -3806,7 +3806,7 @@ static void writeIndex(OutputList &ol)
...
@@ -3806,7 +3806,7 @@ static void writeIndex(OutputList &ol)
if
(
Doxygen
::
mainPage
)
if
(
Doxygen
::
mainPage
)
{
{
if
(
Doxygen
::
mainPage
->
hasSubPages
()
||
if
(
/*Doxygen::mainPage->hasSubPages() || */
(
!
Config_getString
(
"PROJECT_NAME"
).
isEmpty
()
&&
mainPageHasTitle
())
(
!
Config_getString
(
"PROJECT_NAME"
).
isEmpty
()
&&
mainPageHasTitle
())
)
// to avoid duplicate entries in the treeview
)
// to avoid duplicate entries in the treeview
{
{
...
...
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