Skip to content

Commit

Permalink
Update site docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vemv committed Nov 7, 2023
1 parent a2d7e84 commit 4e0708f
Show file tree
Hide file tree
Showing 7 changed files with 733 additions and 733 deletions.
16 changes: 8 additions & 8 deletions docs/cider-nrepl/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,15 @@ <h2 id="via-leiningen"><a class="anchor" href="#via-leiningen"></a>Via Leiningen
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:plugins [[cider/cider-nrepl "0.43.0"]]</code></pre>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:plugins [[cider/cider-nrepl "0.43.1"]]</code></pre>
</div>
</div>
<div class="paragraph">
<p>A minimal <code>profiles.clj</code> for CIDER would be:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">{:user {:plugins [[cider/cider-nrepl "0.43.0"]]}}</code></pre>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">{:user {:plugins [[cider/cider-nrepl "0.43.1"]]}}</code></pre>
</div>
</div>
<div class="paragraph">
Expand All @@ -256,7 +256,7 @@ <h2 id="via-leiningen"><a class="anchor" href="#via-leiningen"></a>Via Leiningen
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:dependencies [[cider/cider-nrepl "0.43.0"]]
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:dependencies [[cider/cider-nrepl "0.43.1"]]
:repl-options {:nrepl-middleware
[cider.nrepl/wrap-apropos
cider.nrepl/wrap-classpath
Expand Down Expand Up @@ -292,7 +292,7 @@ <h3 id="via-boot"><a class="anchor" href="#via-boot"></a>Via Boot</h3>
</div>
<div class="listingblock">
<div class="content">
<pre>boot -d nrepl:1.0.0 -d cider/cider-nrepl:0.43.0 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait</pre>
<pre>boot -d nrepl:1.0.0 -d cider/cider-nrepl:0.43.1 -i "(require 'cider.tasks)" cider.tasks/add-middleware -m cider.nrepl.middleware.apropos/wrap-apropos -m cider.nrepl.middleware.version/wrap-version repl --server wait</pre>
</div>
</div>
<div class="paragraph">
Expand All @@ -301,7 +301,7 @@ <h3 id="via-boot"><a class="anchor" href="#via-boot"></a>Via Boot</h3>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">(set-env! :dependencies '[[nrepl "1.0.0"]
[cider/cider-nrepl "0.43.0"]])
[cider/cider-nrepl "0.43.1"]])

