Skip to content

Citation not styled properly #1078

@madjxatw

Description

@madjxatw

Problem

Citation should be styled as same as footnote, but it is not. This is exactly the same issue as described in #1030 and I've confirmed it hasn't been fixed.

In https://sphinx-rtd-theme--1039.org.readthedocs.build/en/1039/demo/demo.html#references, the citation definitions under the Citation section are actually footnotes not real citations , that's why you can't see the wrong styling.

Let's see how docutils defines citation:

Citations are identical to footnotes except that they use only non-numeric labels such as [note] or [GVR2001].

Citation definition produces a dl element with class="citation" while footnote definition produces a dl with class="footnote".

Expected Results

Citation should be styled as same as footnote.

Environment Info

  • Python Version: 3.9.1
  • Sphinx Version: 3.5.1
  • RTD Theme Version: 0.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedAccepted issue on our roadmapBugA bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions