ansys / ansys/pyhps

Fix formatting of examples in the docstrings

Open
#147 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Python
Stars
5
Forks
1
Avg merge
1d 21h
Merged PRs (30d)
9

Description

Multiline blocks of code should start with `...`, otherwise they're rendered as output strings.

For instance
![image](https://user-images.githubusercontent.com/11756875/225266831-c6116905-270b-4540-9177-e08d769ccac6.png)
![image](https://user-images.githubusercontent.com/11756875/225267310-1ce627ea-a94f-4018-9138-cf422995c86c.png)

Contributor guide

Open the contributing guide

Research direction

Search the Python source for multiline code examples in docstrings, using the issue screenshots to identify the formatting problem. Check how those examples are rendered, then update the affected docstrings so code blocks start with `...` and are no longer rendered as output strings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.