1. Etienne Desautels
  2. sphinx-autopackage-script
  3. Issues
Issue #3 wontfix

excludes dir doesn't work

Benoît LAURENT
created an issue

It seems latest commit <<changeset 7199e9725789>> which convert root path to an absolute path break test done by {{{is_excluded}}}.

I call script the following way and want to exclude {{{tests}}} dirs : {{{

!shell

$ python generate_modules.py -t -s rst -d api/autodoc/ ../src/mymodule/ tests }}}

A quick and dirty fix is to convert exclude path to absolute path in {{{normalize_excludes}}}

{{{

!python

f_excludes.append(os.path.abspath(exclude)) }}}

Comments (3)

  1. Log in to comment