Skip to content

Commit f3d7c04

Browse files
committed
fix docs
1 parent 8b89bd4 commit f3d7c04

File tree

1 file changed

+80
-76
lines changed

1 file changed

+80
-76
lines changed

docs/make.jl

Lines changed: 80 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -3,87 +3,91 @@ using Term, Documenter
33
(@main)(args) = begin
44
DocMeta.setdocmeta!(Term, :DocTestSetup, :(using Term); recursive = true)
55

6+
format = Documenter.HTML(;
7+
prettyurls = Base.get_bool_env("CI", false),
8+
canonical = "https://FedeClaudi.github.io/Term.jl",
9+
assets = String[],
10+
collapselevel = 1,
11+
)
12+
13+
pages = [
14+
"Home" => "index.md",
15+
"Basics" => Any[
16+
"basics/basics.md",
17+
"basics/styled_text.md",
18+
"basics/colors_and_theme.md",
19+
"basics/renderables.md",
20+
"basics/tprint.md",
21+
"basics/console.md",
22+
"basics/prompt.md",
23+
"basics/markdown.md",
24+
],
25+
"Renderables" => Any[
26+
"ren/intro.md",
27+
"ren/text.md",
28+
"ren/panel.md",
29+
"ren/table.md",
30+
"ren/layout_rens.md",
31+
"ren/annotation.md",
32+
"ren/dendogram.md",
33+
"ren/tree.md",
34+
],
35+
"Layout" => Any[
36+
"layout/layout.md",
37+
"layout/nesting.md",
38+
"layout/stacking.md",
39+
"layout/justify.md",
40+
"layout/grid.md",
41+
"layout/compositor.md",
42+
],
43+
"Advanced" => Any[
44+
"adv/adv.md",
45+
"adv/repr.md",
46+
"adv/progressbars.md",
47+
"adv/logging.md",
48+
"adv/errors_tracebacks.md",
49+
"adv/introspection.md",
50+
],
51+
"Live" => [
52+
"live/intro.md",
53+
"live/app_intro.md",
54+
"live/widgets.md",
55+
"live/keyboard_input.md",
56+
],
57+
"API" => Any[
58+
"api/api_term.md",
59+
"api/api_boxes.md",
60+
"api/api_colors.md",
61+
"api/api_console.md",
62+
"api/api_compositors.md",
63+
"api/api_dendograms.md",
64+
"api/api_errors.md",
65+
"api/api_grid.md",
66+
"api/api_introspection.md",
67+
"api/api_layout.md",
68+
"api/api_logs.md",
69+
"api/api_markdown.md",
70+
"api/api_measures.md",
71+
"api/api_panels.md",
72+
"api/api_renderables.md",
73+
"api/api_repr.md",
74+
"api/api_segments.md",
75+
"api/api_style.md",
76+
"api/api_tables.md",
77+
"api/api_tprint.md",
78+
"api/api_trees.md",
79+
],
80+
],
81+
682
makedocs(;
783
modules = [Term],
884
authors = "FedeClaudi <[email protected]> and contributors",
985
repo = "https://github.com/FedeClaudi/Term.jl/blob/{commit}{path}#{line}",
1086
sitename = "Term.jl",
11-
format = Documenter.HTML(;
12-
prettyurls = get(ENV, "CI", "false") == "true",
13-
canonical = "https://FedeClaudi.github.io/Term.jl",
14-
assets = String[],
15-
collapselevel = 1,
16-
),
1787
warnonly = true,
18-
pages = [
19-
"Home" => "index.md",
20-
"Basics" => Any[
21-
"basics/basics.md",
22-
"basics/styled_text.md",
23-
"basics/colors_and_theme.md",
24-
"basics/renderables.md",
25-
"basics/tprint.md",
26-
"basics/console.md",
27-
"basics/prompt.md",
28-
"basics/markdown.md",
29-
],
30-
"Renderables" => Any[
31-
"ren/intro.md",
32-
"ren/text.md",
33-
"ren/panel.md",
34-
"ren/table.md",
35-
"ren/layout_rens.md",
36-
"ren/annotation.md",
37-
"ren/dendogram.md",
38-
"ren/tree.md",
39-
],
40-
"Layout" => Any[
41-
"layout/layout.md",
42-
"layout/nesting.md",
43-
"layout/stacking.md",
44-
"layout/justify.md",
45-
"layout/grid.md",
46-
"layout/compositor.md",
47-
],
48-
"Advanced" => Any[
49-
"adv/adv.md",
50-
"adv/repr.md",
51-
"adv/progressbars.md",
52-
"adv/logging.md",
53-
"adv/errors_tracebacks.md",
54-
"adv/introspection.md",
55-
],
56-
"Live" => [
57-
"live/intro.md",
58-
"live/app_intro.md",
59-
"live/widgets.md",
60-
"live/keyboard_input.md",
61-
],
62-
"API" => Any[
63-
"api/api_term.md",
64-
"api/api_boxes.md",
65-
"api/api_colors.md",
66-
"api/api_console.md",
67-
"api/api_compositors.md",
68-
"api/api_dendograms.md",
69-
"api/api_errors.md",
70-
"api/api_grid.md",
71-
"api/api_introspection.md",
72-
"api/api_layout.md",
73-
"api/api_logs.md",
74-
"api/api_markdown.md",
75-
"api/api_measures.md",
76-
"api/api_panels.md",
77-
"api/api_renderables.md",
78-
"api/api_repr.md",
79-
"api/api_segments.md",
80-
"api/api_style.md",
81-
"api/api_tables.md",
82-
"api/api_tprint.md",
83-
"api/api_trees.md",
84-
],
85-
],
88+
format,
89+
pages
8690
)
8791

88-
deploydocs(; repo = "github.com/FedeClaudi/Term.jl")
89-
end
92+
deploydocs(; repo = "github.com/FedeClaudi/Term.jl.git")
93+
end

0 commit comments

Comments
 (0)