Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sphinx steps formater how to pass destdir #494

Closed
aisbaa opened this issue Sep 13, 2016 · 3 comments
Closed

Sphinx steps formater how to pass destdir #494

aisbaa opened this issue Sep 13, 2016 · 3 comments
Labels

Comments

@aisbaa
Copy link

aisbaa commented Sep 13, 2016

Hi, cant figure out how to pass destdir to SphinxStepsDocumentGenerator from command line or config file.

Related to #166 .

@ghost
Copy link

ghost commented Sep 14, 2016

I guess that's part of sphinx-build. One way is to:

  1. make a minimal feature file dummy.feature and run it with the following arguments: behave --dry-run --no-summary -q --format sphinx.steps -o doc/source dummy.feature
  2. and then run: sphinx-build -b html doc/source path/to/destdir

@jenisys
Copy link
Member

jenisys commented Sep 14, 2016

@nickmeet
Correct (but normally, I use the complete feature directory to discover all steps).
The output directory contains the all step modules as *.rst files and an `index.rst`` as starting point (with a table of contents).

@jenisys jenisys closed this as completed Sep 14, 2016
@jenisys jenisys added the info label Sep 14, 2016
@aisbaa
Copy link
Author

aisbaa commented Sep 15, 2016

Brilliant, thank you guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants