Skip to content

Conversation

@az108
Copy link
Contributor

@az108 az108 commented Dec 4, 2025

Checklist

General

Motivation and Context

We want to migrate to the new documentation https://ls1intum.github.io/Artemis/ from https://artemis-platform.readthedocs.io/en/latest/index.html to provide a more modern and user friendly access to additional information around Artemis.

Description

  • Migrating the Integrated Code Lifecycle section to the new documentation
    • Splitting it into the Student and Instructor documentation
    • Simplifying explanations and making them more user friendly (less text, more bullet points)
    • Removing that part from the old documentation and linking to the new documentation

Steps for Testing

Run npm install and npm start in the /documentation folder

  1. Verify http://localhost:3000/Artemis/student/integrated-code-lifecycle is clear and understandable
  2. Verify http://localhost:3000/Artemis/instructor/integrated-code-lifecycle is clear and understandable
  3. Verify you are not missing information that you think would be required

Review Progress

Manual Tests

  • Test 1

Summary by CodeRabbit

  • Documentation
    • Restructured Integrated Code Lifecycle documentation with dedicated guides for students and instructors, replacing previous consolidated documentation
    • Migrated content to a new format with improved organization, visual elements, and comprehensive step-by-step instructions
    • Updated documentation navigation and sidebar to direct users to appropriate student or instructor sections

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 4, 2025

Walkthrough

The PR migrates Integrated Code Lifecycle documentation from Sphinx/reStructuredText format to MDX format. Student-focused content is consolidated into documentation/docs/student/integrated-code-lifecycle.mdx and instructor-focused content into documentation/docs/instructor/integrated-code-lifecycle.mdx. The original Sphinx documentation files are removed, and the main integration point is updated to reference the new locations via sidebar configuration updates.

Changes

Cohort / File(s) Summary
Deleted Sphinx documentation
docs/user/icl/general.rst, docs/user/icl/local-vc-authentication.inc, docs/user/icl/local-vc-repository-view.inc, docs/user/icl/local-version-control.rst, docs/user/icl/local-ci-build-agent-view.inc, docs/user/icl/local-ci-build-queue-view.inc, docs/user/icl/local-continuous-integration.rst, docs/user/icl/ssh-intro.rst, docs/user/icl/ssh-add-key-to-artemis.rst, docs/user/icl/ssh-key-creation.rst
Removed all reStructuredText and include files covering ICL general information, local version control authentication, repository views, continuous integration views, and SSH key management.
Updated Sphinx index
docs/user/integrated-code-lifecycle.rst
Replaced content with Student Guide and Instructor Guide headings pointing to external documentation URLs; removed prior toctree and subsection references.
New MDX documentation
documentation/docs/student/integrated-code-lifecycle.mdx, documentation/docs/instructor/integrated-code-lifecycle.mdx
Added comprehensive student and instructor guides covering Local Version Control, authentication mechanisms, repository operations, SSH key management, CI build agent views, and build queue management with embedded images and video references.
Sidebar configuration
documentation/sidebar-students.ts, documentation/sidebar-instructors.ts
Added 'integrated-code-lifecycle' entry to default sidebar arrays for both student and instructor documentation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

  • Most changes are straightforward documentation deletions and reorganization
  • Sidebar configuration changes are minimal array additions
  • Content migration is documentation-only with no API or logic changes
  • Areas requiring attention: Verify that image and video asset references in new MDX files are correctly resolved; confirm that external URL references in the updated docs/user/integrated-code-lifecycle.rst point to appropriate documentation locations

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: migrating integrated code lifecycle documentation from the old Read the Docs site to the new documentation site.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/general/migrate-integrated-code-lifecycle-documentation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
documentation/docs/student/integrated-code-lifecycle.mdx (1)

84-84: Consider using "dropdown" as a single hyphenated word.

The phrase "code button drop down" should be "code button dropdown" for consistency with standard UI terminology.

Apply this diff:

