Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More CSS fine-tuning #5604

Merged
merged 1 commit into from
Jul 15, 2019
Merged

More CSS fine-tuning #5604

merged 1 commit into from
Jul 15, 2019

Conversation

timhoffm
Copy link
Contributor

Followup to #5602.

  1. Fixes a regresssion from Improve CSS layout #5602. The contents list items unintendedly got a margin in between. This is removed again (before/after):
    grafik grafik

  2. Removed the header backlinks in the section "Contributing". The main motivation is to not style the headings like links. While this could also be overridden with additional CSS, I decided to just remove the backlinks. Since most of the other pages do not have TOCs, headings in the pytest docs usually do not have backlinks. Additionally, IMHO the semantics of a heading backlink is not quite intuitive (clicking on a heading brings you to the TOC which is only structurally but not sematically related to the section); and I don't think the actual action "Go to TOC" is really needed here.
    before:
    grafik
    after:
    grafik

@codecov
Copy link

codecov bot commented Jul 15, 2019

Codecov Report

Merging #5604 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #5604   +/-   ##
=======================================
  Coverage   96.11%   96.11%           
=======================================
  Files         117      117           
  Lines       25775    25775           
  Branches     2495     2495           
=======================================
  Hits        24773    24773           
  Misses        697      697           
  Partials      305      305

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f2f3bb...0160631. Read the comment docs.

Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks a lot @timhoffm! We definitely appreciate the love you are giving to pytest's docs. 👍

@nicoddemus nicoddemus merged commit 54e08b7 into pytest-dev:master Jul 15, 2019
@timhoffm timhoffm deleted the doc-css2 branch July 15, 2019 13:27
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