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

--name is required in some cases #26

Closed
canburak opened this issue Jul 19, 2014 · 6 comments
Closed

--name is required in some cases #26

canburak opened this issue Jul 19, 2014 · 6 comments

Comments

@canburak
Copy link

Hello,

I've just built a docset. Without a "--name" the docset was generated with just the extension and wasn't added to dash.

When I added the --name parameter, it worked.

@hynek
Copy link
Owner

hynek commented Jul 20, 2014

Hey, could you give me the full command line that caused the error and the python version? thanks!

@canburak
Copy link
Author

trailing slash seems the cause the problem:

build$ doc2dash -A html/
Converting sphinx docs from "html/" to "/Users/canburak/Library/Application Support/doc2dash/DocSets/.docset".
Parsing HTML...
Creating database...
Added 114 index entries.
Adding table of contents meta data...
Adding to dash...

build$ doc2dash -A html
Converting sphinx docs from "html" to "/Users/canburak/Library/Application Support/doc2dash/DocSets/html.docset".
Parsing HTML...
Creating database...
Added 114 index entries.
Adding table of contents meta data...
Adding to dash...
build$ python --version
Python 2.7.7

@hynek
Copy link
Owner

hynek commented Jul 22, 2014

Oi, that’s an embarrassing one. Thanks for reporting, will fix it soon!

@hynek hynek closed this as completed in 6c1695e Jul 24, 2014
@hynek
Copy link
Owner

hynek commented Jul 24, 2014

I’ve released a 1.2.1 to fix this, thank you for reporting!

@canburak
Copy link
Author

thanks, May I suggest you to detect the name of the repo? As in my case instead of the project name, I get the folder name. This is a convenience suggestion though. not a bug report.

@hynek
Copy link
Owner

hynek commented Jul 24, 2014

That would have to be a new switch; you may want to open a new issue/pr for it.

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

No branches or pull requests

2 participants