docs: use content.tabs.link feature of mkdocs-material

This commit is contained in:
Sina Atalay
2024-07-14 15:47:52 +03:00
parent 41535cabaf
commit c2c0324b51
3 changed files with 7 additions and 6 deletions

View File

@@ -108,10 +108,10 @@ Each of these `*.j2.tex` files is $\LaTeX$ code with some Python in it. These fi
The best way to understand how they work is to look at the templates of the built-in themes:
- [templates of the `classic` theme](../reference/themes/classic.md)
- [templates of the `engineeringresumes` theme](../reference/themes/engineeringresumes.md)
- [templates of the `sb2nov` theme](../reference/themes/sb2nov.md)
- [templates of the `moderncv` theme](../reference/themes/moderncv.md)
- [templates of the `classic` theme](../reference/themes/classic.md#jinja-templates)
- [templates of the `engineeringresumes` theme](../reference/themes/engineeringresumes.md#jinja-templates)
- [templates of the `sb2nov` theme](../reference/themes/sb2nov.md#jinja-templates)
- [templates of the `moderncv` theme](../reference/themes/moderncv.md#jinja-templates)
For example, the content of `ExperienceEntry.j2.tex` for the `moderncv` theme is shown below:

View File

@@ -225,8 +225,8 @@ start_date: 2020-07
end_date: '2021-08-12'
summary: Developed an [IOS application](https://example.com).
highlights:
- Received more than **100,000 downloads**.
- Managed a team of **5** engineers.
- Received more than **100,000 downloads**.
- Managed a team of **5** engineers.
```
By default, the `summary` key will not affect the output as the built-in templates do not use it. However, you can use the `summary` key in your custom templates. Further information on overriding the built-in templates with custom ones can be found [here](index.md#overriding-built-in-themes).

View File

@@ -46,6 +46,7 @@ theme:
- search.share # share search results with others
- toc.follow # if toc sidebar doesn't fit, scroll to the active heading
- content.code.annotate # allow annotations in code blocks
- content.tabs.link # switch all the content tabs to the same label
nav:
- Overview: index.md