From b9f74a11136972836067b11beec3dc8f664b89d0 Mon Sep 17 00:00:00 2001 From: Mark Sto Date: Thu, 1 May 2025 17:44:24 +0400 Subject: [PATCH] [mod] Denoise the API docs a bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - hide API docstrings for the `set-var-root!` and `update-var-root!` - do not expose `newline` and `chance` in the `taoensso.telemere` ns - move `chance` top the `taoensso.telemere.utils` ns — the `newline` already there --- main/src/taoensso/telemere.cljc | 7 ++----- main/src/taoensso/telemere/utils.cljc | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/main/src/taoensso/telemere.cljc b/main/src/taoensso/telemere.cljc index 5721b5c..c60ebe9 100644 --- a/main/src/taoensso/telemere.cljc +++ b/main/src/taoensso/telemere.cljc @@ -5,7 +5,6 @@ " {:author "Peter Taoussanis (@ptaoussanis)"} - (:refer-clojure :exclude [newline]) (:require [taoensso.truss :as truss] [taoensso.encore :as enc] @@ -69,13 +68,11 @@ (enc/defaliases ;; Encore - #?(:clj enc/set-var-root!) - #?(:clj enc/update-var-root!) + #?(:clj ^:no-doc enc/set-var-root!) + #?(:clj ^:no-doc enc/update-var-root!) #?(:clj enc/get-env) #?(:clj enc/call-on-shutdown!) - enc/chance enc/rate-limiter - enc/newline sigs/comp-xfn #?(:clj truss/keep-callsite) diff --git a/main/src/taoensso/telemere/utils.cljc b/main/src/taoensso/telemere/utils.cljc index a8f6e87..a152ca5 100644 --- a/main/src/taoensso/telemere/utils.cljc +++ b/main/src/taoensso/telemere/utils.cljc @@ -134,7 +134,7 @@ ;;;; Misc (enc/defaliases - enc/newline enc/pr-edn #?(:clj enc/uuid) enc/uuid-str + enc/newline enc/pr-edn #?(:clj enc/uuid) enc/uuid-str enc/chance #?@(:cljs [enc/pr-json]) #?@(:clj [enc/thread-info enc/thread-id enc/thread-name enc/host-info enc/host-ip enc/hostname]))