Skip to content

Muscle modeling updates #40

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

Merged
merged 3 commits into from
Apr 24, 2025
Merged

Muscle modeling updates #40

merged 3 commits into from
Apr 24, 2025

Conversation

melund
Copy link
Member

@melund melund commented Apr 24, 2025

No description provided.

@melund melund requested a review from bkje14 as a code owner April 24, 2025 09:05
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @melund, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

Summary of Changes

This pull request updates the muscle modeling tutorial documentation. The primary change involves replacing the <img> tags with the Sphinx {image} directive for embedding images. This allows for better control over image attributes like alt text, alignment, and width, improving the accessibility and presentation of the tutorial. The changes affect the index page and lessons 1 through 7, ensuring a consistent image embedding approach throughout the documentation.

Highlights

  • Image Embedding: Replaced HTML <img> tags with Sphinx's {image} directive for embedding images in the documentation.
  • Image Attributes: Added alt text, alignment, and width attributes to images using the {image} directive for improved accessibility and presentation.
  • Consistency: Ensured a consistent image embedding approach across all lessons (1-7) in the muscle modeling tutorial.

Changelog

Click here to see the changelog
  • Muscle_modeling/index.md
    • Added a label for the Muscle Modeling section for internal referencing.
  • Muscle_modeling/intro.md
    • Replaced <img> tag with {image} directive for the introductory image.
    • Updated the reference to the AnyScript Reference Manual to include the full path (AnyBody->Help->AnyScript Reference).
  • Muscle_modeling/lesson1.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
  • Muscle_modeling/lesson2.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
  • Muscle_modeling/lesson3.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
  • Muscle_modeling/lesson4.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
  • Muscle_modeling/lesson5.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
    • Corrected a typo in lesson 5, changing 'maxmum' to 'maximum' in the description of the 'Activity' parameter.
  • Muscle_modeling/lesson6.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
    • Added a newline after the AnyScriptDoc code block.
  • Muscle_modeling/lesson7.md
    • Replaced <img> tags with {image} directives for all images in the lesson.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.


A tag of HTML's past,
Replaced by Sphinx, built to last.
Images aligned,
Details refined,
A clearer tutorial cast.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates the muscle modeling tutorials, primarily focusing on converting image references to a format compatible with the documentation system. This improves the clarity and maintainability of the documentation. The changes appear to be well-executed and contribute positively to the overall quality of the tutorials.

Merge Readiness

The pull request appears to be in good shape for merging. The changes primarily involve updating image references, which enhances the documentation's presentation. There are no identified critical or high severity issues. It is recommended that another reviewer also examines the changes before merging, as I am unable to directly approve the pull request.

@melund melund merged commit e874dee into master Apr 24, 2025
15 checks passed
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

Successfully merging this pull request may close these issues.

1 participant