Skip to content

Commit

Permalink
build based on 5659a96
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Jun 23, 2024
1 parent ef4556c commit 7fd9e57
Show file tree
Hide file tree
Showing 14 changed files with 8,639 additions and 8,757 deletions.
2 changes: 1 addition & 1 deletion development/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-22T10:25:57","documenter_version":"1.4.1"}}
{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-23T09:22:12","documenter_version":"1.4.1"}}
4,885 changes: 0 additions & 4,885 deletions development/assets/Dates_examples.svg

This file was deleted.

92 changes: 0 additions & 92 deletions development/assets/Dates_examples.typ

This file was deleted.

12,206 changes: 8,492 additions & 3,714 deletions development/assets/Typstry_examples.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 86 additions & 3 deletions development/assets/Typstry_examples.typ
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
= Typstry.jl

#f((
"html\"<p>a</p>\"", "Docs.HTML", "```html <p>a</p> ```", [#```html <p>a</p> ```], "```html <p>a</p> ```", [```html <p>a</p> ```], "#```html <p>a</p> ```", [$#```html <p>a</p> ```$],
"text\"[\\\"a\\\"]\"", "Docs.Text", "\"[\\\"a\\\"]\"", [#"[\"a\"]"], "[\"a\"]", [["a"]], "\"[\\\"a\\\"]\"", [$"[\"a\"]"$],
"Any[true, 1, 1.2, 1//2]", "AbstractArray",
"(true, 1, 1.2, 1 / 2)", [#(true, 1, 1.2, 1 / 2)], "$vec(\n \"true\", 1, 1.2, 1 / 2\n)$", [$vec(
"true", 1, 1.2, 1 / 2
Expand Down Expand Up @@ -51,6 +49,91 @@
"typst\"[\\\"a\\\"]\"", "TypstString", "[\"a\"]", [#["a"]], "[\"a\"]", [["a"]], "[\"a\"]", [$["a"]$],
"TypstText([1, 2, 3, 4])", "TypstText", "[1, 2, 3, 4]", [#[1, 2, 3, 4]], "[1, 2, 3, 4]", [[1, 2, 3, 4]], "[1, 2, 3, 4]", [$[1, 2, 3, 4]$],
"0xff", "Unsigned", "0xff", [#0xff], "#0xff", [#0xff], "#0xff", [$#0xff$],
"v\"1.2.3\"", "VersionNumber", "version(1, 2, 3)", [#version(1, 2, 3)], "#version(1, 2, 3)", [#version(1, 2, 3)], "#version(1, 2, 3)", [$#version(1, 2, 3)$]
"v\"1.2.3\"", "VersionNumber", "version(1, 2, 3)", [#version(1, 2, 3)], "#version(1, 2, 3)", [#version(1, 2, 3)], "#version(1, 2, 3)", [$#version(1, 2, 3)$],
"html\"<p>a</p>\"", "Docs.HTML", "```html <p>a</p> ```", [#```html <p>a</p> ```], "```html <p>a</p> ```", [```html <p>a</p> ```], "#```html <p>a</p> ```", [$#```html <p>a</p> ```$],
"text\"[\\\"a\\\"]\"", "Docs.Text", "\"[\\\"a\\\"]\"", [#"[\"a\"]"], "[\"a\"]", [["a"]], "\"[\\\"a\\\"]\"", [$"[\"a\"]"$],
"Dates.Date(1)", "Dates.Date", "datetime(\n year: 1,\n month: 1,\n day: 1\n)", [#datetime(
year: 1,
month: 1,
day: 1
)], "#datetime(\n year: 1,\n month: 1,\n day: 1\n)", [#datetime(
year: 1,
month: 1,
day: 1
)], "#datetime(\n year: 1,\n month: 1,\n day: 1\n)", [$#datetime(
year: 1,
month: 1,
day: 1
)$],
"Dates.DateTime(1)", "Dates.DateTime", "datetime(\n year: 1,\n month: 1,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0\n)", [#datetime(
year: 1,
month: 1,
day: 1,
hour: 0,
minute: 0,
second: 0
)], "#datetime(\n year: 1,\n month: 1,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0\n)", [#datetime(
year: 1,
month: 1,
day: 1,
hour: 0,
minute: 0,
second: 0
)], "#datetime(\n year: 1,\n month: 1,\n day: 1,\n hour: 0,\n minute: 0,\n second: 0\n)", [$#datetime(
year: 1,
month: 1,
day: 1,
hour: 0,
minute: 0,
second: 0
)$],
"Dates.Day(1)", "Dates.Day", "duration(\n days: 1\n)", [#duration(
days: 1
)], "#duration(\n days: 1\n)", [#duration(
days: 1
)], "#duration(\n days: 1\n)", [$#duration(
days: 1
)$],
"Dates.Hour(1)", "Dates.Hour", "duration(\n hours: 1\n)", [#duration(
hours: 1
)], "#duration(\n hours: 1\n)", [#duration(
hours: 1
)], "#duration(\n hours: 1\n)", [$#duration(
hours: 1
)$],
"Dates.Minute(1)", "Dates.Minute", "duration(\n minutes: 1\n)", [#duration(
minutes: 1
)], "#duration(\n minutes: 1\n)", [#duration(
minutes: 1
)], "#duration(\n minutes: 1\n)", [$#duration(
minutes: 1
)$],
"Dates.Second(1)", "Dates.Second", "duration(\n seconds: 1\n)", [#duration(
seconds: 1
)], "#duration(\n seconds: 1\n)", [#duration(
seconds: 1
)], "#duration(\n seconds: 1\n)", [$#duration(
seconds: 1
)$],
"Dates.Time(0)", "Dates.Time", "datetime(\n hour: 0,\n minute: 0,\n second: 0\n)", [#datetime(
hour: 0,
minute: 0,
second: 0
)], "#datetime(\n hour: 0,\n minute: 0,\n second: 0\n)", [#datetime(
hour: 0,
minute: 0,
second: 0
)], "#datetime(\n hour: 0,\n minute: 0,\n second: 0\n)", [$#datetime(
hour: 0,
minute: 0,
second: 0
)$],
"Dates.Week(1)", "Dates.Week", "duration(\n weeks: 1\n)", [#duration(
weeks: 1
)], "#duration(\n weeks: 1\n)", [#duration(
weeks: 1
)], "#duration(\n weeks: 1\n)", [$#duration(
weeks: 1
)$]
))
2 changes: 1 addition & 1 deletion development/getting_started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
typst&quot;$ π approx 3.141592653589793 $&quot;</code></pre><h3 id="Commands"><a class="docs-heading-anchor" href="#Commands">Commands</a><a id="Commands-1"></a><a class="docs-heading-anchor-permalink" href="#Commands" title="Permalink"></a></h3><p>Use <a href="../manual/commands/#Typstry.render"><code>render</code></a> to easily generate a Typst source file and compile it into a document.</p><pre><code class="language-julia-repl hljs">julia&gt; render(Any[true 1; 1.2 1 // 2]);</code></pre><p>Compile source files by <code>run</code>ning a <a href="../manual/commands/#Typstry.TypstCommand"><code>TypstCommand</code></a> created using its constructor or <a href="../manual/commands/#Typstry.@typst_cmd"><code>@typst_cmd</code></a>.</p><pre><code class="language-julia-repl hljs">julia&gt; TypstCommand([&quot;help&quot;])
typst`help`

julia&gt; run(typst`compile input.typ output.pdf`);</code></pre><h2 id="Examples"><a class="docs-heading-anchor" href="#Examples">Examples</a><a id="Examples-1"></a><a class="docs-heading-anchor-permalink" href="#Examples" title="Permalink"></a></h2><p>These Typst documents were generated from Julia using <code>show</code> with the <code>text/typst</code> MIME type and compiled using a <code>TypstCommand</code>. Each row corresponds to a method of <a href="../manual/extensions/#Typstry.show_typst-Tuple{Any, Union{Date, DateTime, Time}}"><code>show_typst</code></a>. Sequential documents correspond to package <a href="../manual/extensions/#extensions_extensions">Extensions</a>.</p><p><img src="../assets/Typstry_examples.svg" alt="Typstry.jl examples"/> <img src="../assets/Dates_examples.svg" alt="Dates.jl examples"/> <img src="../assets/LaTeXStrings_examples.svg" alt="LaTeXStrings.jl examples"/> <img src="../assets/Markdown_examples.svg" alt="Markdown.jl examples"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../tutorials/interface/">Interface »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Saturday 22 June 2024 10:25">Saturday 22 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
julia&gt; run(typst`compile input.typ output.pdf`);</code></pre><h2 id="Examples"><a class="docs-heading-anchor" href="#Examples">Examples</a><a id="Examples-1"></a><a class="docs-heading-anchor-permalink" href="#Examples" title="Permalink"></a></h2><p>These Typst documents were generated from Julia using <code>show</code> with the <code>text/typst</code> MIME type and compiled using a <code>TypstCommand</code>. Each row corresponds to a method of <a href="../manual/extensions/#Typstry.show_typst-Tuple{Any, LaTeXString}"><code>show_typst</code></a>. Sequential documents correspond to package <a href="../manual/extensions/#extensions_extensions">Extensions</a>.</p><p><img src="../assets/Typstry_examples.svg" alt="Typstry.jl examples"/> <img src="../assets/LaTeXStrings_examples.svg" alt="LaTeXStrings.jl examples"/> <img src="../assets/Markdown_examples.svg" alt="Markdown.jl examples"/></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../">« Home</a><a class="docs-footer-nextpage" href="../tutorials/interface/">Interface »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.4.1 on <span class="colophon-date" title="Sunday 23 June 2024 09:22">Sunday 23 June 2024</span>. Using Julia version 1.10.4.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit 7fd9e57

Please sign in to comment.