Fix GitHub markdown links to work on RTD (#1752)

* Fix internal links to work on RTD

Note that these still lead to GitHub, instead of staying on RTD.

* Point links to better anchors
This commit is contained in:
David W.H. Swenson 2020-10-18 23:27:15 +02:00 committed by GitHub
parent 4d6a84a829
commit 3e3da8eef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 10 deletions

View File

@ -52,7 +52,7 @@ your PR. You may need to change
configuration for it to pass. configuration for it to pass.
For more `black-primer` information visit the For more `black-primer` information visit the
[documentation](https://github.com/psf/black/blob/master/docs/black_primer.md). [documentation](https://github.com/psf/black/blob/master/docs/black_primer.md#black-primer).
## Hygiene ## Hygiene

View File

@ -164,7 +164,7 @@ about _Black_'s changes or will overwrite _Black_'s changes. A good example of t
should be configured to neither warn about nor overwrite _Black_'s changes. should be configured to neither warn about nor overwrite _Black_'s changes.
Actual details on _Black_ compatible configurations for various tools can be found in Actual details on _Black_ compatible configurations for various tools can be found in
[compatible_configs](https://github.com/psf/black/blob/master/docs/compatible_configs.md). [compatible_configs](https://github.com/psf/black/blob/master/docs/compatible_configs.md#black-compatible-configurations).
### Migrating your code style without ruining git blame ### Migrating your code style without ruining git blame

View File

@ -133,6 +133,7 @@ Multiple contributions by:
- [Paul Ganssle](mailto:p.ganssle@gmail.com) - [Paul Ganssle](mailto:p.ganssle@gmail.com)
- [Paul Meinhardt](mailto:mnhrdt@gmail.com) - [Paul Meinhardt](mailto:mnhrdt@gmail.com)
- [Peter Bengtsson](mailto:mail@peterbe.com) - [Peter Bengtsson](mailto:mail@peterbe.com)
- [Peter Grayson](mailto:pete@jpgrayson.net)
- [Peter Stensmyr](mailto:peter.stensmyr@gmail.com) - [Peter Stensmyr](mailto:peter.stensmyr@gmail.com)
- pmacosta - pmacosta
- [Quentin Pradet](mailto:quentin@pradet.me) - [Quentin Pradet](mailto:quentin@pradet.me)

View File

@ -17,6 +17,12 @@
- fixed a crash when PWD=/ on POSIX (#1631) - fixed a crash when PWD=/ on POSIX (#1631)
- fixed "I/O operation on closed file" when using --diff (#1664)
- Prevent coloured diff output being interleaved with multiple files (#1673)
- Added support for PEP 614 relaxed decorator syntax on python 3.9 (#1711)
### 20.8b1 ### 20.8b1
#### _Packaging_ #### _Packaging_

View File

@ -54,7 +54,7 @@ your PR. You may need to change
configuration for it to pass. configuration for it to pass.
For more `black-primer` information visit the For more `black-primer` information visit the
[documentation](https://github.com/psf/black/blob/master/docs/black_primer.md). [documentation](https://github.com/psf/black/blob/master/docs/black_primer.md#).
## Hygiene ## Hygiene

View File

@ -119,7 +119,7 @@ about _Black_'s changes or will overwrite _Black_'s changes. A good example of t
should be configured to neither warn about nor overwrite _Black_'s changes. should be configured to neither warn about nor overwrite _Black_'s changes.
Actual details on _Black_ compatible configurations for various tools can be found in Actual details on _Black_ compatible configurations for various tools can be found in
[compatible_configs](https://github.com/psf/black/blob/master/docs/compatible_configs.md). [compatible_configs](https://github.com/psf/black/blob/master/docs/compatible_configs.md#).
## Migrating your code style without ruining git blame ## Migrating your code style without ruining git blame
@ -167,12 +167,13 @@ know!)
## NOTE: This is a beta product ## NOTE: This is a beta product
_Black_ is already [successfully used](#used-by) by many projects, small and big. It _Black_ is already [successfully used](https://github.com/psf/black#used-by) by many
also sports a decent test suite. However, it is still very new. Things will probably be projects, small and big. It also sports a decent test suite. However, it is still very
wonky for a while. This is made explicit by the "Beta" trove classifier, as well as by new. Things will probably be wonky for a while. This is made explicit by the "Beta"
the "b" in the version number. What this means for you is that **until the formatter trove classifier, as well as by the "b" in the version number. What this means for you
becomes stable, you should expect some formatting to change in the future**. That being is that **until the formatter becomes stable, you should expect some formatting to
said, no drastic stylistic changes are planned, mostly responses to bug reports. change in the future**. That being said, no drastic stylistic changes are planned,
mostly responses to bug reports.
Also, as a temporary safety measure, _Black_ will check that the reformatted code still Also, as a temporary safety measure, _Black_ will check that the reformatted code still
produces a valid AST that is equivalent to the original. This slows it down. If you're produces a valid AST that is equivalent to the original. This slows it down. If you're