summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2021-06-17 12:01:13 +1000
committerJohn Bampton <[email protected]>2021-06-17 12:02:21 +1000
commitd08ea8a92c7ac99ed51d17abde31d740211c3b92 (patch)
treebfb05d293b0dd3b50805d293e898c9d1017b13e0 /doc
parent7b0eb1f9b3ecfaaa83e493b233edc276ea7fff56 (diff)
downloadmruby-d08ea8a92c7ac99ed51d17abde31d740211c3b92.tar.gz
mruby-d08ea8a92c7ac99ed51d17abde31d740211c3b92.zip
Standardize commands inside backticks
Remove whitespace
Diffstat (limited to 'doc')
-rw-r--r--doc/guides/compile.md8
-rw-r--r--doc/guides/mrbgems.md4
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/guides/compile.md b/doc/guides/compile.md
index 08dbd850f..2923a2676 100644
--- a/doc/guides/compile.md
+++ b/doc/guides/compile.md
@@ -138,18 +138,18 @@ C Compiler has header searcher to detect installed library.
If you need an include path of header file use `search_header_path`:
```ruby
-# Searches ```iconv.h```.
+# Searches `iconv.h`.
# If found it will return include path of the header file.
-# Otherwise it will return nil .
+# Otherwise it will return nil.
fail 'iconv.h not found' unless conf.cc.search_header_path 'iconv.h'
```
If you need a full file name of header file use `search_header`:
```ruby
-# Searches ```iconv.h```.
+# Searches `iconv.h`.
# If found it will return full path of the header file.
-# Otherwise it will return nil .
+# Otherwise it will return nil.
iconv_h = conf.cc.search_header 'iconv.h'
print "iconv.h found: #{iconv_h}\n"
```
diff --git a/doc/guides/mrbgems.md b/doc/guides/mrbgems.md
index 9aebb9208..88c5aedba 100644
--- a/doc/guides/mrbgems.md
+++ b/doc/guides/mrbgems.md
@@ -55,8 +55,8 @@ conf.gem mgem: 'mruby-redis', checksum_hash: '3446d19fc4a3f9697b5ddbf2a904f301c4
If there are missing dependencies, mrbgem dependencies solver will reference
mrbgem from the core or mgem-list.
-To pull all gems from remote GIT repository on build, call ```rake -p```,
-or ```rake --pull-gems```.
+To pull all gems from remote GIT repository on build, call `rake -p`,
+or `rake --pull-gems`.
NOTE: `:bitbucket` option supports only git. Hg is unsupported in this version.