docs: fix links between absolute? and relative?
This commit is contained in:
@@ -97,7 +97,7 @@ has some functions to work with the <code>PATH</code> environment variable.</p>
|
||||
</pre>
|
||||
<p class="doc">
|
||||
<p>checks whether a path is absolute.</p>
|
||||
<p>As such, it is the inverse to <a href="#relative">relative</a>.</p>
|
||||
<p>As such, it is the inverse to <a href="#relative?">relative?</a>.</p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
@@ -342,7 +342,7 @@ is none.</p>
|
||||
</pre>
|
||||
<p class="doc">
|
||||
<p>checks whether a path is relative.</p>
|
||||
<p>As such, it is the inverse to <a href="#absolute">absolute</a>.</p>
|
||||
<p>As such, it is the inverse to <a href="#absolute?">absolute?</a>.</p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -1,13 +1,10 @@
|
||||
(load "path.carp")
|
||||
|
||||
(defndynamic gendocs []
|
||||
(do
|
||||
(Project.config "title" "path")
|
||||
(Project.config "docs-directory" "./docs/")
|
||||
(Project.config "docs-logo" "")
|
||||
(Project.config "docs-styling" "style.css")
|
||||
(Project.config "docs-generate-index" false)
|
||||
(save-docs Path)))
|
||||
(save-docs Path)
|
||||
|
||||
(gendocs)
|
||||
(quit)
|
||||
|
@@ -16,7 +16,7 @@ It assumes either Windows or POSIX-style separators.")
|
||||
(defmodule Path
|
||||
(doc absolute? "checks whether a path is absolute.
|
||||
|
||||
As such, it is the inverse to [relative](#relative).")
|
||||
As such, it is the inverse to [relative?](#relative?).")
|
||||
(doc separator "is the default separator we use on this OS.")
|
||||
(doc separators "is the possible separators we could use on this OS.")
|
||||
(doc search-path-separator "is the separator for the `PATH` environment
|
||||
@@ -42,7 +42,7 @@ variable we use on this OS.")
|
||||
|
||||
(doc relative? "checks whether a path is relative.
|
||||
|
||||
As such, it is the inverse to [absolute](#absolute).")
|
||||
As such, it is the inverse to [absolute?](#absolute?).")
|
||||
(defn relative? [p] (not (absolute? p)))
|
||||
|
||||
(doc separator? "checks whether the character `c` is a path separator on this
|
||||
|
Reference in New Issue
Block a user