Skip to content

"make clean html" still searches for "now outdated files" = inefficient #5888

@Dutchtallman

Description

@Dutchtallman

Subject: "make clean html" still searches for "now outdated files" = inefficient

Problem

When you issue the command:
make html
on any project, you will see in the output:
looking for now-outdated files...
Sometimes, some unchanged files are selected for reprocessing.

When you issue the command:
make clean html
on any project, you'll see in the output that sphinx is also " ...looking for outdated files ... ", but all files are already selected for being reprocessed due to the "clean" option and no additional files are selected.

"Looking for outdated files " can take a long time, especially for larger projects and is an unnecessary step in case of "clean" being used. It's an inefficiency.

Proposed solution

Do not "look for outdated files" in case a "clean" documentation is generated.

Environment info

  • OS: Kernel: 4.15.0-43-generic x86_64 bits
  • Distro: Kubuntu 18.04.1 LTS
  • Python version: 2.7.15rc1
  • Sphinx version: Sphinx v1.8.1

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions