6 Commits

Author SHA1 Message Date
Waylan Limberg
d3f8b242d3 babel is required for deployment 2021-06-07 11:26:06 -04: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
c7d86d4989 Support PY39 and drop PY35 (#2260)
PyYAML 3.13 fails to install on PY3.9 on MacOS. The next public release was 5.1.
2020-12-21 16:31:38 -05:00
AleksaC
7dc35a11ad Reintroduce pypy to CI 2020-11-16 09:17:20 -05:00
Waylan Limberg
725371c946 Temporarily exclude Windows/PyPy check
Due to a bug in PyPy 3.6.9 on Windows, tox is not able to start up and run.
See tox-dev/tox#1704 for details. Revert this when PyPy is updated to
the next release and/or when the bug is fixed upstream.
2020-11-05 15:04:06 -05:00
Waylan Limberg
e28c20223b Switch to GitHub Actions from Travis/Appveyor
This duplicates everything we already had in Travis and Appveyor.
Any additional actions can be added separately later.
2020-11-05 15:04:06 -05:00