Skip to content

Learning Pieces

Grammar parser library

It is also worthy to take a look at Tree-sitter.

MkDocs

Customizing a theme

There are two options:

  1. Create an custom.css file and reference it in the mkdocs.yml via extra_css:['custom.css].
  2. Create an overrides folder and referencet it in the mkdocs.yml via theme.custom_dir: overrides.

You can find more information here.

In the case of the overrides folder, bear in mind that the original theme files will be replaced by those in the overrides folder only if they have the same relative location. In the material theme repository you can easily find information about the file structure of the theme.

There is also this documentation page on the MkDocs theme that talks about customization.