diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 1cd04f231..e8583f15f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,6 +11,10 @@ build: post_checkout: - git fetch --tags + # Replace versions in sponsor URLs + pre_build: + - cog -rP docs/index.md + python: install: - method: pip diff --git a/README.md b/README.md index c3a837262..48df91447 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,26 @@ Its main goal is to help you to write **concise** and **correct** software witho *attrs* would not be possible without our [amazing sponsors](https://github.com/sponsors/hynek). Especially those generously supporting us at the *The Organization* tier and higher: + +
+ +Please consider joining them to help make attrs’s maintenance more sustainable!
diff --git a/docs/index.md b/docs/index.md index 7b9b5728f..b942f4fe8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,6 +4,28 @@ Release **{sub-ref}`release`** ([What's new?](changelog.md)) ```{include} ../README.md :start-after: 'teaser-begin -->' +:end-before: ' + + + + + + +```{include} ../README.md +:start-after: 'sponsor-break-end -->' :end-before: '