Skip to content

Commit

Permalink
Merge pull request #906 from CliMA/ar/docs_colored_strings
Browse files Browse the repository at this point in the history
colored strings in docs
  • Loading branch information
AlexisRenchon authored Nov 1, 2024
2 parents f3e8648 + 4f333a4 commit ac3af5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl
run: julia --color=yes --project=docs/ docs/make.jl
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ format = Documenter.HTML(
prettyurls = !isempty(get(ENV, "CI", "")),
collapselevel = 1,
mathengine = mathengine,
ansicolor = true,
)

makedocs(
Expand Down
2 changes: 2 additions & 0 deletions docs/src/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ using About
about(ClimaLand.Soil.Biogeochemistry)
```

Where modules are shown in red, functions are shown in blue, and types are shown in yellow.

To see the documentation about a particular module, function or type, you can use ? to go in help mode
in the REPL, or `@doc` as in [Parameterization above](#Parameterization).

0 comments on commit ac3af5f

Please sign in to comment.