summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorshuoer86 <129674997+shuoer86@users.noreply.github.com>2023-10-25 20:53:15 +0800
committerGitHub <noreply@github.com>2023-10-25 20:53:15 +0800
commit7c3917d1dd3faa12fa1cc079d6fcf22f3da630c5 (patch)
tree5f5cafbac78320d273defef14e620a233c0cbec7 /doc
parent3fd4e684331a22be84e940833faee111226945ea (diff)
downloadNim-7c3917d1dd3faa12fa1cc079d6fcf22f3da630c5.tar.gz
doc: fix typos (#22869)
doc: fix typos
Diffstat (limited to 'doc')
-rw-r--r--doc/docgen.md4
-rw-r--r--doc/manual_experimental.md2
-rw-r--r--doc/markdown_rst.md2
-rw-r--r--doc/nimc.md2
4 files changed, 5 insertions, 5 deletions
diff --git a/doc/docgen.md b/doc/docgen.md
index 21058e88d..3cc75fc18 100644
--- a/doc/docgen.md
+++ b/doc/docgen.md
@@ -621,7 +621,7 @@ compilation options are different:
    .. Note:: markup documents are just placed into the specified directory
      `OUTDIR`:option: by default (i.e. they are **not** affected by
      `--project`:option:), so if you have ``PROJECT/doc/manual.md``
-     document and want to use complex hirearchy (with ``doc/``),
+     document and want to use complex hierarchy (with ``doc/``),
      compile it with `--docroot`:option:\:
        ```cmd
        # 1st stage
@@ -688,7 +688,7 @@ the rest optional. See the [Index (idx) file format] section for details.
 
 .. Note:: `--index`:option: switch only affects creation of ``.idx``
   index files, while user-searchable Index HTML file is created by
-  `buildIndex`:option: commmand.
+  `buildIndex`:option: command.
 
 Buildindex command
 ------------------
diff --git a/doc/manual_experimental.md b/doc/manual_experimental.md
index 4bafd408f..4ba56205a 100644
--- a/doc/manual_experimental.md
+++ b/doc/manual_experimental.md
@@ -2378,7 +2378,7 @@ proc makeCppClass(): NimClass {.constructor: "NimClass() : CppClass(0, 0)".} =
   result.x = 1
 ```
 
-In the example above `CppClass` has a deleted default constructor. Notice how by using the constructor syntax, one can call the appropiate constructor.
+In the example above `CppClass` has a deleted default constructor. Notice how by using the constructor syntax, one can call the appropriate constructor.
 
 Notice when calling a constructor in the section of a global variable initialization, it will be called before `NimMain` meaning Nim is not fully initialized.
 
diff --git a/doc/markdown_rst.md b/doc/markdown_rst.md
index b7f091649..c7977f75a 100644
--- a/doc/markdown_rst.md
+++ b/doc/markdown_rst.md
@@ -246,7 +246,7 @@ nim md2html file2.md               # creates ``htmldocs/file2.html``
 ```
 
 To allow cross-references between any files in any order (especially, if
-circular references are present), it's strongly reccommended
+circular references are present), it's strongly recommended
 to make a run for creating all the indexes first:
 
 ```cmd
diff --git a/doc/nimc.md b/doc/nimc.md
index 9c6ea7033..08bd016e1 100644
--- a/doc/nimc.md
+++ b/doc/nimc.md
@@ -486,7 +486,7 @@ DLL generation
 ==============
 
 **Note**: The same rules apply to `lib*.so` shared object files on UNIX. For better
-readability only the DLL version is decribed here.
+readability only the DLL version is described here.
 
 Nim supports the generation of DLLs. However, there must be only one
 instance of the GC per process/address space. This instance is contained in