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

format issues on literalinclude #481

Open
germa89 opened this issue Aug 27, 2024 · 0 comments
Open

format issues on literalinclude #481

germa89 opened this issue Aug 27, 2024 · 0 comments
Assignees

Comments

@germa89
Copy link
Contributor

germa89 commented Aug 27, 2024

The rST code:

Helper functions
----------------

Additionally, for printing purposes, several helper functions are defined:

.. literalinclude:: ml_ga_beam.py
    :language: python
    :start-at: import numpy as np
    :end-at: print("=============")

which renders as:

https://mapdl.docs.pyansys.com/version/stable/examples/extended_examples/hpc/hpc_ml_ga.html#helper-functions

image

For completeness the Python code: https://github.com/ansys/pymapdl/blob/9580a45136331a2f5ed00be20eeabb2cf9195b3c/doc/source/examples/extended_examples/hpc/ml_ga_beam.py#L133-L142

@germa89 germa89 self-assigned this Aug 27, 2024
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

1 participant