Commit Graph

1653 Commits

Author SHA1 Message Date
Oleh Prypin
a17a25c60e Release 1.3.1 (#2895) 1.3.1 2022-07-19 09:23:14 +02:00
Ultrabug
dd7986ff7b Requirements: pin Markdown version to <3.4 (#2893) 2022-07-19 09:09:11 +02:00
Oleh Prypin
6bd62b9738 When a Markdown extension fails to load, print its name and traceback (#2894) 2022-07-19 08:50:18 +02:00
Francesco Maida
d93feffadd Italian translation for mkdocs and readthedocs themes (#2860) 2022-07-19 08:14:10 +02:00
Simon Li
03b48936e3 Docs: site_url is optional (#2863) 2022-07-18 23:49:23 +02:00
Carlos Meza
042d7c25ac Check only for uppercase README.md file (#2852) 2022-07-18 23:16:06 +02:00
Sean
82bd8ba5ff Clean up code style (#2825)
* Change Github to GitHub
* Add space before closing tag
* Convert tabs to spaces
* Fix coding style for some css
2022-05-18 00:22:08 +02:00
Fullchee Zhang
c32fbe3376 Fix typo in configuration.md (#2844) 2022-05-18 00:20:24 +02:00
Peyman M
cdf8a26caf Added an extra space to the readthedocs theme breadcrumbs (#2810)
Co-authored-by: Oleh Prypin <oleh@pryp.in>
2022-03-31 21:11:35 +02:00
Oleh Prypin
d2e2a2318d Release 1.3.0 (#2806) 1.3.0 2022-03-26 20:51:15 +01:00
Oleh Prypin
2016004b7e Merge branch 'release/1.2' 2022-03-26 20:37:41 +01:00
Oleh Prypin
6c1eb589f4 Release 1.2.4 (#2805) 1.2.4 2022-03-26 20:33:54 +01:00
Oleh Prypin
2d642b3863 Compatibility with Jinja2 3.1.0 (#2800) 2022-03-26 20:28:46 +01:00
Oleh Prypin
b7272150bb Revert to disregarding the mount path for /livereload/ endpoint (#2804)
Previously there was a pull request "Move livereload endpoint under the mount path (#2740)"
and it definitely makes sense as a way to make livereload work behind a proxy.

However, this change also caused a major annoyance when working on several different sites.
Steps to reproduce:

1. `serve` one site (needs to have `site_url` customized)
2. open the site in a browser
3. stop serving it but keep the browser
4. `serve` another site with a different mount point
5. observe spam of "404" errors in the new terminal (also in the old browser but that's whatever)

So, this reverts the observable effect of commit fafdcc240e
2022-03-26 19:31:29 +01:00
Ofek Lev
17ff566d2a Ensure that the edit_uri option does not modify the repo_url (#2733)
Co-authored-by: Oleh Prypin <oleh@pryp.in>
2022-03-26 12:45:14 +01:00
Oleh Prypin
91923f507a Revert "SubConfig now catches failures and warnings (#2710)"
This reverts commit d7fa90558c.
2022-03-26 11:17:20 +01:00
Álvaro Mondéjar
5cf196361b Prevent XSS searching in builtin themes (#2791)
Co-authored-by: Oleh Prypin <oleh@pryp.in>
2022-03-26 11:04:50 +01:00
Sylvain Marié
d7fa90558c SubConfig now catches failures and warnings (#2710) 2022-03-26 11:04:27 +01:00
Peyman M
09a5cd0dee Add Persian (fa) translation to the default themes (#2787) 2022-03-26 10:51:28 +01:00
Oleh Prypin
bd456e74f9 Make Jinja2 errors and OSErrors produce a clearer message (#2801) 2022-03-26 10:49:55 +01:00
pryme-svg
052ba868ad Add --no-history option to not push parent history for gh_deploy (#2594) 2022-03-26 10:48:43 +01:00
Oleh Prypin
ec9b583b02 Bump importlib_metadata to at least 4.3 to support Python 3.10 (#2802) 2022-03-26 10:43:00 +01:00
Ultrabug
7841f2e8a7 dev-guide: document page.file (#2763) 2022-03-25 19:46:11 +01:00
Andrii Oriekhov
5ecbeddc28 add GitHub URL for PyPi (#2785) 2022-03-25 19:45:46 +01:00
Oleh Prypin
96d8b85e02 Compatibility with Jinja2 3.1.0 (#2800) 2022-03-25 19:45:19 +01:00
Álvaro Mondéjar
f725e225ad Fix documentation error in Developing Themes (#2781) 2022-03-02 12:22:01 +01:00
Álvaro Mondéjar
747320fff3 Pin MarkupSafe to <= 2.0.1 to support Jinja2 in minimum requirements (#2778) 2022-02-26 13:57:00 +01:00
Nick Schonning
234fb10e54 Docs: fix relative link (#2756) 2022-01-28 00:51:23 +01:00
Álvaro Mondéjar
b599749d7c Fix PyPy version in MacOS CI workflow (#2755)
Use pypy-3.7-v7.x selector
2022-01-25 23:21:35 +01:00
Phillip Cloud
c93fc91e4d Fix imports to get tests passing (#2751)
* Fix broken localization import in theme_tests.py
* Fix tests by importing directly from config submodule
* Fix test runner top level directory
2022-01-23 19:44:36 +01:00
Oleh Prypin
cff5b55d59 Don't inject javascript poll script if livereload is disabled (#2742) 2022-01-08 23:08:11 +02:00
Oleh Prypin
d4565cbed3 Don't inject javascript poll script if livereload is disabled (#2742) 2022-01-06 17:31:18 +02:00
robertaistleitner
fafdcc240e Move livereload endpoint under the mount path (#2740)
Fix live reloading if using subpath in site_url. This is relevant when using a proxy.

Inject parametrized script directly into html.

Co-authored-by: Oleh Prypin <oleh@pryp.in>
2022-01-06 17:29:17 +02:00
Oleh Prypin
dc35569ade Don't define __ne__ methods, they're implicit since Py3 (#2735) 2021-12-30 23:18:35 +02:00
Álvaro Mondéjar
7e69cc5f68 Declare support for Python 3.10 (#2617)
* Bump minimum Jinja2 requirement
2021-12-30 23:17:56 +02:00
Álvaro Mondéjar
4a6862a82a Don't import unused commands (#2714) 2021-12-30 23:07:31 +02:00
Álvaro Mondéjar
cc88b5a680 Reuse Jinja2 tojson builtin filter (#2713)
Also drop Markupsafe from requirements
2021-12-30 23:06:33 +02:00
Álvaro Mondéjar
9fb40be97f Drop needless assert from FilesystemObject config option (#2712) 2021-12-30 23:05:29 +02:00
Goto Hayato
97eafb9094 Update ja translation for readthedocs theme (#2708) 2021-12-13 22:49:46 +01:00
Gustavo
46f5e1a268 Update brazilian portuguese translation for readthedocs Theme (#2705) 2021-12-11 13:16:52 +01:00
Ultrabug
445b75f393 Update readthedocs theme French translation (#2699) 2021-12-10 15:52:43 +01:00
Álvaro Mondéjar
529a91b424 Update Spanish translation for Readthedocs theme (#2698) 2021-12-10 15:52:12 +01:00
Oleh Prypin
d15b240247 Allow CI to run when pushing to a branch (#2439)
The motivation is that contributors currently have no good way to test their changes before opening a pull request
2021-11-28 17:34:17 +01:00
Oleh Prypin
c92eb40b57 Turn the deprecated 'pages' config into an error on use (#2652) 2021-11-20 18:33:06 +01:00
Oleh Prypin
1103f834fb Recursively validate Nav config option types (#2680) 2021-11-20 14:03:28 +01:00
Marc
912978c4e2 Provide german locale file for readthedocs theme (#2633) 2021-11-16 22:07:44 +01:00
xingkong
a01ffd2281 zh_CN: Update the translation of readthedocs (#2673) 2021-11-13 14:39:35 +01:00
steven-terrana
82fcf3115a Support custom directories to watch when running mkdocs serve (#2642)
* adds a `watch` property to the `mkdocs.yaml` schema. Accepts a list of directories to watch.
* adds a `-w`/`--watch` command line option to `mkdocs serve` that can be passed multiple times
* options from `mkdocs.yaml` and CLI flags are combined
* the livereload server will also print the directories that it watches
* docs updated

Co-authored-by: Oleh Prypin <oleh@pryp.in>
2021-11-07 10:29:58 +01:00
Kyle McNally
fa52d3ae71 Upgrade readthedocs theme to v1.0.0 (#2585)
Includes all upgrades 0.4.1->0.4.2->0.4.3->0.5.0rc->0.5.0rc2->0.5.0->0.5.1->1.0.0rc1->1.0.0

* Add the ability to use a logo in place of site_name in base.html
* New option `anonymize_ip`
* Drop Modernizr.js
* Upgrade jQuery (to 3.6.0) and others
2021-11-07 10:24:30 +01:00
Quentin Fortier
7106d7d245 Remove duplicated sentences in docs/deploying (#2667) 2021-11-07 10:11:30 +01:00