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

docs: sphinx >=4.0 breaks build #277

Closed
dmsimard opened this issue Jun 1, 2021 · 1 comment
Closed

docs: sphinx >=4.0 breaks build #277

dmsimard opened this issue Jun 1, 2021 · 1 comment
Labels
docs Related to the documentation

Comments

@dmsimard
Copy link
Contributor

dmsimard commented Jun 1, 2021

What is the issue ?

Sphinx recently released v4 and it broke ara's doc builds, for example with tox -e docs:

Running Sphinx v4.0.2
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 15 source files that are out of date
updating environment: [new config] 15 added, 0 changed, 0 removed
reading sources... [  6%] ansible-configuration
reading sources... [ 13%] ansible-plugins-and-use-cases
reading sources... [ 20%] api-configuration
reading sources... [ 26%] api-documentation
reading sources... [ 33%] api-security
reading sources... [ 40%] api-usage
reading sources... [ 46%] changelog-release-notes
reading sources... [ 53%] cli
reading sources... [ 60%] container-images
reading sources... [ 66%] contributing
reading sources... [ 73%] distributed-sqlite-backend
reading sources... [ 80%] faq
reading sources... [ 86%] getting-started
reading sources... [ 93%] index
reading sources... [100%] troubleshooting

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  6%] ansible-configuration
writing output... [ 13%] ansible-plugins-and-use-cases

Exception occurred:
  File "/home/zuul/src/github.com/ansible-community/ara/.tox/docs/lib/python3.6/site-packages/sphinx/highlighting.py", line 127, in get_lexer
    lexer = lexer_classes[lang](**opts)
TypeError: 'AnsibleYamlLexer' object is not callable

What should be happening ?

I haven't yet investigated the issue but it should work

@dmsimard dmsimard added the docs Related to the documentation label Jun 1, 2021
dmsimard added a commit to dmsimard/ara that referenced this issue Jun 1, 2021
@dmsimard
Copy link
Contributor Author

dmsimard commented Jul 20, 2021

Will be fixed once #290 merges.

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

No branches or pull requests

1 participant