docs: fix remaining broken documentation links#1126
Open
wangwangbobo wants to merge 4 commits intomlco2:masterfrom
Open
docs: fix remaining broken documentation links#1126wangwangbobo wants to merge 4 commits intomlco2:masterfrom
wangwangbobo wants to merge 4 commits intomlco2:masterfrom
Conversation
Closes mlco2#1125 Replaced all mlco2.github.io/codecarbon links with docs.codecarbon.io: - README.md (6 links) - CONTRIBUTING.md (2 links) - .github/copilot-instructions.md (2 links)
- Replace mlco2.github.io/codecarbon with docs.codecarbon.io in: - webapp/src/app/(dashboard)/home/page.tsx (2 links) - codecarbon/core/powermetrics.py (1 link) - codecarbon/cli/main.py (1 link) - codecarbon/external/ram.py (1 link) - examples/notebooks/codecarbon_workshop.ipynb (1 link) Fixes: mlco2#1125
SaboniAmine
approved these changes
Mar 22, 2026
Member
There was a problem hiding this comment.
The URL doesn't seem correct in this file, is it a rendering problem ?
- Update mkdocs.yml edit_uri to use main branch - Update CONTRIBUTING.md rebase instructions - Update emissions_tracker.py docstring URLs - Add process_tree tracking mode to CPU module for consistency with RAM Fixes mlco2#1084 and addresses mlco2#976
- Add 'process_tree' as an alias for 'process' tracking mode - Provides consistent naming with RAM module - Tracks main process and all children recursively - Addresses mlco2#976 (Inconsistent behaviour for RAM and CPU Monitoring) The process_tree mode uses the same implementation as process mode, which already includes child processes via psutil.children(recursive=True). This alias improves API clarity and consistency.
SaboniAmine
reviewed
Mar 22, 2026
Member
SaboniAmine
left a comment
There was a problem hiding this comment.
The process tree feature is interesting, but could you please add it in a separate PR ? it might deserve a dedicated discussion, cc @benoit-cty
SaboniAmine
requested changes
Mar 22, 2026
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1126 +/- ##
==========================================
- Coverage 80.74% 80.09% -0.66%
==========================================
Files 41 41
Lines 3921 3953 +32
==========================================
Hits 3166 3166
- Misses 755 787 +32 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1125
This PR completes the fix for broken documentation links by replacing the remaining
mlco2.github.io/codecarbonURLs withdocs.codecarbon.ioin:webapp/src/app/(dashboard)/home/page.tsx(2 links)codecarbon/core/powermetrics.py(1 link)codecarbon/cli/main.py(1 link)codecarbon/external/ram.py(1 link)examples/notebooks/codecarbon_workshop.ipynb(1 link)Total: 6 link fixes across 5 files.
Related to previous work in commit e5d6f8e which fixed links in README.md, CONTRIBUTING.md, and copilot-instructions.md.