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

Fixed error in demo.rst #421

Merged
merged 1 commit into from May 21, 2017

Conversation

Projects
None yet
3 participants
@massimo-zaniboni
Contributor

massimo-zaniboni commented May 19, 2017

If I compile with grunt I obtain this error

Running Sphinx v1.6.1
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 6 source files that are out of date
updating environment: 6 added, 0 changed, 0 removed
reading sources... [ 16%] api
reading sources... [ 33%] demo
>> /home/zanibonim/lavoro/dokstar/website/sphinx_rtd_theme/demo_docs/source/demo.rst:267: WARNING: Duplicate explicit target name: "1".
>> Exception occurred:
>> File "/usr/local/lib/python2.7/dist-packages/sphinx/transforms/__init__.py", line 288, in apply
>>     if node['names'][0] not in self.document.footnote_refs:
>> IndexError: list index out of range
>> The full traceback has been saved in /tmp/sphinx-err-jpw4od.log, if you want to report the issue to the developers.
>> Please also report this if it was a user error, so that a better error message can be provided next time.
>> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
>> Exited with code: 1.
>> Error executing child process: Error: Command failed: sphinx-build demo_docs/source demo_docs/build
>> /home/zanibonim/lavoro/dokstar/website/sphinx_rtd_theme/demo_docs/source/demo.rst:267: WARNING: Duplicate explicit target name: "1".
>> 
>> Exception occurred:
>>   File "/usr/local/lib/python2.7/dist-packages/sphinx/transforms/__init__.py", line 288, in apply
>>     if node['names'][0] not in self.document.footnote_refs:
>> IndexError: list index out of range
>> The full traceback has been saved in /tmp/sphinx-err-jpw4od.log, if you want to report the issue to the developers.
>> Please also report this if it was a user error, so that a better error message can be provided next time.
>> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
Warning: Task "exec:build_sphinx" failed. Use --force to continue.

Aborted due to warnings.

I renamed some footer references in the demo.rst file, respecting their intended usage and now compile correctly.

@Blendify Blendify merged commit 71b90d0 into rtfd:master May 21, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@massimo-zaniboni massimo-zaniboni deleted the dokmelody:fixed_error_in_demo_rst branch May 21, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment