Skip to content

Commit

Permalink
fix image sizes, header tag and alerts + adjust logitech page
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed Jan 16, 2024
1 parent 9e02981 commit 8442146
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 19 deletions.
4 changes: 0 additions & 4 deletions content/basic-topics/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ The Aurora software is constantly evolving thanks to submissions from various co

If you would like to, it is possible to download the dev version to access some new additional features and bug fixes.

{{% alert "The dev version may be more unstable than the main release, and so you may encounter some bugs." "warning" %}}

<span class="alert warning">The dev version's settings may also be incompatible with the main release's. It is **highly** recommended that you [back up your profiles]({{% ref "basic-topics/user-data#taking-a-backup" %}}) and settings before changing Aurora versions.</span>

## Other Versions

Since there are several contributors contributing to Aurora, there are several different branches of Aurora. A developer will often ask their branch to be tested by users, either through [Discord](https://discord.gg/YAuBmg9) or on a [Pull Request on GitHub](https://github.com/Aurora-RGB/Aurora/pulls).
Expand Down
4 changes: 4 additions & 0 deletions content/devices/logitech.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ For LGS:

# Known issues

{{% alert "Logitech device integration does not work when Lightsync Wrapper is enabled" "warning" %}}
* Lightsync wrapper will be automatically disabled if Logitech software autorun is detected.
If you want to use Logitech devices with other brands and have Lightsync integration on all devices, you have to replace Logitech software with [OpenRGB]({{% ref "devices/openrgb" %}})

* G HUB can take a very long time to fully open and start receiving SDK requests. Because of this, on some systems Aurora tries to connect to G HUB before it has the chance to completely start. This causes any following connections to fail until both G HUB and Aurora are restarted. This can be fixed on boot by adding a delay to the task Aurora uses to startup. This can be done in the General Settings:

![Adding a delay to Aurora's startup task](img/docs/aurora-startup-delay.png)
Expand Down
29 changes: 29 additions & 0 deletions content/devices/openrgb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: SteelSeries
authors:
- th3an7
---

# Required Software

One of:
* SteelSeries Engine 3
* OpenRGB

# Needed configuration

The SDK should be enabled by default, but in case it's not, make sure the 'Project Aurora' custom application is enabled.

![Enabling custom app in SSE3](img/docs/enable-sse-app.png)

If you still cannot control your keyboard or mouse illumination, check if Color Special Event is enabled in Aurora applet in SSE.

![Color Special Event in Aurora applet](img/docs/sse-special-event.png)

# Known Issues

Devices with number of zones other than 1, 2 or 12 are not fully supported (ex. Rival 600) - they may still work but not all zones can be controlled.

# Supported Devices

Most devices supported by SteelSeries Engine. Notable exceptions are zone based keyboards like Apex M350 or Apex 3.
1 change: 1 addition & 0 deletions themes/aurora/assets/scss/elements/_image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $lightbox-transition: 400ms ease-in-out;
article img:not(.avatar):not(.emoji) {
display: block;
max-width: 100%;
height: auto;
margin: auto;
cursor: zoom-in;
}
Expand Down
2 changes: 2 additions & 0 deletions themes/aurora/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html lang="en">
<head>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "header.html" . }}
<main>
Expand Down
14 changes: 2 additions & 12 deletions themes/aurora/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,14 @@

{{ .Content }}

<!-- Image index -->
{{ $img := .Params.indexImages }}
{{ $cls := cond (eq $img true) "with-images" "" }}

<div class="index-list {{ $cls }}">
<div class="index-list">
{{ range .Pages.ByParam "order" }}
<a href="{{ .Permalink }}" class="button">
{{ if $img }}
{{/* Regex which finds anything that matches ![*](/img/*). I.E. finds the first occurance of an image from the page content
This is then rendered as HTML, resulting in the first image, which, atleast for layers, we can assume is a preview of the layer. */}}
{{ $m := findRE "!\\[.*?\\]\\(\\/img\\/.*?\\)" .RawContent 1 }}
{{ index $m 0 | .RenderString }}
{{ end }}
<p class="item-title">{{ .Title }}</p>
</a>
{{ end }}
</div>
</section>
</article>
<aside class="toc wide-article collapsed">&nbsp;</aside>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion themes/aurora/layouts/partials/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h1 class="page-title">{{ default $.Site.Title .Title }}</h1><br/>

<!-- Actual page content -->
<section>
{{ .Content }}
{{ replaceRE `%!d\(string=(\d+px)\)` "$1" .Content | safeHTML }}
</section>

<!-- Author List -->
Expand Down
3 changes: 1 addition & 2 deletions themes/aurora/layouts/partials/scripts.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{{ $externalLink := resources.Get "js/external-link-fix.js" }}
{{ $image := resources.Get "js/image-script.js" }}
{{ $tabs := resources.Get "js/tabs-script.js" }}
{{ $mobile := resources.Get "js/mobile.js" }}
{{ $scroll := resources.Get "js/scroll-offset.js" }}
{{ $simplebar := resources.Get "js/simplebar.min.js" }}
{{ $scripts := slice $externalLink $image $tabs $mobile $scroll $simplebar | resources.Concat "app.js" | minify | fingerprint }}
{{ $scripts := slice $externalLink $tabs $mobile $scroll $simplebar | resources.Concat "app.js" | minify | fingerprint }}
<script type="text/javascript" src="{{ $scripts.Permalink }}"></script>

0 comments on commit 8442146

Please sign in to comment.