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

Google processor does not preserve indentation (breaks nested lists) #320

Open
jackgerrits opened this issue Mar 4, 2024 · 0 comments
Open
Assignees

Comments

@jackgerrits
Copy link
Contributor

Describe the bug

The Google processor rewrites arguments to include type information. It looks like in order to normalize, indentation is removed. This breaks nested unordered/ordered lists.

def _process(self, node: docspec.ApiObject):

For example:

- Test
  - nested

Would be transformed to:

  - Test
  - nested

Expected behavior

Indentation to be preserved.

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

2 participants