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

Documentation: Fix indent in code blocks #43

Closed
rafilong opened this issue May 30, 2020 · 0 comments · Fixed by #49
Closed

Documentation: Fix indent in code blocks #43

rafilong opened this issue May 30, 2020 · 0 comments · Fixed by #49
Assignees
Labels
api: bigtable Issues related to the googleapis/python-bigtable API. documentation Improvements or additions to documentation type: docs Improvement to the documentation for an API.

Comments

@rafilong
Copy link
Contributor

Issue
When viewing code samples in the docs, the code is indented, which limits viewing/readability and makes copy-paste more difficult.

Suggestion
To be honest, I'm not sure if there exists a solution simple enough to warrant fixing, as the current form is completely usable. Because the code is pulled from snippets.py, and omits the function declaration, if snippets.py is modified to remove the indent it will no longer compile. Maybe there is a way to retroactively remove indents during the docs compile process in the noxfile?

@rafilong rafilong added documentation Improvements or additions to documentation type: docs Improvement to the documentation for an API. labels May 30, 2020
@product-auto-label product-auto-label bot added the api: bigtable Issues related to the googleapis/python-bigtable API. label May 30, 2020
@HemangChothani HemangChothani self-assigned this Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigtable Issues related to the googleapis/python-bigtable API. documentation Improvements or additions to documentation type: docs Improvement to the documentation for an API.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants