# ANN: The Documenter Theme Indigo

**URL:** <https://discourse.julialang.org/t/ann-the-documenter-theme-indigo/59127>\
**Category:** Package Announcements\
**Tags:** package, announcement, documentation, documenter\
**Created:** [April 12, 2021, 7:18pm UTC](https://discourse.julialang.org/t/ann-the-documenter-theme-indigo/59127 "2021-04-12T19:18:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roger-luo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/roger-luo/32/3399_2.png) [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Post date:** [April 12, 2021, 7:18pm UTC](https://discourse.julialang.org/t/ann-the-documenter-theme-indigo/59127/1 "2021-04-12T19:18:10Z")

</div>

I’m excited to announce the documenter theme Indigo: [GitHub - JuliaDiff/DocThemeIndigo.jl: The Documenter Theme for the ChainRules family of packages. But you can use it too](https://github.com/JuliaDiff/DocThemeIndigo.jl)

This is originally the theme [ChainRules](https://juliadiff.org/ChainRulesCore.jl/stable/) uses, I separate it out so that now we can use it for other packages.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/c/fc4dc85d530f49c02b7e85ecbd4d5979353fa32a.png)

* * *

## Usage

1. use `DocThemeIndigo.install` to generate the indigo CSS file
2. put the CSS file path into your assets

Your `docs/make.jl` file would look like the following

```julia
using Documenter
using DocThemeIndigo 
# 1. generate the indigo theme css
indigo = DocThemeIndigo.install(MyPackageModule)
makedocs(; 
     # ... 
     format=Documenter.HTML(; 
     # ... 
     # put your indigo css in assets
          assets=String[indigo #= your other assets =#], 
     ), 
     # ... 
)

```

## Acknowledgement

This theme is based on earlier works made by the following people: [ChainRulesCore#332](https://github.com/JuliaDiff/ChainRulesCore.jl/issues/332).

- [@iamed2](https://github.com/iamed2)
- [@oxinabox](https://github.com/oxinabox)
- [@cormullion](https://github.com/cormullion)
- [@simeonschaub](https://github.com/simeonschaub)
