[Python] Sphinx warning : targets for x source files that are out of date

Discussão em 'Python' iniciado por Stack, Junho 7, 2025.

  1. Stack

    Stack Membro Participativo

    I have a Sphinx based website using Sphinx bootstrap theme. Whenever I add an RST file in it and run by typing make html, it always gives this warning:

    building
    HTML:
    : targets for 6 source files that are out of date
    
    
    The build is succesful, but I want to prevent this warning appear all the time. It counts the number of RST files I add. By the way, I use :orphan: at the top of my RST files to customize the navbar of my website and don't include them on index.rst. I first thought that may be due to that, but when I also delete the orphan and add my RST files to the TOC tree, it still gives this warning. Any way to remove this warning ?
    
    [url="https://stackoverflow.com/questions/44615749/sphinx-warning-targets-for-x-source-files-that-are-out-of-date"]Continue reading...[/url]

Compartilhe esta Página