Hi Sandra, Stefano

Thanks for info. I tried the rstcheck but it had mostly Info and Warnings, 
so I think it should be fine for Sphinx.

So for the error, generally Sphinx has following warnings/info:-
File-name.rst:2: WARNING: duplicate label rulesummary, other instance in 
File-name.rst

But the case where our docs fails is :-

reST markup error:
:16: (SEVERE/4) Unexpected section title.

},

Thanks,
Anurag
On Wednesday, 25 August 2021 at 08:24:04 UTC-5 Stefano David wrote:

> On Monday, 23 August 2021 at 21:49:33 UTC+2 anurag garg wrote:
>
>> Hi Sphinx users,
>>
>> Is there a rst validator that I can use to validate the rst files before 
>> running sphinx?
>>
>> I am having issues in building docs after updating Sphinx current version 
>> (from: 1.8.3) which errors out with an issue in a rst file without 
>> mentioning which file has the issue.
>>
> There's a rst-lint in pypi [1], but I never tried it.
>
> About the error(s) you receive, even if they don't give you the exact file 
> where the issue takes place, they tell you what kind of problem you should 
> investigate. Perhaps if you copy them here someone might help you further.
>
> Cheers,
> Stefano
>
> [1] https://pypi.org/project/restructuredtext-lint/  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/f805cf74-8f9a-4dcf-841f-7325c0ea1ec9n%40googlegroups.com.

Reply via email to