Skip to content

Conversation

@adamtheturtle
Copy link

@adamtheturtle adamtheturtle commented Dec 5, 2025

This fixes many of the issues which come up when running uv run --with="doccmd==2025.12.5" --with ruff doccmd --verbose --language=py --language=python --mdx-extension=.md --mdx-extension=.mdx --myst-extension=. --command="ruff check --quiet" **/*.md


Note

Standardizes code fences, adds doccmd grouping markers, and makes small Python example fixes across Academy and Proxy docs.

  • Academy (Python tutorials):
    • Add <!-- group doccmd[all]: start/end --> around major code samples.
    • Change requirements.txt blocks from py to text; use pycon for REPL snippets.
    • Minor content/code tweaks (e.g., printing httpx.__version__).
  • Getting started: apify_client.md:
    • Fix Python example to assign call result to run and reference run['defaultDatasetId'].
  • Webscraping (JavaScript basics):
    • Use pycon for floating-point demonstration.
  • Webscraping (Python basics):
    • Add grouping markers; adjust sample outputs to text; refine code blocks for clarity.
  • Proxy: datacenter_proxy.md:
    • Split combined imports (import requests, asyncio) into separate lines for Python examples.

Written by Cursor Bugbot for commit b90a58c. Configure here.

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