Pull requests

#280 Declined
Repository
tk0miya tk0miya
Branch
stable
Repository
birkenfeld birkenfeld
Branch
stable

Fix sphinx-build command crashes if invoked from non-ASCII path

Author
  1. Takeshi Komiya
Reviewers
Description

fix for #1512.

Environment#process_dependencies() refers current working directory, but path of dependency files should be relative to its srcdir (not cwd).

Comments (1)

  1. Takayuki Shimizukawa

    Thins PR will break env.get_outdated_files() behavior in some cases then it cause re-building document that have .. include:: ind.txt every time.

    One of the case is:

    project/
      +-- source/
      |     +-- conf.py
      |     +-- index.rst   :: .. include:: ../inc.txt
      +-- build/
      +-- inc.txt
    
    $ cd project
    $ make html