Skip to content

Commit 3dadc90

Browse files
Fix multiple warnings emitted by npm run docusaurus '--' build '--dev'
1 parent ba464bf commit 3dadc90

File tree

25 files changed

+95
-96
lines changed

25 files changed

+95
-96
lines changed

blog/2021-07-13-rabbitmq-streams-overview/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ retention policies, based on size or age.
4646
You can have a look at the streams overview presentation from RabbitMQ Summit 2021 below if you want to learn more.
4747
If you are in a hurry, you can skip it and go directly to the quick start with Docker in the next section.
4848

49-
<iframe class="speakerdeck-iframe" style={{border: '0px', background: 'rgba(0, 0, 0, 0.1) padding-box', margin: '0px', padding: '0px', borderRadius: '6px', boxShadow: 'rgba(0, 0, 0, 0.2) 0px 5px 40px', width: '100%', height: 'auto', aspectRatio: '560 / 315',}} frameborder="0" src="https://speakerdeck.com/player/24ed5ae0d4544c19ac714f6f7dede00a" title="RabbitMQ Streams Overview at RabbitMQ Summit 2021" allowfullscreen="true" data-ratio="1.7777777777777777"></iframe>
49+
<iframe className="speakerdeck-iframe" style={{border: '0px', background: 'rgba(0, 0, 0, 0.1) padding-box', margin: '0px', padding: '0px', borderRadius: '6px', boxShadow: 'rgba(0, 0, 0, 0.2) 0px 5px 40px', width: '100%', height: 'auto', aspectRatio: '560 / 315',}} frameBorder="0" src="https://speakerdeck.com/player/24ed5ae0d4544c19ac714f6f7dede00a" title="RabbitMQ Streams Overview at RabbitMQ Summit 2021" allowFullScreen data-ratio="1.7777777777777777"></iframe>
5050

5151
Without further ado, let's make this thing run.
5252

blog/2021-07-19-rabbitmq-streams-first-application/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ This concludes the writing of our first RabbitMQ Streams application. Here are t
238238

239239
As a bonus, here is a video that covers RabbitMQ Streams and the [stream Go client](https://github.com/rabbitmq/rabbitmq-stream-go-client):
240240

241-
<iframe width="560" height="315" src="https://www.youtube.com/embed/m47E3XUzdAM?si=02yJM-rBGpMThrNa" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
241+
<iframe width="560" height="315" src="https://www.youtube.com/embed/m47E3XUzdAM?si=02yJM-rBGpMThrNa" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowFullScreen></iframe>
242242

243243
The RabbitMQ team is looking forward to hearing your feedback on streams and on the stream client libraries ([Java](https://github.com/rabbitmq/rabbitmq-stream-java-client), [Go](https://github.com/rabbitmq/rabbitmq-stream-go-client)).
244244
We are planning to write a [.NET client](https://github.com/rabbitmq/rabbitmq-stream-dotnet-client) for the [stream protocol](https://github.com/rabbitmq/rabbitmq-server/blob/v3.9.x/deps/rabbitmq_stream/docs/PROTOCOL.adoc), so if you have .NET skills, you can come up with design suggestions or even a prototype.

client-libraries/interoperability.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ displayed_sidebar: clientLibsSidebar
9090
<p>
9191
The following table details the results of running the 0-8 and 0-9 tests against the RabbitMQ broker.
9292
</p>
93-
<table class="amqpRules" border="0" cellpadding="0" cellspacing="0">
93+
<table class="amqpRules" border="0" cellPadding="0" cellSpacing="0">
9494
<tbody>
9595
<tr>
9696
<th>Current Status</th>

docs/configure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ vm_memory_high_watermark.relative = 0.6
824824
<td>`vm_memory_calculation_strategy`</td>
825825
<td>
826826
Strategy for memory usage reporting. Can be one of the following:
827-
<ul class="plain">
827+
<ul className="plain">
828828
<li>`allocated`: uses Erlang memory allocator statistics</li>
829829
<li>`rss`: uses operating system RSS memory reporting. This uses OS-specific means and may start short lived child processes.</li>
830830
<li>`legacy`: uses legacy memory reporting (how much memory is considered to be used by the runtime). This strategy is fairly inaccurate.</li>

docs/dlx.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ any of the usual types and are declared as normal.
4141
## How Dead Lettering is Configured
4242

4343
For any given queue, a DLX can be defined by clients using [policies](./parameters#policies). There
44-
are several DLX-related policy keys, including some [only supported by quorum queues](./quorum-queues#d) but the two key ones are
44+
are several DLX-related policy keys, including some [only supported by quorum queues](./quorum-queues) but the two key ones are
4545

4646
* `dead-letter-exchange`: The name of the DLX to use
4747
* `dead-letter-routing-key`: The routing key to use when dead-lettering messages

docs/specification.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ displayed_sidebar: docsSidebar
6161
<p>
6262
The following table describes the current implementation status of the various AMQP protocol message classes.
6363
</p>
64-
<table class="amqpRules" border="0" cellpadding="0" cellspacing="0">
64+
<table class="amqpRules" border="0" cellPadding="0" cellSpacing="0">
6565
<tbody>
6666
<tr>
6767
<th>Current Status</th>
@@ -108,7 +108,7 @@ displayed_sidebar: docsSidebar
108108
<p>
109109
The following table describes the current implementation status of the various AMQP protocol methods in each class.
110110
</p>
111-
<table class="amqpRules" border="0" cellpadding="0" cellspacing="0">
111+
<table class="amqpRules" border="0" cellPadding="0" cellSpacing="0">
112112
<tbody>
113113
<tr>
114114
<th>Current Status</th>
@@ -392,7 +392,7 @@ displayed_sidebar: docsSidebar
392392
<p>
393393
The Reference column contains the class or domain, method, field and rule name where present.
394394
</p>
395-
<table class="amqpRules" border="0" cellpadding="0" cellspacing="0">
395+
<table class="amqpRules" border="0" cellPadding="0" cellSpacing="0">
396396
<tbody>
397397
<tr>
398398
<th>Current Status</th>
@@ -1842,7 +1842,7 @@ displayed_sidebar: docsSidebar
18421842
<p>
18431843
The rules listed below are from the PDF version of the 0-9-1 specification, wherever MUST, SHOULD or MAY appear in the text.
18441844
</p>
1845-
<table class="amqpRules" border="0" cellpadding="0" cellspacing="0">
1845+
<table class="amqpRules" border="0" cellPadding="0" cellSpacing="0">
18461846
<tbody>
18471847
<tr>
18481848
<th>Current Status</th>

docs/ssl/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ More TLS-related things can be configured. Those are covered in the rest of this
255255

256256
Here are the essential configuration settings related to TLS:
257257

258-
<table class="plain">
258+
<table className="plain">
259259
<thead>
260260
<td>Configuration Key</td>
261261
<td>Description</td>
@@ -1021,7 +1021,7 @@ To make things
10211021
easier, there is a new Field Parameters.Ssl that acts like a namespace
10221022
for all the other fields that we need to set. The fields are:
10231023

1024-
<table class="plain">
1024+
<table className="plain">
10251025
<thead>
10261026
<td>Property</td>
10271027
<td>Description</td>

release-information/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ import {
2222
RabbitMQServerReleaseInfoTable,
2323
} from '@site/src/components/RabbitMQServerReleaseInfo';
2424

25+
26+
2527
# Release Information
2628

2729
Use this information to find out what RabbitMQ releases are currently covered

src/components/RabbitMQServerReleaseInfo/index.js

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import React from 'react';
2-
import { useState } from 'react';
1+
import React, {useState} from 'react';
32

43
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
5-
import { useVersions } from '@docusaurus/plugin-content-docs/client';
4+
import {useVersions} from '@docusaurus/plugin-content-docs/client';
65

76
import UnfoldIcon from './unfold-toggle.svg';
87

@@ -36,8 +35,7 @@ export function getReleaseBranches() {
3635

3736
export function getReleaseBranch(branch) {
3837
const releaseBranches = getReleaseBranches();
39-
const releaseBranch = releaseBranches[branch] || {};
40-
return releaseBranch;
38+
return releaseBranches[branch] || {};
4139
}
4240

4341
export function getLatestRelease(branch) {
@@ -59,8 +57,7 @@ export function getLatestVersion(branch) {
5957
}
6058

6159
export function getReleaseNotesURL(release) {
62-
const url = `https://github.com/rabbitmq/rabbitmq-server/releases/tag/v${release.version}`;
63-
return url;
60+
return `https://github.com/rabbitmq/rabbitmq-server/releases/tag/v${release.version}`;
6461
}
6562

6663
export function RabbitMQServerReleaseInfoTable() {
@@ -77,7 +74,7 @@ export function RabbitMQServerReleaseInfoTable() {
7774

7875
var rows = [];
7976
for (const branch in releaseBranches) {
80-
const docusaurusVersion = docusaurusVersions.find((v) => v.name == branch);
77+
const docusaurusVersion = docusaurusVersions.find((v) => v.name === branch);
8178

8279
const releaseBranch = releaseBranches[branch];
8380
const releases = releaseBranch.releases || [];
@@ -91,7 +88,7 @@ export function RabbitMQServerReleaseInfoTable() {
9188

9289
for (const releaseIndex in releases) {
9390
const release = releases[releaseIndex];
94-
const showClassName = (whichShown == branch) ?
91+
const showClassName = (whichShown === branch) ?
9592
"show-release" : "hide-release";
9693

9794
var latestReleaseBranchClassName = "";
@@ -209,7 +206,7 @@ export function RabbitMQServerReleaseInfoTable() {
209206
showClassName
210207
].join(' ')}
211208
onClick={(e) => {
212-
setWhichShown(whichShown == branch ? undefined : branch);
209+
setWhichShown(whichShown === branch ? undefined : branch);
213210
}}>
214211
<UnfoldIcon/>
215212
</div>

0 commit comments

Comments
 (0)