Skip to content

Commit

Permalink
doc: Update doxygen to 1.12 and doxygen-awesome to 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tradias committed Nov 24, 2024
1 parent cd9ae2e commit 6ae4d14
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ jobs:
run: |
cmake -E make_directory doxygen &&\
cd doxygen &&\
wget --quiet https://netcologne.dl.sourceforge.net/project/doxygen/rel-1.9.4/doxygen-1.9.4.linux.bin.tar.gz &&\
tar xf doxygen-1.9.4.linux.bin.tar.gz --strip-components=1
wget --quiet https://download.sourceforge.net/project/doxygen/rel-1.12.0/doxygen-1.12.0.linux.bin.tar.gz &&\
tar xf doxygen-1.12.0.linux.bin.tar.gz --strip-components=1
- name: Clang 12 Configure CMake for examples
run: cmake --preset default -B ${{ github.workspace }}/build-12 -DCMAKE_CXX_COMPILER=$(which clang++-12) -DVCPKG_INSTALLED_DIR=${{ runner.workspace }}/vcpkg_installed ${{ env.CMAKE_EXTRA_ARGS }} ${{ env.CMAKE_ARGS }} -DASIO_GRPC_BUILD_TESTS=off -DASIO_GRPC_BUILD_EXAMPLES=on
Expand Down
4 changes: 2 additions & 2 deletions doc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ function(asio_grpc_doxygen)
"${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome.css" "${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome-sidebar-only.css"
"${CMAKE_CURRENT_LIST_DIR}/doxygen-awesome-sidebar-only-darkmode-toggle.css"
"${CMAKE_CURRENT_LIST_DIR}/custom.css")
set(HTML_COLORSTYLE "LIGHT")
set(DOXYGEN_HTML_COLORSTYLE "LIGHT")
set(DOXYGEN_HTML_COLORSTYLE_HUE "209")
set(DOXYGEN_HTML_COLORSTYLE_SAT "255")
set(DOXYGEN_HTML_COLORSTYLE_GAMMA "113")
set(DOXYGEN_HTML_DYNAMIC_MENUS "YES")
set(DOXYGEN_HTML_DYNAMIC_SECTIONS "YES")
set(DOXYGEN_GENERATE_TREEVIEW "YES")
set(DOXYGEN_TREEVIEW_WIDTH "310")
set(DOXYGEN_TREEVIEW_WIDTH "335")
set(DOXYGEN_MACRO_EXPANSION "YES")
set(DOXYGEN_INCLUDE_PATH "${ASIO_GRPC_PROJECT_ROOT}/src" "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}")
set(DOXYGEN_PREDEFINED
Expand Down
1 change: 0 additions & 1 deletion doc/custom.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
html {
--content-maxwidth: 95%;
--side-nav-fixed-width: 310px;
}
42 changes: 27 additions & 15 deletions doc/doxygen-awesome.css
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ body {
body, table, div, p, dl, #nav-tree .label, .title,
.sm-dox a, .sm-dox a:hover, .sm-dox a:focus, #projectname,
.SelectItem, #MSearchField, .navpath li.navelem a,
.navpath li.navelem a:hover, p.reference, p.definition {
.navpath li.navelem a:hover, p.reference, p.definition, div.toc li, div.toc h3 {
font-family: var(--font-family);
}

Expand All @@ -334,6 +334,7 @@ p.reference, p.definition {
a:link, a:visited, a:hover, a:focus, a:active {
color: var(--primary-color) !important;
font-weight: 500;
background: none;
}

a.anchor {
Expand Down Expand Up @@ -804,6 +805,12 @@ html.dark-mode iframe#MSearchResults {
#nav-tree .item {
height: var(--tree-item-height);
line-height: var(--tree-item-height);
overflow: hidden;
text-overflow: ellipsis;
}

#nav-tree .item > a:focus {
outline: none;
}

#nav-sync {
Expand All @@ -818,6 +825,8 @@ html.dark-mode iframe#MSearchResults {
background-image: none;
background-color: transparent;
position: relative;
color: var(--primary-color) !important;
font-weight: 500;
}

#nav-tree .selected::after {
Expand All @@ -843,6 +852,7 @@ html.dark-mode iframe#MSearchResults {

#nav-tree .arrow {
opacity: var(--side-nav-arrow-opacity);
background: none;
}

.arrow {
Expand Down Expand Up @@ -1040,7 +1050,7 @@ blockquote::after {
blockquote p {
margin: var(--spacing-small) 0 var(--spacing-medium) 0;
}
.paramname {
.paramname, .paramname em {
font-weight: 600;
color: var(--primary-dark-color);
}
Expand Down Expand Up @@ -1090,7 +1100,7 @@ div.contents .toc {
border: 0;
border-left: 1px solid var(--separator-color);
border-radius: 0;
background-color: transparent;
background-color: var(--page-background-color);
box-shadow: none;
position: sticky;
top: var(--toc-sticky-top);
Expand Down Expand Up @@ -1743,7 +1753,7 @@ table.fieldtable th {
color: var(--tablehead-foreground);
}

table.fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fielddoc, .fieldtable th {
table.fieldtable td.fieldtype, .fieldtable td.fieldname, .fieldtable td.fieldinit, .fieldtable td.fielddoc, .fieldtable th {
border-bottom: 1px solid var(--separator-color);
border-right: 1px solid var(--separator-color);
}
Expand Down Expand Up @@ -1982,14 +1992,16 @@ hr {
}

.contents hr {
box-shadow: 100px 0 0 var(--separator-color),
-100px 0 0 var(--separator-color),
500px 0 0 var(--separator-color),
-500px 0 0 var(--separator-color),
1500px 0 0 var(--separator-color),
-1500px 0 0 var(--separator-color),
2000px 0 0 var(--separator-color),
-2000px 0 0 var(--separator-color);
box-shadow: 100px 0 var(--separator-color),
-100px 0 var(--separator-color),
500px 0 var(--separator-color),
-500px 0 var(--separator-color),
900px 0 var(--separator-color),
-900px 0 var(--separator-color),
1400px 0 var(--separator-color),
-1400px 0 var(--separator-color),
1900px 0 var(--separator-color),
-1900px 0 var(--separator-color);
}

.contents img, .contents .center, .contents center, .contents div.image object {
Expand Down Expand Up @@ -2460,17 +2472,17 @@ h2:hover a.anchorlink, h1:hover a.anchorlink, h3:hover a.anchorlink, h4:hover a.
Optional tab feature
*/

.tabbed ul {
.tabbed > ul {
padding-inline-start: 0px;
margin: 0;
padding: var(--spacing-small) 0;
}

.tabbed li {
.tabbed > ul > li {
display: none;
}

.tabbed li.selected {
.tabbed > ul > li.selected {
display: block;
}

Expand Down
13 changes: 10 additions & 3 deletions doc/header.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
<!-- HTML header for doxygen 1.9.4-->
<!-- HTML header for doxygen 1.12.0-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="$langISO">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen $doxygenversion"/>
<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-->
<!--BEGIN PROJECT_ICON-->
<link rel="icon" href="$relpath^$projecticon" type="image/x-icon" />
<!--END PROJECT_ICON-->
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/>
<!--BEGIN DISABLE_INDEX-->
<!--BEGIN FULL_SIDEBAR-->
Expand All @@ -16,9 +19,13 @@
<!--END DISABLE_INDEX-->
<script type="text/javascript" src="$relpath^jquery.js"></script>
<script type="text/javascript" src="$relpath^dynsections.js"></script>
<!--BEGIN COPY_CLIPBOARD-->
<script type="text/javascript" src="$relpath^clipboard.js"></script>
<!--END COPY_CLIPBOARD-->
$treeview
$search
$mathjax
$darkmode
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" />
$extrastylesheet
<script type="text/javascript" src="$relpath^doxygen-awesome-darkmode-toggle.js"></script>
Expand All @@ -41,7 +48,7 @@
<tbody>
<tr id="projectrow">
<!--BEGIN PROJECT_LOGO-->
<td id="projectlogo"><img alt="Logo" src="$relpath^$projectlogo"/></td>
<td id="projectlogo"><img alt="Logo" src="$relpath^$projectlogo"$logosize/></td>
<!--END PROJECT_LOGO-->
<!--BEGIN PROJECT_NAME-->
<td id="projectalign">
Expand Down
4 changes: 2 additions & 2 deletions src/agrpc/detail/forward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct UseSender;
/**
* @brief Primary ClientRPC template
*
* This is the main entrypoint into the recommended API for implementing asynchronous gRPC clients.
* This is the main entrypoint for implementing asynchronous gRPC clients.
*
* @see
* @c agrpc::ClientRPC<PrepareAsyncUnary,Executor> <br>
Expand All @@ -61,7 +61,7 @@ struct DefaultServerRPCTraits;
/**
* @brief Primary ServerRPC template
*
* This is the main entrypoint into the recommended API for implementing asynchronous gRPC servers.
* This is the main entrypoint for implementing asynchronous gRPC servers.
*
* @see
* @c agrpc::ServerRPC<RequestUnary,TraitsT,Executor> <br>
Expand Down

0 comments on commit 6ae4d14

Please sign in to comment.