ThemeModel

pydantic model documenteer.conf._toml.ThemeModel

Model for theme configurations in documenteer.toml.

Parameters:

data (Any)

Show JSON schema
{
   "title": "ThemeModel",
   "description": "Model for theme configurations in documenteer.toml.",
   "type": "object",
   "properties": {
      "show_github_edit_link": {
         "default": true,
         "description": "Show a link to edit on GitHub if True",
         "title": "Show Github Edit Link",
         "type": "boolean"
      },
      "header_links_before_dropdown": {
         "default": 5,
         "description": "Number of links in the header nav before showing a 'More' dropdown.",
         "title": "Header Links Before Dropdown",
         "type": "integer"
      }
   }
}

Fields:

Number of links in the header nav before showing a ‘More’ dropdown.

Show a link to edit on GitHub if True