-Admins can configure which mechanisms should be available for users, and the order in which they appear in the code button drop down, as described in the Artemis configuration.
+Admins can configure which mechanisms should be available for users, and the order in which they appear in the code button dropdown, as described in the Artemis configuration.
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6f99517 and 5a51efa.

⛔ Files ignored due to path filters (19)
  • documentation/docs/instructor/assets/integrated-code-lifecycle/build-agent-details.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/build-agent-summary.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/buildQueueCourseManagement.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/buildQueueSystemAdministration.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/course-management-repositories.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/finished-build-jobs.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/open-repository-button.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/open-repository-instructor-participations.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/queued-build-jobs.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/instructor/assets/integrated-code-lifecycle/running-build-jobs.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/add-vcs-access-token.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/code-button-extended-authentication.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/commit-diff-view.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/commit-history-view.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/current-repository-content-view.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/open-repository-button.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/open-repository-student.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/open-settings.png is excluded by !**/*.png, !**/*.png
  • documentation/docs/student/assets/integrated-code-lifecycle/ssh-add-public-key.png is excluded by !**/*.png, !**/*.png
📒 Files selected for processing (15)
  • docs/user/icl/general.rst (0 hunks)
  • docs/user/icl/local-ci-build-agent-view.inc (0 hunks)
  • docs/user/icl/local-ci-build-queue-view.inc (0 hunks)
  • docs/user/icl/local-continuous-integration.rst (0 hunks)
  • docs/user/icl/local-vc-authentication.inc (0 hunks)
  • docs/user/icl/local-vc-repository-view.inc (0 hunks)
  • docs/user/icl/local-version-control.rst (0 hunks)
  • docs/user/icl/ssh-add-key-to-artemis.rst (0 hunks)
  • docs/user/icl/ssh-intro.rst (0 hunks)
  • docs/user/icl/ssh-key-creation.rst (0 hunks)
  • docs/user/integrated-code-lifecycle.rst (1 hunks)
  • documentation/docs/instructor/integrated-code-lifecycle.mdx (1 hunks)
  • documentation/docs/student/integrated-code-lifecycle.mdx (1 hunks)
  • documentation/sidebar-instructors.ts (1 hunks)
  • documentation/sidebar-students.ts (1 hunks)
💤 Files with no reviewable changes (10)
  • docs/user/icl/local-ci-build-queue-view.inc
  • docs/user/icl/local-vc-repository-view.inc
  • docs/user/icl/general.rst
  • docs/user/icl/ssh-key-creation.rst
  • docs/user/icl/local-continuous-integration.rst
  • docs/user/icl/local-version-control.rst
  • docs/user/icl/ssh-add-key-to-artemis.rst
  • docs/user/icl/local-vc-authentication.inc
  • docs/user/icl/local-ci-build-agent-view.inc
  • docs/user/icl/ssh-intro.rst
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2024-10-08T15:35:42.972Z
Learnt from: magaupp
Repo: ls1intum/Artemis PR: 8802
File: src/main/resources/templates/rust/exercise/src/context.rs:1-1
Timestamp: 2024-10-08T15:35:42.972Z
Learning: Code inside the `exercise` directories in the Artemis platform is provided to students and is intended for them to implement. TODO comments in these directories are meant to guide students and should not be addressed in the PR.

Applied to files:

  • docs/user/integrated-code-lifecycle.rst
🪛 LanguageTool
documentation/docs/student/integrated-code-lifecycle.mdx

[grammar] ~84-~84: Use a hyphen to join words.
Context: ...hich they appear in the code button drop down, as described in the Artemis config...

(QB_NEW_EN_HYPHEN)


[style] ~87-~87: The phrase ‘have the ability to’ might be wordy. Consider using “can”.
Context: ...button dialog. Instructors additionally have the ability to create an access token, with the abilit...

(HAS_THE_ABILITY_TO)


[style] ~236-~236: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing.
Context: ...chine you want to connect to. When you want to connect, your SSH client sends a reques...

(REP_WANT_TO_VB)


