@@ -4,30 +4,31 @@ using Documenter, Unitful, Dates
44include (" generate_latex_images.jl" )
55
66DocMeta. setdocmeta! (Unitful, :DocTestSetup , :(using Unitful))
7-
8- makedocs (
9- sitename = " Unitful.jl" ,
10- format = Documenter. HTML (prettyurls = get (ENV , " CI" , nothing ) == " true" ),
11- warnonly = [:missing_docs ],
12- modules = [Unitful],
13- workdir = joinpath (@__DIR__ , " .." ),
14- pages = [
15- " Home" => " index.md"
16- " Highlighted features" => " highlights.md"
17- " Types" => " types.md"
18- " Defining new units" => " newunits.md"
19- " Conversion/promotion" => " conversion.md"
20- " Manipulating units" => " manipulations.md"
21- " How units are displayed" => " display.md"
22- " Logarithmic scales" => " logarithm.md"
23- " Temperature scales" => " temperature.md"
24- " Interoperability with `Dates`" => " dates.md"
25- " Latexifying units" => " latexify.md"
26- " Extending Unitful" => " extending.md"
27- " Troubleshooting" => " trouble.md"
28- " Pre-defined dimensions, units, and constants" => " defaultunits.md"
29- " License" => " LICENSE.md"
30- ]
31- )
7+ withenv (" UNITFUL_FANCY_EXPONENTS" => " false" ) do
8+ makedocs (
9+ sitename = " Unitful.jl" ,
10+ format = Documenter. HTML (prettyurls = get (ENV , " CI" , nothing ) == " true" ),
11+ warnonly = [:missing_docs ],
12+ modules = [Unitful],
13+ workdir = joinpath (@__DIR__ , " .." ),
14+ pages = [
15+ " Home" => " index.md"
16+ " Highlighted features" => " highlights.md"
17+ " Types" => " types.md"
18+ " Defining new units" => " newunits.md"
19+ " Conversion/promotion" => " conversion.md"
20+ " Manipulating units" => " manipulations.md"
21+ " How units are displayed" => " display.md"
22+ " Logarithmic scales" => " logarithm.md"
23+ " Temperature scales" => " temperature.md"
24+ " Interoperability with `Dates`" => " dates.md"
25+ " Latexifying units" => " latexify.md"
26+ " Extending Unitful" => " extending.md"
27+ " Troubleshooting" => " trouble.md"
28+ " Pre-defined dimensions, units, and constants" => " defaultunits.md"
29+ " License" => " LICENSE.md"
30+ ]
31+ )
32+ end
3233
3334deploydocs (repo = " github.com/JuliaPhysics/Unitful.jl.git" )
0 commit comments