Skip to content

home: make taking the salary survey the call to action - #2785

Draft
ericholscher wants to merge 1 commit into
mainfrom
airic/survey-cta
Draft

ericholscher wants to merge 1 commit into
mainfrom
airic/survey-cta

Conversation

@ericholscher

@ericholscher ericholscher commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

The salary survey card from #2780 led with the results and buried taking the survey as a secondary link. That's backwards while submissions are open — the results only exist because people fill it in, and the ask is the time-sensitive half.

The card now asks, and the results move into the copy. Which version shows is driven by the closing date in conf.py, following the announcement banner pattern, so it reverts to pointing at the results after the 2026 survey closes on 31 January 2027 rather than inviting people to a closed form. Next year, updating the year and date in one place switches it back.

Also renames the sponsorship card to "Become a sponsor", matching the footer button. It was the one title long enough to wrap to two lines, which made that row sit taller than the first.

Worth a look

  • Both states are verified, but note the flip needs a build that re-renders index.rst. A config-only change doesn't invalidate it on an incremental build — Read the Docs builds clean, so in practice it turns over on the first build after the closing date rather than on the date itself.
  • The survey year lives in conf.py alongside the date, so the two can't drift apart in the copy.

Generated by Claude Code


📚 Documentation preview 📚: https://writethedocs-www--2785.org.readthedocs.build/

The card pointed at the results, with taking the survey as a secondary
link in the copy. The survey only works if people fill it in, so make that
the card, and move the results into the copy.

Which one shows is driven by the closing date in conf.py, the way the
announcement banner works, so the card falls back to the results once the
2026 survey closes on 31 January 2027.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015JdLb6hXkD9Vym4eABf8pg
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 writethedocs-www | 🛠️ Build #34725943 | 📁 Comparing 44a3802 against latest (5d30b4a)

  🔍 Preview build  

1 file changed
± index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants