Skip to content

Commit

Permalink
Merge branch 'main' into add/docs_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel authored Aug 6, 2024
2 parents e910f23 + 04e8809 commit 8c783ad
Show file tree
Hide file tree
Showing 19 changed files with 2,961 additions and 52 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ multi-configuration generator:
cmake --install build --config Release
```

# Developing
## Developing

Build system targets that are only useful for developers of this project are
hidden if the `aq-nwb_DEVELOPER_MODE` option is disabled. Enabling this
Expand Down Expand Up @@ -128,7 +128,7 @@ cmake --build --preset=dev --target=<name of the target>

# Code of Conduct

This project and everyone participating in it is govered by our [code of conduct guidelines](./.github/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.
This project and everyone participating in it is govered by our [code of conduct guidelines](https://github.com/NeurodataWithoutBorders/aqnwb/blob/main/.github/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code.

# LICENSE

Expand Down
18 changes: 18 additions & 0 deletions docs/Doxyfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,21 @@ CREATE_SUBDIRS = NO
# Include all directories, files and namespaces in the documentation
# Disable to include only explicitly documented objects
M_SHOW_UNDOCUMENTED = YES

# Doxygen Awesome Style settings for sidebar-only layout
GENERATE_TREEVIEW = YES # required!
DISABLE_INDEX = NO
FULL_SIDEBAR = YES
HTML_EXTRA_STYLESHEET = "@PROJECT_SOURCE_DIR@/docs/layout/doxygen-awesome.css" \
"@PROJECT_SOURCE_DIR@/docs/layout/doxygen-awesome-sidebar-only.css"
HTML_COLORSTYLE = LIGHT # required with Doxygen >= 1.9.5

# Use Graphviz to generate UML diagrams as vector graphics with transparent background
HAVE_DOT = YES
DOT_IMAGE_FORMAT = svg
# DOT_TRANSPARENT = YES
INTERACTIVE_SVG = YES # Enable highlighting by hovering on elements

# Add header customization
HTML_HEADER = "@PROJECT_SOURCE_DIR@/docs/layout/header.html"
PROJECT_LOGO = "@PROJECT_SOURCE_DIR@/resources/logo/aqnwb-logo.png"
116 changes: 116 additions & 0 deletions docs/layout/doxygen-awesome-sidebar-only.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
/**
Doxygen Awesome
https://github.com/jothepro/doxygen-awesome-css
MIT License
Copyright (c) 2021 - 2023 jothepro
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

html {
/* side nav width. MUST be = `TREEVIEW_WIDTH`.
* Make sure it is wide enough to contain the page title (logo + title + version)
*/
--side-nav-fixed-width: 335px;
--menu-display: none;

--top-height: 120px;
--toc-sticky-top: -25px;
--toc-max-height: calc(100vh - 2 * var(--spacing-medium) - 25px);
}

#projectname {
white-space: nowrap;
}


@media screen and (min-width: 768px) {
html {
--searchbar-background: var(--page-background-color);
}

#side-nav {
min-width: var(--side-nav-fixed-width);
max-width: var(--side-nav-fixed-width);
top: var(--top-height);
overflow: visible;
}

#nav-tree, #side-nav {
height: calc(100vh - var(--top-height)) !important;
}

#nav-tree {
padding: 0;
}

#top {
display: block;
border-bottom: none;
height: var(--top-height);
margin-bottom: calc(0px - var(--top-height));
max-width: var(--side-nav-fixed-width);
overflow: hidden;
background: var(--side-nav-background);
}
#main-nav {
float: left;
padding-right: 0;
}

.ui-resizable-handle {
cursor: default;
width: 1px !important;
background: var(--separator-color);
box-shadow: 0 calc(-2 * var(--top-height)) 0 0 var(--separator-color);
}

#nav-path {
position: fixed;
right: 0;
left: var(--side-nav-fixed-width);
bottom: 0;
width: auto;
}

#doc-content {
height: calc(100vh - 31px) !important;
padding-bottom: calc(3 * var(--spacing-large));
padding-top: calc(var(--top-height) - 80px);
box-sizing: border-box;
margin-left: var(--side-nav-fixed-width) !important;
}

#MSearchBox {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)));
}

#MSearchField {
width: calc(var(--side-nav-fixed-width) - calc(2 * var(--spacing-medium)) - 65px);
}

#MSearchResultsWindow {
left: var(--spacing-medium) !important;
right: auto;
}
}
Loading

0 comments on commit 8c783ad

Please sign in to comment.