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

Fix field lists after switch to HTML5 writer #6625

Merged
merged 1 commit into from Aug 18, 2019

Conversation

jakobandersen
Copy link
Contributor

Feature or Bugfix

  • Bugfix

Subject: fix HTML rendering of field lists after original switch to the HTML5 writer

Purpose

See #6604. There was a general problem with alignment between dt dd elements, i.e., field type and field content. The classic theme additionally was missing some colour.

Themes affected/fixed due to changes in basic:

See field_lists.zip for screen shots of for version 1.8, 2.13, and with this PR.

Note that both haiku and pyramid still has some alignment problems, though the seem to be present in 1.8 as well.

Relates

Fixes #6604
Perhaps fixes sympy/sympy#16585

- classic: Put the pink'ish colour back on the field type part (dt).
- basic: remove top margin on the field data to align with the type.
- basic: use grid display instead of flexbox to avoid fixed width on
  the field type part.

Other themes affected/fixed due to changes in basic:
- bizstyle (only technically, it already was fixed in
  sphinx-doc#6262)
- haiku
- classic
- nature
- pyramid
- sphinxdoc

Fixes sphinx-doc#6604
@jakobandersen jakobandersen changed the base branch from 2.1.3 to 2.0 August 18, 2019 15:05
@jakobandersen jakobandersen modified the milestones: 2.1.3, 2.2.0 Aug 18, 2019
@codecov
Copy link

codecov bot commented Aug 18, 2019

Codecov Report

Merging #6625 into 2.0 will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.0    #6625      +/-   ##
==========================================
- Coverage   83.77%   83.74%   -0.03%     
==========================================
  Files         266      268       +2     
  Lines       40916    40950      +34     
  Branches     5996     5999       +3     
==========================================
+ Hits        34277    34294      +17     
- Misses       5317     5331      +14     
- Partials     1322     1325       +3
Impacted Files Coverage Δ
sphinx/__init__.py 73.91% <0%> (ø)
sphinx/make_mode.py 0% <0%> (ø)

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 4a1df77...9dd7688. Read the comment docs.

Copy link
Member

@tk0miya tk0miya left a comment

Choose a reason for hiding this comment

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

LGTM!

@tk0miya tk0miya merged commit 0df7ab0 into sphinx-doc:2.0 Aug 18, 2019
@jakobandersen jakobandersen deleted the 6604_field_list_rendering branch August 18, 2019 15:19
tk0miya added a commit that referenced this pull request Aug 18, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants