Comment by tamnd
6 hours ago
Good news for you: here is the command to clone Apple Docs:
```bash bin/kage clone https://developer.apple.com/documentation/ \ --scope-prefix /documentation/ \ --out /Users/apple/data/apple-docs \ --chrome "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \ --max-pages 0 --max-depth 0 \ --workers 3 --browser-pages 3 --asset-workers 6 \ --render-timeout 60s --settle 2s --timeout 30s \ 2>&1 | tee -a /Users/apple/apple-docs.log ```
Adjust it to your needs :)
I smoke-tested it, and all the content and CSS work, but I stripped all the JS, so the sidebar won't work.
If you run into any problems, feel free to create new issues in the repo. It helps me prioritize and know what should be fixed.
No comments yet
Contribute on Hacker News ↗