Skip to content

Commit

Permalink
move cache documentation to a subsection
Browse files Browse the repository at this point in the history
  • Loading branch information
landmaj committed Nov 6, 2023
1 parent 5db76c6 commit 4bf14be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/docs/guide/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ plugins:
If an option is not specified, default value (seen above) will be used.
Run `d2 --help` for more information about the options.

### Cache

Caching is enabled by default. It is recommended to keep it enabled to
speed up the build process. By default, cache is stored in `.cache`
directory, similar to other MkDocs plugins. For this reason it's recommended
Expand All @@ -31,8 +35,6 @@ to add `.cache` to `.gitignore` file.
If you want to pregenerate cache and use it on a different machine, make
sure both systems use the same [backend](https://docs.python.org/3/library/dbm.html).

Run `d2 --help` for more information about the options.

## Local config

You can override locally everything except:
Expand Down

0 comments on commit 4bf14be

Please sign in to comment.