File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## master (unreleased)
4
4
5
+ ### Bugs fixed
6
+
7
+ * Fix broken links to the docs in REPL warnings (the REPL links included the full CIDER version, but the docs URLs are without the patch version).
8
+
5
9
### Changes
6
10
7
11
* Bump the injected nREPL version to 0.8.1.
Original file line number Diff line number Diff line change @@ -445,11 +445,15 @@ plugin or dependency with:
445
445
(defconst cider-manual-url " https://docs.cider.mx/cider/%s"
446
446
" The URL to CIDER's manual." )
447
447
448
+ (defun cider-version-sans-patch ()
449
+ " Return the version sans that patch."
450
+ (string-join (seq-take (split-string cider-version " \\ ." ) 2 ) " ." ))
451
+
448
452
(defun cider--manual-version ()
449
453
" Convert the version to a ReadTheDocs-friendly version."
450
454
(if (string-match-p " -snapshot" cider-version)
451
455
" "
452
- (concat cider-version " /" )))
456
+ (concat ( cider-version-sans-patch) " /" )))
453
457
454
458
(defun cider-manual-url ()
455
459
" The CIDER manual's url."
You can’t perform that action at this time.
0 commit comments