Textualize / rich-cli

Rich-cli is a command line toolbox for fancy output in the terminal

Home Page:https://www.textualize.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some rst sections' content omitted from output

AndydeCleyre opened this issue · comments

$ git clone https://github.com/pypa/setuptools
$ rich setuptools/docs/pkg_resources.rst

The last bunch of sections have headers but no content in the output, though content exists in the input.

image

@wasi-master Do you recognise this issue?

I've looked at the document used in the issue I'll try to reproduce it and fix the issue asap

I've figured out that those are indented paragraphs. But those should also count as normal paragraphs. Unless there's some other class specifically for indented ones in docutils. I'll see what I can find

Indented paragraphs are the issue here.

image
image

I've found the cause of the issue. Indented paragraphs are counted as block quotes in docutils. And I've only shown blockquotes that contain an author in them. I'll try fixing it

I've fixed the issue locally, gonna publish it soon

Image 1

@willmcgugan Fixed in 1.1.7, You can close this issue