Skip to content
Prev Previous commit
Next Next commit
doc: small brotli doc fixes
  • Loading branch information
Hackzzila committed May 2, 2018
commit 5eb194fe4e651d3c91cf0408884d6c4131f019e1
6 changes: 3 additions & 3 deletions doc/api/brotli.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,14 @@ added: REPLACEME
-->

Reset the encoder/decoder to factory defaults. This will undo any
changes you have made via [`.setParameter()`][]
changes you have made via [`.setParameter()`][].

### brotli.setParameter(param, value)
<!-- YAML
added: REPLACEME
-->

- `param` {number} A valid parameter from [Parameters][]
- `param` {number} a valid parameter from [Parameters][]
- `value` {number}

Dynamically set a parameter.
Expand Down Expand Up @@ -474,7 +474,7 @@ Decompress a chunk of data.
[`.setParameter()`]: #brotli_brotli_setparameter_param_value
[`Accept-Encoding`]: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3
[`ArrayBuffer`]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
[`brotli.constants`]: #brotli_constants
[`brotli.constants`]: #brotli_brotli_constants
[`brotli/decode.h`]: https://github.com/google/brotli/blob/v1.0.4/c/include/brotli/decode.h
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt May 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We usually sort bottom references in ASCII order, so this should go before the [`brotli/encode.h`]:.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

References below also need some resorting.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't know how I managed to mess up sorting 😆

[`brotli/encode.h`]: https://github.com/google/brotli/blob/v1.0.4/c/include/brotli/encode.h
[`Buffer`]: buffer.html#buffer_class_buffer
Expand Down