How can one download Mozilla's developer's documentation for offline reading?
Asked Answered
B

3

6

Until recently, one could conveniently download Mozilla's developer's documentation, developer.mozilla.org.tar.gz, for offline reading. However, Mozilla seems to have upgraded the documentation to a new, SQL-based format, abandoning the old TAR.GZ.

One does not doubt that such an upgrade is good, but I do not understand the upgrade, so now I am confused. How should I now read Mozilla's developer's documentation offline?

REFERENCES

Beller answered 8/9, 2014 at 13:21 Comment(2)
I'm interested in the correct answer, but my guess is that they intend it to be viewed using one of the two programs under the "Third Party Tools" heading, from your second link. Can anyone verify?Filicide
possible duplicate of MDN javascript docs for offline useInharmonic
C
1

Below seems dead, here's how to do as of https://kapeli.com/mdn_offline (mentioned by deleted answer below):

Offline MDN Docs

You can download the MDN docs using the table below. Before downloading, please consider using a documentation browsing app like Dash (macOS), Velocity (Windows) or Zeal (Linux) instead. These apps will help you get the most out of the docs, by providing a search index and quick access to everything you need.

CSS.tgz 1 December 2020 HTML.tgz 1 December 2020 JavaScript.tgz 1 December 2020 Note: Includes DOM docs SVG.tgz 1 December 2020


It is advertised.

https://developer.mozilla.org/en-US/docs/MDN/About#Downloading_content states

Downloading content

You can download a full tarball mirror of MDN.

Coelenteron answered 9/2, 2016 at 12:33 Comment(2)
Both download links are dead. I tried to download the page with wget -m -K -E -k -p -r -np -v developer.mozilla.org/en-US/docs/Web but downloaded links seem to be broken, and it does not finish within 3 days, therefore I stopped.Robbert
@NikolaiEhrhardt : seems to work with Pauls' answerCoelenteron
B
4

At this writing, one can still download from the apparently unadvertised URL https://developer.mozilla.org/media/developer.mozilla.org.tar.gz. Whether Mozilla will retain this unadvertised option, or eventually retire it, I do not know.

Beller answered 10/9, 2014 at 18:19 Comment(1)
Not working anymore. October 2023.Folksy
Y
2

MDN content available on github https://github.com/mdn/content

  1. clone github repository git clone https://github.com/mdn/content
  2. cd content
  3. install yarn if not installed npm install -g yarn on linux sudo npm install -g yarn
  4. execute yarn install
  5. execute yarn start
  6. navigate to http://localhost:5000 using your favorite web browser

for more details read https://github.com/mdn/content/blob/main/README.md

Yulandayule answered 27/12, 2020 at 17:8 Comment(5)
I get this error: 00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'start', yarn --version 0.32+git, Installed with apt-get install yarn on ubuntu 20.04Robbert
This will help: #53471563Robbert
I didn't notice this is a 6 year old question, I suppose this is relevant now since the introduction of MDN YariDefunct
I install sudo apt-get install yarnpkg and tried yarnpkg start, but node module had to old version. I upgraded with this guide: itzgeek.com/post/how-to-install-node-js-on-ubuntu-20-04/…, but I still got error on yarnpkg start: internal/modules/cjs/loader.js:883 throw err; ^Error: Cannot find module 'babel-runtime/helpers/asyncToGenerator'Robbert
Try to execute yarn install to install required packagesYulandayule
C
1

Below seems dead, here's how to do as of https://kapeli.com/mdn_offline (mentioned by deleted answer below):

Offline MDN Docs

You can download the MDN docs using the table below. Before downloading, please consider using a documentation browsing app like Dash (macOS), Velocity (Windows) or Zeal (Linux) instead. These apps will help you get the most out of the docs, by providing a search index and quick access to everything you need.

CSS.tgz 1 December 2020 HTML.tgz 1 December 2020 JavaScript.tgz 1 December 2020 Note: Includes DOM docs SVG.tgz 1 December 2020


It is advertised.

https://developer.mozilla.org/en-US/docs/MDN/About#Downloading_content states

Downloading content

You can download a full tarball mirror of MDN.

Coelenteron answered 9/2, 2016 at 12:33 Comment(2)
Both download links are dead. I tried to download the page with wget -m -K -E -k -p -r -np -v developer.mozilla.org/en-US/docs/Web but downloaded links seem to be broken, and it does not finish within 3 days, therefore I stopped.Robbert
@NikolaiEhrhardt : seems to work with Pauls' answerCoelenteron

© 2022 - 2024 — McMap. All rights reserved.