11 Commits

Author SHA1 Message Date
Oleh Prypin
7c44a09c03 Update gitignore 2022-08-15 23:37:14 +02:00
Ultrabug
e1b77ab66e Support theme localization
A framework for translating themes as been added, which includes:

1. Use of Jinja's `i18n` plugin for translating phrases in templates (not page content).
2. A French translation of the built-in themes (contributions in other languages are welcome).
3. A new `theme.locale` option to define the locale/language of the site.
4. The search plugin uses the value of `theme.locale` as its default 'lang'.
5. Third party themes may chose to use the framework (use is optional).
6. A documented workflow for translating MkDocs built-in themes.
7. Custom tooling for use by translators and theme devs.

The dependencies are not installed by default and are not needed to use MkDocs without translations. However, for anyone who wants to make use of the features, `pip install mkdocs[i18n]` will install all necessary dependencies.

Relates to #211.
2021-05-06 14:30:21 -04:00
Waylan Limberg
3f79e60fbd More complete .gitignore 2018-03-09 16:15:25 -05:00
Tom Christie
61127cada5 Update tox.ini 2014-02-10 19:44:11 +00:00
Tom Christie
6b3f83bfe3 Use custom cerulean-based theme 2014-01-29 20:06:13 +00:00
Tom Christie
6b6d56e81d Split out toc module, adding tests. 2014-01-22 19:46:37 +00:00
Tom Christie
4635afcfca Version 0.2 2014-01-21 17:00:02 +00:00
Tom Christie
4d45ab257a Site docs 2014-01-21 16:46:05 +00:00
Tom Christie
1d01415069 Still awesome 2014-01-19 12:09:47 +00:00
Tom Christie
b83d22c263 Implement toc parsing 2014-01-14 09:16:49 +00:00
Tom Christie
ba0ba16dab Hell, yeah 2014-01-10 23:00:46 +00:00