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

Fix docs warning about multiple OptimizeOptions targets #271

Merged
merged 1 commit into from
Apr 12, 2022

Conversation

michaeldiamant
Copy link
Contributor

Fixes the warning shown in #270 and reproduced below without requiring docs modification. Thanks to @jasonpaulos for suggesting the fix! ☕

~/dev/pyteal/docs master *3 ?3 ──────────────────────────────────────────────────────────────────────────────────────────  pyteal 03:14:55 PM
❯ make html
Running Sphinx v4.5.0
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] compiler_optimization
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] index
/Users/michael/dev/pyteal/docs/compiler_optimization.rst:15: WARNING: more than one target found for 'any' cross-reference 'OptimizeOptions': could be :py:class:`pyteal.OptimizeOptions` or :py:class:`pyteal.compiler.optimizer.optimizer.OptimizeOptions`
/Users/michael/dev/pyteal/docs/compiler_optimization.rst:15: WARNING: more than one target found for 'any' cross-reference 'OptimizeOptions': could be :py:class:`pyteal.OptimizeOptions` or :py:class:`pyteal.compiler.optimizer.optimizer.OptimizeOptions`
/Users/michael/dev/pyteal/docs/compiler_optimization.rst:15: WARNING: more than one target found for 'any' cross-reference 'OptimizeOptions': could be :py:class:`pyteal.OptimizeOptions` or :py:class:`pyteal.compiler.optimizer.optimizer.OptimizeOptions`
generating indices... genindex py-modindex done
writing additional pages... search done
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.

The HTML pages are in _build/html.

@michaeldiamant michaeldiamant merged commit 4220105 into algorand:master Apr 12, 2022
@michaeldiamant michaeldiamant deleted the fix_rst_warnings branch April 12, 2022 18:57
algoidurovic pushed a commit to algoidurovic/pyteal that referenced this pull request Apr 20, 2022
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

Successfully merging this pull request may close these issues.

3 participants