From cb8075d88f1fdfdf4821c14d2764eafc78dc9fe8 Mon Sep 17 00:00:00 2001 From: David Vogel Date: Sun, 16 Nov 2025 15:56:44 +0000 Subject: [PATCH] Get rid of descriptions on deprecated types --- cli-options.go | 2 -- cli.go | 5 ----- 2 files changed, 7 deletions(-) diff --git a/cli-options.go b/cli-options.go index 6d05ccc..72045af 100644 --- a/cli-options.go +++ b/cli-options.go @@ -5,7 +5,5 @@ package typst -// CLIOptions contains all parameters that can be passed to a Typst CLI. -// // Deprecated: Use typst.OptionsCompile instead. type CLIOptions = OptionsCompile diff --git a/cli.go b/cli.go index 51f2ac6..1040b94 100644 --- a/cli.go +++ b/cli.go @@ -132,11 +132,6 @@ func (c CLI) Compile(input io.Reader, output io.Writer, options *OptionsCompile) return nil } -// CompileWithVariables takes a Typst document from input, and renders it into the output writer. -// The options parameter is optional, and can be nil. -// -// Additionally this will inject the given map of variables into the global scope of the Typst document. -// // Deprecated: You should use typst.InjectValues in combination with the normal Compile method instead. func (c CLI) CompileWithVariables(input io.Reader, output io.Writer, options *OptionsCompile, variables map[string]any) error { varBuffer := bytes.Buffer{}