-
Notifications
You must be signed in to change notification settings - Fork 0
docs: rewrite image paths to jsDelivr CDN, add VS Code setup screenshots #1
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
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
26e33cf
docs: rewrite image paths to jsDelivr CDN, add VS Code setup screenshots
fyq163 b3ffbc4
docs: rewrite image paths to jsDelivr CDN, add VS Code setup screenshots
fyq163 3b6beb5
Merge branch 'docs/ide-setup-cdn-images' of github.com:fyq163/python-…
fyq163 cdc72e6
rebuild html
fyq163 2257cd4
docs(installation): add package verification step with conda list / u…
fyq163 c286fc2
update image url; renew pycharm docs
fyq163 89c4098
Merge branch 'docs/ide-setup-cdn-images' of github.com:fyq163/python-…
fyq163 a773969
recover url from cdn
fyq163 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,4 +3,5 @@ hku-logo-xs.png | |
| .workspace/ | ||
| .codebuddy/ | ||
| .vscode | ||
| .idea | ||
| .idea | ||
| assets/.DS_Store | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| # 2026-08-10 — conda-first install guide + git recovery incident | ||
|
|
||
| ## Project | ||
| `python-setup-moodle` — beginner Python install tutorial (English prose, Chinese UI chat). | ||
| Convention (AGENTS.md): emoji callouts (📝💡⚠️❗) instead of GitHub alert syntax; no authoring | ||
| instructions in reader-facing `.md`; commands split per OS, no copyable `$`. | ||
|
|
||
| ## install guide content decisions (this session) | ||
| - Reorder: **conda first (Method A, most recommended)**, **uv second (Method B)**, standalone third. | ||
| - Anaconda vs Miniconda: documented as two conda distributions (differ only in pre-installed | ||
| packages; full Anaconda ~3GB, Miniconda minimal). "conda" command identical for both. | ||
| - Install now requires **concrete versions** (not "latest"). Anaconda example Anaconda3-2026.07-1. | ||
| - Course env = **`mffintech`** (cloned from base): out-of-box Python 3.14.6 / NumPy 2.4.6 / | ||
| pandas 3.0.3 / PyArrow 23.0.1 / pytest 9.0.3 / JupyterLab 4.5.9. Extra: duckdb=1.5.4, | ||
| polars=1.43.2, yfinance=1.5.2. | ||
| - **conda rule:** prefer `conda install` over `pip` inside conda envs (pip pkgs invisible to conda). | ||
| - uv: must `cd` into project before `uv pip install`/`uv run` or it pollutes `~/.venv` in home. | ||
| - Section order: test → Run your first program → **How to debug** (debug moved to very end). | ||
|
|
||
| ## ⚠️ GIT REPO IS FRAGILE — read before any git op | ||
| - During a PR attempt the repo got corrupted. `main` ref now = `08aa301` (origin/base, the | ||
| published Aug-5 version). `HEAD` currently points to branch `docs/ide-setup-cdn-images`. | ||
| - A dangling root commit `0235d60` exists but its tree is broken at the `pages` subtree | ||
| (object `ad15a881` missing) → cannot extract files from it. | ||
| - Loose blob `477f05` = an *intermediate* installation.md (has conda-first + 📝 note, but | ||
| missing mffintech/pkg-table/conda-install/Miniconda-links/heading-restructure/uv-warning). | ||
| - **Do NOT run `git commit`/`checkout -f`/`switch` casually here** — earlier a `checkout -f main` | ||
| reverted installation.md, virtual-environment.md AND AGENTS.md to base (lost all our edits). | ||
|
|
||
| ## Recovery status (end of session) | ||
| - `pages/installation.md`: **REBUILT** (conda-first, mffintech env, pkg table, conda-install | ||
| pref, Miniconda links, heading restructure, uv cd warning, debug-at-end). NOT touched again. | ||
| - `pages/virtual-environment.md`: **REBUILT this turn** (full Write). Re-ordered conda+Channels | ||
| BEFORE uv; added Anaconda vs Miniconda comparison table; fixed Channels to "prefer conda | ||
| install over pip"; added uv `requirements.txt` 2nd method + cd warning; ending 💡 now | ||
| recommends **conda (Miniconda)**. | ||
| - `AGENTS.md`: **REBUILT this turn** (3 Edits). "why conda is preferred (uv as fast | ||
| alternative)"; conda listed before uv; "specific, concrete versions" (no "latest"); with | ||
| conda split into **Anaconda + Miniconda** two distributions, each with verified install-doc | ||
| URLs (mac-cli-install / windows-cli-install / linux-install). | ||
| - Verified Anaconda install-doc URLs via WebFetch: mac-cli-install ✓, windows-cli-install ✓, | ||
| linux-install ✓. (mac-os-install / mac-install / windows-install all 404.) | ||
| - Temp/backup files created during recovery were deleted; `.bak.tar.gz` removed. |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.