Hi, 

I've some questions about package names and the sphinx-apidoc utility.

I've a django project strictured like this:


project/
  src/
    manage.py
    utils/
      __init__.py
      models.py
      ...
    directory/
      __init__.py
      models.py
      ...
    account/
      __init__.py
      models.py
      ...
  docs/
    source/
      conf.py
      index.rst
    build/
      html/

I'ld like to to generate my docs rst files with sphinx-apidoc
$ cd docs
$ sphinx-apidoc --force --separate -o ./source ./src

If I do that, ALL .rst generated files are prefixed with "src.", which is 
not what I wish...

Then I try another method:

for app in "account utils directory"; do
  cd  docs
  sphinx-apidoc --force --separate -o ./source ${app}
done

This work with all packages, but the *utils packages is not prefixed at all* 
: rst files are named :

models.rst (nit utils.models.rst)

Have you any ideas ?
Thanks for your help !


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/b5b89eee-662c-4e39-934e-0044675ee4f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to