| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Change the documentation's `Show Source` link on the left menu to GitHub source file. (cherry picked from commit 23bafa2)
| <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}" | ||
| rel="nofollow">{{ _('Show Source') }}</a></li> | ||
| <li> | ||
| {% if version == "3.7" %} |
There was a problem hiding this comment.
Should this updated when Python 3.7 is released?
I think 2.7, 3.5, and 3.6 branch should not have this if statement.
Or could we pass variable like doc_source_url_prefix = "https://github.com/python/cpython/blob/3.6/Doc/" from conf?
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the review, @methane :)
I removed the if statement as suggested.
Branches 2.7, 3.5, and 3.6 don't have the if statement anymore.
Sorry, something went wrong.
Support for is_resource() and contents()
* Replace pep517.build with build Resolves python#30 * Prefer simple usage Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Use `extend-ignore` in flake8 config This option allows to add extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Fixes python#28. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * Enable complexity limit. Fixes jaraco/skeleton#34. * Replace pep517.build with build (python#37) * Replace pep517.build with build Resolves python#30 * Prefer simple usage Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Use license_files instead of license_file in meta (python#35) Singular `license_file` is deprecated since wheel v0.32.0. Refs: * https://wheel.readthedocs.io/en/stable/news.html * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Tests: Modified dis.py and added primitive tests * Docs: Typos and more documentation * Test: Fixed minor issue
| Back | FazBrowse Home | New Git URL |
Change the documentation's Show Source link on the left menu
to GitHub source file.
(cherry picked from commit 23bafa2)