summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/linters/.markdown-lint.yml9
-rw-r--r--TODO.md3
-rw-r--r--doc/guides/mrbgems.md6
-rw-r--r--doc/guides/symbol.md14
-rw-r--r--doc/mruby3.md3
-rw-r--r--mrbgems/mruby-io/README.md3
-rw-r--r--mrbgems/mruby-method/README.md3
-rw-r--r--mrbgems/mruby-pack/README.md59
-rw-r--r--mrbgems/mruby-socket/README.md3
9 files changed, 44 insertions, 59 deletions
diff --git a/.github/linters/.markdown-lint.yml b/.github/linters/.markdown-lint.yml
index a6b8cbc4f..a1023acbd 100644
--- a/.github/linters/.markdown-lint.yml
+++ b/.github/linters/.markdown-lint.yml
@@ -4,15 +4,6 @@
# MD001 heading-increment/header-increment - Heading levels should only increment by one level at a time
MD001: false
-# MD003 heading-style/header-style - Heading style
-MD003: false
-
-# MD005 list-indent - Inconsistent indentation for list items at the same level
-MD005: false
-
-# MD007 ul-indent - Unordered list indentation
-MD007: false
-
# MD010 no-hard-tabs - Hard tabs
MD010: false
diff --git a/TODO.md b/TODO.md
index 760d5911f..e5e76c022 100644
--- a/TODO.md
+++ b/TODO.md
@@ -1,5 +1,4 @@
-Thing to Do in the future
-===
+# Thing to Do in the future
# After mruby 3.0
diff --git a/doc/guides/mrbgems.md b/doc/guides/mrbgems.md
index e67a260d1..c08a09f4e 100644
--- a/doc/guides/mrbgems.md
+++ b/doc/guides/mrbgems.md
@@ -200,8 +200,8 @@ Version requirement supports following operators:
* '>=': is equal or greater
* '<=': is equal or lesser
* '~>': is equal or greater and is lesser than the next major version
- * example 1: '~> 2.2.2' means '>= 2.2.2' and '< 2.3.0'
- * example 2: '~> 2.2' means '>= 2.2.0' and '< 3.0.0'
+ * example 1: '~> 2.2.2' means '>= 2.2.2' and '< 2.3.0'
+ * example 2: '~> 2.2' means '>= 2.2.0' and '< 3.0.0'
When more than one version requirements is passed, the dependency must satisfy all of it.
@@ -215,7 +215,7 @@ use `MRuby::Build#gem` in the build configuration to override default gem.
If you have conflicting GEMs use the following method:
* `spec.add_conflict(gem, *requirements)`
- * The `requirements` argument is same as in `add_dependency` method.
+ * The `requirements` argument is same as in `add_dependency` method.
like following code:
diff --git a/doc/guides/symbol.md b/doc/guides/symbol.md
index 5ce8cdd4d..8f90ce59f 100644
--- a/doc/guides/symbol.md
+++ b/doc/guides/symbol.md
@@ -57,13 +57,13 @@ To save RAM, `mruby` can use compile-time allocation of some symbols. You can
use following macros to get preallocated symbols by including `mruby/presym.h`
header.
- * `MRB_SYM(xor)` //=> xor (Word characters)
- * `MRB_SYM_B(xor)` //=> xor! (Method with Bang)
- * `MRB_SYM_Q(xor)` //=> xor? (Method with Question mark)
- * `MRB_SYM_E(xor)` //=> xor= (Method with Equal)
- * `MRB_CVSYM(xor)` //=> @@xor (Class Variable)
- * `MRB_IVSYM(xor)` //=> @xor (Instance Variable)
- * `MRB_OPSYM(xor)` //=> ^ (Operator)
+* `MRB_SYM(xor)` //=> xor (Word characters)
+* `MRB_SYM_B(xor)` //=> xor! (Method with Bang)
+* `MRB_SYM_Q(xor)` //=> xor? (Method with Question mark)
+* `MRB_SYM_E(xor)` //=> xor= (Method with Equal)
+* `MRB_CVSYM(xor)` //=> @@xor (Class Variable)
+* `MRB_IVSYM(xor)` //=> @xor (Instance Variable)
+* `MRB_OPSYM(xor)` //=> ^ (Operator)
For `MRB_OPSYM()`, specify the names corresponding to operators (see
`MRuby::Presym::OPERATORS` in `lib/mruby/presym.rb` for the names that
diff --git a/doc/mruby3.md b/doc/mruby3.md
index cf103e428..c5da856d1 100644
--- a/doc/mruby3.md
+++ b/doc/mruby3.md
@@ -1,5 +1,4 @@
-User visible changes in `mruby3`
-===
+# User visible changes in `mruby3`
# Build System
diff --git a/mrbgems/mruby-io/README.md b/mrbgems/mruby-io/README.md
index a518e6169..c07a6e89b 100644
--- a/mrbgems/mruby-io/README.md
+++ b/mrbgems/mruby-io/README.md
@@ -1,5 +1,4 @@
-mruby-io
-========
+# mruby-io
`IO` and `File` classes for mruby
diff --git a/mrbgems/mruby-method/README.md b/mrbgems/mruby-method/README.md
index f299718df..41130bb82 100644
--- a/mrbgems/mruby-method/README.md
+++ b/mrbgems/mruby-method/README.md
@@ -1,5 +1,4 @@
-mruby-method
-===
+# mruby-method
An implementation of class **Method** and **UnboundMethod** for mruby
diff --git a/mrbgems/mruby-pack/README.md b/mrbgems/mruby-pack/README.md
index 717c13ddc..712cf8e1c 100644
--- a/mrbgems/mruby-pack/README.md
+++ b/mrbgems/mruby-pack/README.md
@@ -1,5 +1,4 @@
-mruby-pack (pack / unpack)
-=========
+# mruby-pack (pack / unpack)
mruby-pack provides `Array#pack` and `String#unpack` for mruby.
@@ -15,34 +14,34 @@ There is no dependency on other mrbgems.
## Supported template string
- - A : arbitrary binary string (space padded, count is width)
- - a : arbitrary binary string (null padded, count is width)
- - C : 8-bit unsigned (unsigned char)
- - c : 8-bit signed (signed char)
- - D, d: 64-bit float, native format
- - E : 64-bit float, little endian byte order
- - e : 32-bit float, little endian byte order
- - F, f: 32-bit float, native format
- - G : 64-bit float, network (big-endian) byte order
- - g : 32-bit float, network (big-endian) byte order
- - H : hex string (high nibble first)
- - h : hex string (low nibble first)
- - I : unsigned integer, native endian (`unsigned int` in C)
- - i : signed integer, native endian (`int` in C)
- - L : 32-bit unsigned, native endian (`uint32_t`)
- - l : 32-bit signed, native endian (`int32_t`)
- - m : base64 encoded string (see RFC 2045, count is width)
- - N : 32-bit unsigned, network (big-endian) byte order
- - n : 16-bit unsigned, network (big-endian) byte order
- - Q : 64-bit unsigned, native endian (`uint64_t`)
- - q : 64-bit signed, native endian (`int64_t`)
- - S : 16-bit unsigned, native endian (`uint16_t`)
- - s : 16-bit signed, native endian (`int16_t`)
- - U : UTF-8 character
- - V : 32-bit unsigned, VAX (little-endian) byte order
- - v : 16-bit unsigned, VAX (little-endian) byte order
- - x : null byte
- - Z : same as "a", except that null is added with *
+- A : arbitrary binary string (space padded, count is width)
+- a : arbitrary binary string (null padded, count is width)
+- C : 8-bit unsigned (unsigned char)
+- c : 8-bit signed (signed char)
+- D, d: 64-bit float, native format
+- E : 64-bit float, little endian byte order
+- e : 32-bit float, little endian byte order
+- F, f: 32-bit float, native format
+- G : 64-bit float, network (big-endian) byte order
+- g : 32-bit float, network (big-endian) byte order
+- H : hex string (high nibble first)
+- h : hex string (low nibble first)
+- I : unsigned integer, native endian (`unsigned int` in C)
+- i : signed integer, native endian (`int` in C)
+- L : 32-bit unsigned, native endian (`uint32_t`)
+- l : 32-bit signed, native endian (`int32_t`)
+- m : base64 encoded string (see RFC 2045, count is width)
+- N : 32-bit unsigned, network (big-endian) byte order
+- n : 16-bit unsigned, network (big-endian) byte order
+- Q : 64-bit unsigned, native endian (`uint64_t`)
+- q : 64-bit signed, native endian (`int64_t`)
+- S : 16-bit unsigned, native endian (`uint16_t`)
+- s : 16-bit signed, native endian (`int16_t`)
+- U : UTF-8 character
+- V : 32-bit unsigned, VAX (little-endian) byte order
+- v : 16-bit unsigned, VAX (little-endian) byte order
+- x : null byte
+- Z : same as "a", except that null is added with *
## License
diff --git a/mrbgems/mruby-socket/README.md b/mrbgems/mruby-socket/README.md
index b727dc982..8084cdb70 100644
--- a/mrbgems/mruby-socket/README.md
+++ b/mrbgems/mruby-socket/README.md
@@ -1,5 +1,4 @@
-mruby-socket
-============
+# mruby-socket
"mruby-socket" mrbgem provides BSD socket interface for mruby.
API is compatible with CRuby's "socket" library.