Skip to content

Commit

Permalink
Doc: style alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vovamarch committed Nov 10, 2023
1 parent 206cde4 commit b934cc4
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 38 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build documentation

on:
workflow_dispatch:
pull_request:
Expand Down
9 changes: 4 additions & 5 deletions Documentation/Doxygen/dap.dxy.in
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,8 @@ HTML_STYLESHEET =
HTML_EXTRA_STYLESHEET = ./style_template/extra_stylesheet.css \
./style_template/extra_navtree.css \
./style_template/extra_search.css \
./style_template/extra_tabs.css \
./style_template/version.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand All @@ -1390,9 +1392,7 @@ HTML_EXTRA_STYLESHEET = ./style_template/extra_stylesheet.css \
# files will be copied as-is; there are no commands or markers available.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_FILES = ./style_template/tabs.css \
./style_template/version.css \
./style_template/tab_b.png \
HTML_EXTRA_FILES = ./style_template/tab_b.png \
./style_template/tabs.js \
./style_template/darkmode_toggle.js \
./style_template/navtree.js \
Expand Down Expand Up @@ -2551,8 +2551,7 @@ COLLABORATION_GRAPH = YES
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.


GROUP_GRAPHS = YES
GROUP_GRAPHS = NO

# If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
# collaboration diagrams in a style similar to the OMG's Unified Modeling
Expand Down
4 changes: 1 addition & 3 deletions Documentation/Doxygen/gen_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
# Pre-requisites:
# - bash shell (for Windows: install git for Windows)
# - doxygen 1.9.6
# - mscgen 0.20
# - linkchecker (can be skipped with -s)

set -o pipefail
Expand All @@ -19,7 +18,6 @@ REQUIRED_GEN_PACK_LIB="0.9.0"
DIRNAME=$(dirname "$(readlink -f "$0")")
GENDIR=../html
REQ_DXY_VERSION="1.9.6"
REQ_MSCGEN_VERSION="0.20"

RUN_LINKCHECKER=1
COMPONENTS=()
Expand Down Expand Up @@ -53,6 +51,7 @@ while [[ $# -gt 0 ]]; do
esac
shift # past argument
done

############ DO NOT EDIT BELOW ###########

# Set GEN_PACK_LIB_PATH to use a specific gen-pack library root
Expand All @@ -65,7 +64,6 @@ fi

find_git
find_doxygen "${REQ_DXY_VERSION}"
find_utility "mscgen" "-l | grep 'Mscgen version' | sed -r -e 's/Mscgen version ([^,]+),.*/\1/'" "${REQ_MSCGEN_VERSION}"
[[ ${RUN_LINKCHECKER} != 0 ]] && find_linkchecker

if [ -z "${VERSION_FULL}" ]; then
Expand Down
1 change: 1 addition & 0 deletions Documentation/Doxygen/style_template/extra_navtree.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
display:block;
position: absolute;
left: 0px;
width: 330px;
}

.ui-resizable .ui-resizable-handle {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
:root {
--arm_light_blue: #00C1DE;
--arm_blue: #11809F;
--arm_blue1: #0091BD;
--arm_dark_blue: #002B49;
--arm_light_gray: #E5ECEB;
--arm_light_gray1: #EFF5F4;
--arm_light_gray2: #EBEBEB;
--arm_light_gray3: #F7F7F7;
--arm_dark_gray: #7D868C;
--arm_black: #333E48;
--arm_orange: #FF6B00;
--arm_yellow: #FFC700;
}

/* in Doxygen 1.9.2 'tabs' is assigned to second navigation row (navrow1) with
'Main Page', 'Namespaces', etc */
Expand All @@ -31,8 +17,15 @@
font-size: 16px;
}

.tabs1 a {
color:while;
}

.tabs {
background-color: var(--arm_light_gray);
background-color: var(--nav_tabs-background-color);
border-top-style:solid;
border-top-width:1px;
border-top-color:var(--nav_tabs-border-color);
}

.tablist, .main-menu {
Expand All @@ -45,10 +38,10 @@
.tablist li {
float: left;
display: table-cell;
background-color: var(--arm_light_gray);
background-color: var(--nav_tabs-background-color);
border-right-style:solid;
border-right-width:1px;
border-right-color:var(--arm_dark_gray);
border-right-color:var(--nav_tabs-border-color);
list-style: none;
margin:0px;
}
Expand Down Expand Up @@ -81,14 +74,23 @@
background-color: var(--arm_blue);
}

.tablist a:hover {
color: var(--arm_orange);
.tabs .tablist a {
background-color: var(--nav_tabs-background-color);
color: var(--nav_tabs-text-color);
}
.tabs .tablist li.current a {
background-color: var(--nav_tabs-background-active-color);
color: var(--nav_tabs-text-active-color);
}

.tabs1 a:hover {
color: var(--arm_yellow);
.tabs a:hover {
color: var(--arm_orange);
}

.tablist li.current :hover {
.tabs li.current a:hover {
color: white;
}

.tabs1 a:hover {
color: var(--arm_yellow);
}
8 changes: 1 addition & 7 deletions Documentation/Doxygen/style_template/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME-->
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME-->
<link href="$relpath^doxygen.css" rel="stylesheet" type="text/css"/>
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath^extra_navtree.css" rel="stylesheet" type="text/css"/>
<link href="$relpath^extra_stylesheet.css" rel="stylesheet" type="text/css"/>
<link href="$relpath^extra_search.css" rel="stylesheet" type="text/css"/>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
<script type="text/javascript">var page_layout=1;</script>
<!--END FULL_SIDEBAR-->
<!--END DISABLE_INDEX-->

<link href="$relpath^doxygen.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="$relpath^jquery.js"></script>
<script type="text/javascript" src="$relpath^dynsections.js"></script>
<script type="text/javascript" src="$relpath^tabs.js"></script>
Expand All @@ -28,7 +23,6 @@
$mathjax
$darkmode
$extrastylesheet
<link href="$relpath^version.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../version.js"></script>
</head>
<body>
Expand Down

0 comments on commit b934cc4

Please sign in to comment.