(require '[cider.tasks :refer [add-middleware]])

Expand Down Expand Up @@ -342,7 +342,7 @@ <h2 id="via-clj"><a class="anchor" href="#via-clj"></a>Via clj</h2>
</div>
<div class="listingblock">
<div class="content">
<pre>clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.43.0"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"</pre>
<pre>clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.43.1"} }}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"</pre>
</div>
</div>
<div class="paragraph">
Expand All @@ -353,12 +353,12 @@ <h2 id="via-clj"><a class="anchor" href="#via-clj"></a>Via clj</h2>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">{...
:aliases
{:cider-clj {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
cider/cider-nrepl {:mvn/version "0.43.0"}}
cider/cider-nrepl {:mvn/version "0.43.1"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}

:cider-cljs {:extra-deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/clojurescript {:mvn/version "1.10.339"}
cider/cider-nrepl {:mvn/version "0.43.0"}
cider/cider-nrepl {:mvn/version "0.43.1"}
cider/piggieback {:mvn/version "0.5.2"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware"
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}}}</code></pre>
Expand Down
12 changes: 6 additions & 6 deletions docs/cider/basics/middleware_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -481,15 +481,15 @@ <h3 id="using-leiningen"><a class="anchor" href="#using-leiningen"></a>Using Lei
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:plugins [[cider/cider-nrepl "0.43.0"]]</code></pre>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">:plugins [[cider/cider-nrepl "0.43.1"]]</code></pre>
</div>
</div>
<div class="paragraph">
<p>A minimal <code>profiles.clj</code> for CIDER would be:</p>
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">{:repl {:plugins [[cider/cider-nrepl "0.43.0"]]}}</code></pre>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">{:repl {:plugins [[cider/cider-nrepl "0.43.1"]]}}</code></pre>
</div>
</div>
<div class="admonitionblock warning">
Expand Down Expand Up @@ -531,7 +531,7 @@ <h3 id="using-boot"><a class="anchor" href="#using-boot"></a>Using Boot</h3>
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure">(require 'boot.repl)

(swap! boot.repl/*default-dependencies*
concat '[[cider/cider-nrepl "0.43.0"]])
concat '[[cider/cider-nrepl "0.43.1"]])

(swap! boot.repl/*default-middleware*
conj 'cider.nrepl/cider-middleware)</code></pre>
Expand All @@ -551,11 +551,11 @@ <h3 id="using-tools-deps"><a class="anchor" href="#using-tools-deps"></a>Using t
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure"> :cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.43.0"}}
<pre class="highlightjs highlight"><code class="language-clojure hljs" data-lang="clojure"> :cider-clj {:extra-deps {cider/cider-nrepl {:mvn/version "0.43.1"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}

:cider-cljs {:extra-deps {org.clojure/clojurescript {:mvn/version "1.10.339"}
cider/cider-nrepl {:mvn/version "0.43.0"}
cider/cider-nrepl {:mvn/version "0.43.1"}
cider/piggieback {:mvn/version "0.5.3"}}
:main-opts ["-m" "nrepl.cmdline" "--middleware"
"[cider.nrepl/cider-middleware,cider.piggieback/wrap-cljs-repl]"]}</code></pre>
Expand Down Expand Up @@ -595,7 +595,7 @@ <h3 id="using-gradle"><a class="anchor" href="#using-gradle"></a>Using Gradle</h
<div class="content">
<pre class="highlightjs highlight"><code class="language-groovy hljs" data-lang="groovy">dependencies {
devImplementation 'nrepl:nrepl:0.9.0'
devImplementation 'cider:cider-nrepl:0.43.0'
devImplementation 'cider:cider-nrepl:0.43.1'
}

tasks.named('clojureRepl') {
Expand Down
4 changes: 2 additions & 2 deletions docs/cider/basics/up_and_running.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ <h3 id="auto-injecting-dependencies"><a class="anchor" href="#auto-injecting-dep
</div>
<div class="literalblock">
<div class="content">
<pre>$ clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.43.0"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'</pre>
<pre>$ clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.43.1"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'</pre>
</div>
</div>
<div class="admonitionblock tip">
Expand Down Expand Up @@ -939,7 +939,7 @@ <h2 id="connect-to-a-running-nrepl-server"><a class="anchor" href="#connect-to-a
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-sh hljs" data-lang="sh">$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.43.0"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"</code></pre>
<pre class="highlightjs highlight"><code class="language-sh hljs" data-lang="sh">$ clj -Sdeps '{:deps {cider/cider-nrepl {:mvn/version "0.43.1"}}}' -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"</code></pre>
</div>
</div>
<div class="paragraph">
Expand Down
2 changes: 1 addition & 1 deletion docs/cider/cljs/shadow-cljs.html
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ <h3 id="using-cider-connect-cljs"><a class="anchor" href="#using-cider-connect-c
</div>
<div class="listingblock">
<div class="content">
<pre class="highlightjs highlight"><code class="language-clj hljs" data-lang="clj"> :dependencies [[cider/cider-nrepl "0.43.0"] ;; mandatory (unless it's inherited from deps.edn or otherwise present in the classpath of shadow-cljs's JVM process)
<pre class="highlightjs highlight"><code class="language-clj hljs" data-lang="clj"> :dependencies [[cider/cider-nrepl "0.43.1"] ;; mandatory (unless it's inherited from deps.edn or otherwise present in the classpath of shadow-cljs's JVM process)
[refactor-nrepl/refactor-nrepl "3.9.0"]] ;; refactor-nrepl is optional

:nrepl {:middleware [cider.nrepl/cider-middleware ;; it's advisable to explicitly add this middleware. It's automatically added by shadow-cljs (if available in the classpath), unless `:nrepl {:cider false}`
Expand Down
2 changes: 1 addition & 1 deletion docs/cider/cljs/up_and_running.html
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ <h3 id="manual-piggieback-setup"><a class="anchor" href="#manual-piggieback-setu
<div class="content">
<pre class="highlightjs highlight"><code class="language-groovy hljs" data-lang="groovy">dependencies {
devImplementation 'nrepl:nrepl:0.9.0'
devImplementation 'cider:cider-nrepl:0.43.0'
devImplementation 'cider:cider-nrepl:0.43.1'
devImplementation 'cider:cider-piggieback:0.5.3'
}

Expand Down
Loading

0 comments on commit 4e0708f

Please sign in to comment.