Skip to content

doc/manual: don't need to copy highlight.js manually#5094

Merged
edolstra merged 1 commit intoNixOS:masterfrom
Pamplemousse:simpler_doc
Aug 5, 2021
Merged

doc/manual: don't need to copy highlight.js manually#5094
edolstra merged 1 commit intoNixOS:masterfrom
Pamplemousse:simpler_doc

Conversation

@Pamplemousse
Copy link
Member

The theme is totally customizable, you can selectively replace every file from the theme by your own by adding a theme directory next to src folder in your project root. Create a new file with the name of the file you want to override and now that file will be used instead of the default file.

https://rust-lang.github.io/mdBook/format/theme/index.html?highlight=theme%20folder

Signed-off-by: Pamplemousse <xav.maso@gmail.com>
@edolstra edolstra merged commit d64f967 into NixOS:master Aug 5, 2021
@Pamplemousse Pamplemousse deleted the simpler_doc branch August 6, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants