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

how to use in the right way? #43

Open
mgiaco opened this issue Jul 11, 2017 · 8 comments
Open

how to use in the right way? #43

mgiaco opened this issue Jul 11, 2017 · 8 comments

Comments

@mgiaco
Copy link

mgiaco commented Jul 11, 2017

Hi,

I do have a test project with a "doc" folder. In the doc folder I do have a sphinx build under "doc\build\html".

Then I run:

sphinx-versioning build -r master doc doc/build/html

And I get:

=> Gathering info about the remote git repository...
=> Getting list of all remote branches/tags...
=> Found: master v1.0 v1.1 v1.2
=> With docs:
=> No docs found in any remote branch/tag. Nothing to do.
Failure.

So what´s wrong here i read the help but did not find the error.

many thanks

@Robpol86
Copy link
Collaborator

You need to commit the doc folder and push it to origin.

@mgiaco
Copy link
Author

mgiaco commented Jul 11, 2017

Okay but I already did that. Should I also commit the build in that doc folder?

@mgiaco
Copy link
Author

mgiaco commented Jul 12, 2017

Okay now I have some error:

# Sphinx version: 1.6.3
# Python version: 3.6.1 (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.5
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "C:\test\lib\site-packages\sphinx\cmdline.py", line 305, in main
    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
  File "C:\test\lib\site-packages\sphinx\application.py", line 234, in __init__
    self._init_builder()
  File "C:\test\lib\site-packages\sphinx\application.py", line 312, in _init_builder
    self.emit('builder-inited')
  File "C:\test\lib\site-packages\sphinx\application.py", line 489, in emit
    return self.events.emit(event, self, *args)
  File "C:\test\lib\site-packages\sphinx\events.py", line 79, in emit
    results.append(callback(*args))
  File "C:\test\lib\site-packages\sphinxcontrib\versioning\sphinx_.py", line 60, in builder_inited
    app.config.html_sidebars['**'] = StandaloneHTMLBuilder.default_sidebars + ['versions.html']
AttributeError: type object 'StandaloneHTMLBuilder' has no attribute 'default_sidebars'

So I use the alabaster theme but I have read that it is supported.

@Levi-Armstrong
Copy link

@mgiaco I am getting the same error. Were you able to resolve the issue?

@mgiaco
Copy link
Author

mgiaco commented Oct 5, 2017

@Levi-Armstrong no sorry. I do not search for a solution.

@twiecki
Copy link

twiecki commented Oct 21, 2017

Getting the same error.

@suush
Copy link

suush commented Nov 24, 2017

This error is due to newer sphinx version(1.6). #46

@gryphon2411
Copy link

Is it going to be fixed?

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

6 participants