[style] ~337-~337: Reusing ‘You’ could be redundant. Try omitting the pronoun.
Context: [email protected] ``` 5. You're done and you can now add your key to Artemis. ### Creat...

(SUBJECT_DROP)


[style] ~415-~415: Reusing ‘You’ could be redundant. Try omitting the pronoun.
Context: ...mis@homemac ~ % ``` 4. You're done and you can now add your key to Artemis. --- ## U...

(SUBJECT_DROP)

documentation/docs/instructor/integrated-code-lifecycle.mdx

[style] ~109-~109: The phrase ‘have the ability to’ might be wordy. Consider using “can”.
Context: ...oved from the queue in real-time. Users have the ability to cancel any job in progress. The table p...

(HAS_THE_ABILITY_TO)


[uncategorized] ~124-~124: Do not mix variants of the same word (‘cancelled’ and ‘canceled’) within a single text.
Context: ...d, with or without a result, failed, or cancelled. Information about finished build jobs ...

(EN_EXACT_COHERENCY_RULE)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (10)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: Build and Push Docker Image / Build linux/amd64 Docker Image for ls1intum/artemis
  • GitHub Check: Build and Push Docker Image / Build linux/arm64 Docker Image for ls1intum/artemis
  • GitHub Check: Build .war artifact
  • GitHub Check: client-tests
  • GitHub Check: client-style
  • GitHub Check: server-tests
  • GitHub Check: server-style
  • GitHub Check: Analyse
  • GitHub Check: Mend Security Check
🔇 Additional comments (9)
docs/user/integrated-code-lifecycle.rst (1)

6-16: LGTM! Clean migration approach.

The redirect stubs are well-structured and provide clear pointers to the new documentation locations for both student and instructor guides.

documentation/sidebar-students.ts (1)

10-10: LGTM!

The sidebar entry is correctly added to expose the new student Integrated Code Lifecycle documentation.

documentation/sidebar-instructors.ts (1)

9-9: LGTM!

The sidebar entry is correctly added to expose the new instructor Integrated Code Lifecycle documentation.

documentation/docs/student/integrated-code-lifecycle.mdx (4)

1-37: LGTM!

The frontmatter, imports, and introductory content are well-structured and provide a clear overview of the Integrated Code Lifecycle components.


184-263: LGTM!

The VCS tokens and SSH introduction sections provide clear, comprehensive guidance for students. The explanations are accessible and well-structured.


267-416: LGTM!

The SSH key creation instructions are comprehensive and provide clear step-by-step guidance for Windows, Linux, and macOS users. The examples and command outputs are helpful for verification.


419-469: LGTM!

The instructions for adding SSH keys to Artemis and using them for repository operations are clear and well-documented with platform-specific examples.

documentation/docs/instructor/integrated-code-lifecycle.mdx (2)

1-52: LGTM!

The frontmatter, imports, and Continuous Integration overview provide a solid foundation for the instructor documentation. The CI concepts are explained clearly.


139-152: LGTM!

The Local Version Control section for instructors provides clear instructions on accessing student and exercise repositories with helpful visual references.

@github-project-automation github-project-automation bot moved this from Work In Progress to Ready For Review in Artemis Development Dec 4, 2025
@github-actions
Copy link

github-actions bot commented Dec 4, 2025

End-to-End (E2E) Test Results Summary

TestsPassed ☑️Skipped ⚠️Failed ❌️Time ⏱
End-to-End (E2E) Test Report218 ran214 passed3 skipped1 failed1h 1m 7s 608ms
TestResultTime ⏱
End-to-End (E2E) Test Report
e2e/exercise/programming/ProgrammingExerciseParticipation.spec.ts
ts.Programming exercise participation › Programming exercise team participation › Check team participation › Instructor checks the participation❌ failure7s 869ms

Copy link

@LuisL02 LuisL02 left a comment

Choose a reason for hiding this comment

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

Tested the changes locally. The docs work as expected and are easy to understand.

Small remark: Formatting in this section

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Ready For Review

Development

Successfully merging this pull request may close these issues.

3 participants