-
Notifications
You must be signed in to change notification settings - Fork 0
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
Adapt Examples sections to be multiline for mkdocs #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For two or more independent examples using >>>
seems to be ok but for for code blocks like sections I'd prefer to see Python code blocks - that seems to be supported by mkdocs as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes: - Rename Example to Examples for all Example sections. This is required for mkdocs to display multi-line examples correctly. - Add the >>> to each line in the Examples. It forces mkdocs to not squash examples into one line.
e4a50c1
to
032fa9e
Compare
* Adapt Examples sections to be multiline for mkdocs Changes: - Rename Example to Examples for all Example sections. This is required for mkdocs to display multi-line examples correctly. - Add the >>> to each line in the Examples. It forces mkdocs to not squash examples into one line. * Fix imports in squishserver module * Fix docstrings: multiline examples and Args --------- Co-authored-by: Adakar <jakub.top@gmail.com>
Changes: