Commit Graph

23 Commits

Author SHA1 Message Date
Jonas Jenwald
5e88228767 Allow, optionally, using worker-modules during local development
Until PR 12563 is deemed safe to land, I'd still like to be able to use worker-modules in the viewer during local development.
Hence this patch which *temporarily* adds a new `workerModules` hash-parameter, only available in non-PRODUCTION mode, that allows using worker-modules in the development viewer.

To enable this functionality, simply use http://localhost:8888/web/viewer.html#workerModules=true
2023-01-31 12:09:44 +01:00
Jonas Jenwald
c1c78f9e8c Reference supported browsers Wiki-page in more README files
I've just updated https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support to hopefully provide better support data, and it cannot hurt to explicitly link that from a couple of places.
2022-09-23 11:06:47 +02:00
Jonas Jenwald
ab55071568 Remove the JSDocs "External: Promise"-page, since Promises are now a standard feature
The "External: Promise"-page in the JSDocs pre-dates the introduction of `Promise`s, as a generally available standard JS feature, by a number of years. Hence it now longer seems necessary, as far as I can tell, to include this "special" page in the documentation.

Also, while unrelated to the rest of the patch, updates the `test/`-folder description in the documentation.
2022-02-26 23:53:11 +01:00
Tim van der Meij
378c08a9b1
Drop the beta logic from the Gulpfile/website/pdfjs.config file
From now on we only make stable releases, so the beta logic should be
removed to simplify the code.
2022-01-02 14:38:36 +01:00
Jonas Jenwald
13dbbdcfb0 Remove the -es5/-legacy special handling in the gulp wintersmith task (PR 12978 follow-up)
With the stable version now being `2.8.335`, this work-around is no longer necessary.
2021-05-30 16:08:54 +02:00
Jonas Jenwald
0068dba009 [api-minor] Rename -es5 to -legacy, to reduce confusion over what's actually supported (issue 12976)
*Please note that this will also require some edits of the Wiki.*
2021-02-10 16:01:59 +01:00
Jonas Jenwald
abd2346e2a Put less emphasis on "ES5"/"ES6" in the README and other documentation
- Don't explicitly mention "ES5" in https://mozilla.github.io/pdf.js/getting_started/#download, since that's no longer accurate. As-is, this will more than likely give users the wrong impression regarding our *actual* browser support.

 - Reword the "Getting the Code"-section of the README, since an ES6-compatible browser is no longer sufficient for development purposes given our usage of modern ECMAScript features.

 - Update the "Building PDF.js"-section of the README, to explicitly mention both the `gulp generic` and `gulp generic-es5` commands.

Hopefully this will help reduce *some* user confusion, but we should perhaps also consider changing the "-es5"-suffix in our build-scripts and build-folders. (That would however require coming up with a "better" suffix, which might not be trivial.)
2021-01-19 13:02:02 +01:00
Tim van der Meij
a98b81f8ae
Bump versions in pdfjs.config and update the getting started page of the website for the new release 2020-06-01 12:45:04 +02:00
Tim van der Meij
1bca1e3823
Update the getting started page of the website for the new release 2020-03-19 23:07:45 +01:00
Jonas Jenwald
c97c778f8f [api-minor] Produce non-translated/non-polyfilled builds by default 2020-02-14 18:12:07 +01:00
Christophe Coevoet
4e79404d4b
Fix the link in the doc website
Markdown syntax is not parsed inside an HTML table.
2019-09-19 18:03:40 +02:00
Tim van der Meij
be3defdd94
Switch to HTTPS for the license link on the website
Moreover, fix a small oversight in how the file tree is rendered.
2019-01-05 15:35:17 +01:00
Tim van der Meij
f32dcbc089
Improve the file layout overview on the website
Mention only the relevant files/folders and update the overview to match
the current file trees.

Fixes #10384.
2019-01-05 15:20:50 +01:00
Tim van der Meij
2b5bc6bcec
Hide the beta version button on the website if there is only a stable version 2018-10-27 20:57:01 +02:00
SehyunRyanPark
0882288cdf
Update index.md
adding commas each in two sentences in order to make readers fully understand when reading index.md and to organize the context properly based on grammatical rules.
2017-11-20 21:47:19 +09:00
Lukas Drgon
c2f1ff48d5 Add CDN link
Add CDN link

Add Popular CDNs

Add popular CDNs (site)

Moving section
2017-10-02 22:14:06 +02:00
Jonas Jenwald
b048b65e7b Remove any mention of compatibility.js from the "Getting Started" docs (issue 8818)
*With PR 8102, `compatibility.js` is now bundled directly into `pdf.js` and `pdf.worker.js`.*

Fixes 8818.
2017-08-24 13:08:55 +02:00
Jonas Jenwald
957dc40ddf Replace a couple of leftover make.js references with gulpfile.js in docs/comments
Also updates a `console.log` statement in the `gulp importl10n` command (since I forgot it in a previous patch, and it didn't seem necessary with a separate patch for it).
2017-05-19 23:45:54 +02:00
Tim van der Meij
b8aaa24257 Convert all node make instances to gulp 2016-03-04 20:30:36 +01:00
Tim van der Meij
523fde764b Update README.md with shorter clone command and improved instruction order 2015-05-08 21:31:12 +02:00
Yury Delendik
d17d91e1f8 Removes incorrect examples link 2014-04-11 15:10:43 -05:00
Tim van der Meij
8e98c47757 Fixes broken link in the documentation 2014-04-11 21:26:09 +02:00
Brendan Dahl
3ce622a106 Redo and add more documentation to gh-pages. 2014-04-10 10:01:51 -07:00