diff --git a/docs/contents/getting_started/index.md b/docs/contents/getting_started/index.md index 3d6c01649..4152672df 100644 --- a/docs/contents/getting_started/index.md +++ b/docs/contents/getting_started/index.md @@ -62,6 +62,7 @@ $ cd pdfjs ### Prebuilt ``` +├── LICENSE ├── build/ │   ├── pdf.js - display layer │   └── pdf.worker.js - core layer @@ -108,6 +109,6 @@ $ cd pdfjs With the prebuilt or source version open `web/viewer.html` in a browser and the test pdf should load. Note: the worker is not enabled for file:// urls, so use a server. If you're using the source build and have node, you can run `node make server`. -## Examples +## More Information -For a further walkthrough of a minimal viewer see the [hello world example](/examples/). \ No newline at end of file +For a further walkthrough of a minimal viewer see the [hello world example](/examples/). More documentation can be found in our [wiki](https://github.com/mozilla/pdf.js/wiki) too. \ No newline at end of file diff --git a/docs/templates/layout.jade b/docs/templates/layout.jade index f8db5d50c..7f03f3aa1 100644 --- a/docs/templates/layout.jade +++ b/docs/templates/layout.jade @@ -31,6 +31,8 @@ html(lang='en') a(href=makeRelative(page.url, '/getting_started/')) Getting Started li(class=(page.url === '/examples/' ? 'active' : '')) a(href=makeRelative(page.url, '/examples/')) Examples + li + a(href='https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions') FAQ li(class=(page.url === '/api/' ? 'active' : '')) a(href=makeRelative(page.url, '/api/')) API diff --git a/make.js b/make.js index 3ba0da144..046166b81 100644 --- a/make.js +++ b/make.js @@ -118,6 +118,7 @@ target.generic = function() { defines: defines, copy: [ [COMMON_WEB_FILES, GENERIC_DIR + '/web'], + ['LICENSE', GENERIC_DIR], ['external/webL10n/l10n.js', GENERIC_DIR + '/web'], ['web/viewer.css', GENERIC_DIR + '/web'], ['web/compatibility.js', GENERIC_DIR + '/web'], @@ -199,7 +200,7 @@ target.dist = function() { cd(GENERIC_DIR); var distFilename = 'pdfjs-' + VERSION + '-dist.zip'; exec('zip -r ' + ROOT_DIR + BUILD_DIR + distFilename + ' *'); - echo('Built distrobution file: ' + distFilename); + echo('Built distribution file: ' + distFilename); cd(ROOT_DIR); };