Bug 1594925 - Ride along: Document how to import the doc from mdn r=ahal
authorSylvestre Ledru <sledru@mozilla.com>
Fri, 15 Nov 2019 21:03:16 +0000
changeset 502291 51ff4505135988dd5d10036c21d2c815bff30830
parent 502290 63815205b4125472179488e6bf2e1123a1414390
child 502292 9b475c5496bd4876466128b622788e72e801f402
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1594925
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1594925 - Ride along: Document how to import the doc from mdn r=ahal Differential Revision: https://phabricator.services.mozilla.com/D52274
tools/docs/docs/mdn-import.rst
new file mode 100644
--- /dev/null
+++ b/tools/docs/docs/mdn-import.rst
@@ -0,0 +1,12 @@
+Importing documentation from MDN
+--------------------------------
+
+Fortunatelly, there is an easy way to import the doc from MDN
+to the firefox source docs.
+
+1. Install https://pandoc.org/
+
+2. Add a ``?raw=1`` add the end of the MDN URL
+
+3. Run pandoc the following way:
+   ``pandoc -t rst https://wiki.developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation\?raw\=1  > my-file.rst``