Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge develop into main #410

Merged
merged 6 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/acl.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# acl.py

::: solnlib.acl
2 changes: 2 additions & 0 deletions docs/bulletin_rest_client.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# bulletin_rest_client.py

::: solnlib.bulletin_rest_client
2 changes: 2 additions & 0 deletions docs/conf_manager.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# conf_manager.py

::: solnlib.conf_manager
2 changes: 2 additions & 0 deletions docs/credentials.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# credentials.py

::: solnlib.credentials
2 changes: 2 additions & 0 deletions docs/file_monitor.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# file_monitor.py

::: solnlib.file_monitor
2 changes: 2 additions & 0 deletions docs/hec_config.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# hec_config.py

::: solnlib.hec_config
2 changes: 2 additions & 0 deletions docs/log.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# log.py

::: solnlib.log
2 changes: 2 additions & 0 deletions docs/modular_input/checkpointer.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# checkpointer.py

::: solnlib.modular_input.checkpointer
2 changes: 2 additions & 0 deletions docs/modular_input/event.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# event.py

::: solnlib.modular_input.event
2 changes: 2 additions & 0 deletions docs/modular_input/event_writer.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# event_writer.py

::: solnlib.modular_input.event_writer
2 changes: 2 additions & 0 deletions docs/modular_input/modular_input.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# modular_input.py

::: solnlib.modular_input.modular_input
2 changes: 2 additions & 0 deletions docs/net_utils.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# net_utils.py

::: solnlib.net_utils
2 changes: 2 additions & 0 deletions docs/orphan_process_monitor.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# orphan_process_monitor.py

::: solnlib.orphan_process_monitor
2 changes: 2 additions & 0 deletions docs/pattern.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# pattern.py

::: solnlib.pattern
2 changes: 2 additions & 0 deletions docs/server_info.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# server_info.py

::: solnlib.server_info
2 changes: 2 additions & 0 deletions docs/splunk_rest_client.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# splunk_rest_client.py

::: solnlib.splunk_rest_client
2 changes: 2 additions & 0 deletions docs/splunkenv.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# splunkenv.py

::: solnlib.splunkenv
104 changes: 104 additions & 0 deletions docs/theme_overrides/partials/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<!-- Source:
https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/header.html
-->

{% set class = "md-header" %}
{% if "navigation.tabs.sticky" in features %}
{% set class = class ~ " md-header--shadow md-header--lifted" %}
{% elif "navigation.tabs" not in features %}
{% set class = class ~ " md-header--shadow" %}
{% endif %}

<!-- Header -->
<header class="{{ class }}" data-md-component="header">
<nav
class="md-header__inner md-grid"
aria-label="{{ lang.t('header') }}"
>

<!-- Link to home -->
<a
href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"
title="{{ config.site_name | e }}"
class="md-header__button md-logo"
aria-label="{{ config.site_name }}"
data-md-component="logo"
>
{% include "partials/logo.html" %}
</a>

<!-- Button to open drawer -->
<label class="md-header__button md-icon" for="__drawer">
{% set icon = config.theme.icon.menu or "material/menu" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</label>

<!-- Header title -->
<div class="md-header__title" data-md-component="header-title">
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
{{ config.site_name }}
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
{% if page.meta and page.meta.title %}
{{ page.meta.title }}
{% else %}
{{ page.title }}
{% endif %}
</span>
</div>
</div>
</div>

{% if page.url_to_print_page %}
<a href="{{ page.url_to_print_page }}" title="Print Site" class="md-header__button md-icon">
{% include ".icons/material/printer.svg" %}
</a>
{% endif %}

<!-- Color palette toggle -->
{% if config.theme.palette %}
{% if not config.theme.palette is mapping %}
{% include "partials/palette.html" %}
{% endif %}
{% endif %}

<!-- User preference: color palette -->
{% if not config.theme.palette is mapping %}
{% include "partials/javascripts/palette.html" %}
{% endif %}

<!-- Site language selector -->
{% if config.extra.alternate %}
{% include "partials/alternate.html" %}
{% endif %}

<!-- Button to open search modal -->
{% if "material/search" in config.plugins %}
<label class="md-header__button md-icon" for="__search">
{% set icon = config.theme.icon.search or "material/magnify" %}
{% include ".icons/" ~ icon ~ ".svg" %}
</label>

<!-- Search interface -->
{% include "partials/search.html" %}
{% endif %}

<!-- Repository information -->
{% if config.repo_url %}
<div class="md-header__source">
{% include "partials/source.html" %}
</div>
{% endif %}
</nav>

<!-- Navigation tabs (sticky) -->
{% if "navigation.tabs.sticky" in features %}
{% if "navigation.tabs" in features %}
{% include "partials/tabs.html" %}
{% endif %}
{% endif %}
</header>
2 changes: 2 additions & 0 deletions docs/time_parser.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# time_parser.py

::: solnlib.time_parser
2 changes: 2 additions & 0 deletions docs/timer_queue.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# timer_queue.py

::: solnlib.timer_queue
2 changes: 2 additions & 0 deletions docs/user_access.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# user_access.py

::: solnlib.user_access
2 changes: 2 additions & 0 deletions docs/utils.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# utils.py

::: solnlib.utils
8 changes: 7 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ site_name: Splunk Solutions SDK

theme:
name: "material"
custom_dir: docs/theme_overrides
palette:
primary: "black"
accent: "orange"
features:
- content.code.copy
- navigation.indexes

markdown_extensions:
- toc:
Expand All @@ -15,12 +19,14 @@ markdown_extensions:
- codehilite

plugins:
- search
- mkdocstrings:
handlers:
python:
options:
show_if_no_docstring: true
- autorefs
- search
- print-site # should be at the end

nav:
- Home: index.md
Expand Down
Loading
Loading