Slide 46
Slide 46 text
EXDOC CONFIGURATION
defmodule FinancialRatios.MixProject do
use Mix.Project
def project do
[
app: :financial_ratios,
# …
# Docs
name: "Financial Ratios",
homepage_url: "../index.html",
docs: docs()
]
end
def docs, do: #…
end
defp docs do
[
before_closing_head_tag: &before_closing_head_tag/1,
output: "../../doc/financial_ratios"
]
end
defp before_closing_head_tag(_format),
do: include_math_typsetting_lib()
defp include_math_typsetting_lib do
"""