change os.nim doc links to new style (#19102)

This commit is contained in:
Andrey Makarov 2021-11-08 15:10:01 +03:00 • committed by GitHub
commit b21eb1ed36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 345 additions and 321 deletions

View file

@ -37,9 +37,9 @@ const
when doslikeFileSystem: '/'
else: DirSep
## An alternative character used by the operating system to separate
## pathname components, or the same as `DirSep <#DirSep>`_ if only one separator
## pathname components, or the same as DirSep_ if only one separator
## character exists. This is set to `'/'` on Windows systems
## where `DirSep <#DirSep>`_ is a backslash (`'\\'`).
## where DirSep_ is a backslash (`'\\'`).
PathSep* =
when defined(macos) or defined(RISCOS): ','
@ -55,7 +55,7 @@ const
defined(PalmOS) or defined(MorphOS): false
else: true
## True if the file system is case sensitive, false otherwise. Used by
## `cmpPaths proc <#cmpPaths,string,string>`_ to compare filenames properly.
## `cmpPaths proc`_ to compare filenames properly.
ExeExt* =
when doslikeFileSystem: "exe"