Conversation
* Added export for PDFViewCtrl in index.d.ts * Fixed config.options.d.ts exports in index.d.ts * Added exports for the remainig interfaces within document_view.d.ts * Fixed error in document_view.d.ts
* Rect to include width and height optional properties * Annotation to include pageRect and screenRect optional properties
…into ts-typedocs
…into ts-typedocs
| # PDFTron React Native Wrapper | ||
|
|
||
| - [API](API.md) | ||
| - [API](https://raw.githack.com/PDFTron/pdftron-react-native/ts-typedocs-master/docs/index.html) |
There was a problem hiding this comment.
(Will change to pdftron.com once the docs are up).
docs/scripts/prettify/prettify.js
Outdated
| @@ -0,0 +1,496 @@ | |||
| var q = null; | |||
| window.PR_SHOULD_USE_CONTINUATION = !0; | |||
There was a problem hiding this comment.
can you explain how is prettify used?
There was a problem hiding this comment.
The JSDoc website states that:
By default, JSDoc's default template generates pretty-printed versions of your source files. It also links to these pretty-printed files in the documentation.
I believe that prettify.js is the file responsible for this. It looks that it has been replaced in the official JSDoc repo by the Prettier library, but active development of Docstrap probably ended before this change was made.
There was a problem hiding this comment.
i feel very uneasy to include source code of other third party software here, same with the icons, we should discuss them
| @@ -0,0 +1,288 @@ | |||
| <?xml version="1.0" standalone="no"?> | |||
There was a problem hiding this comment.
is the usage for all fonts/image resources copy-right permitted? where are these from?
There was a problem hiding this comment.
DocStrap is based off of Bootstrap. Within Bootstrap's components are the set of Glyphicons that you are seeing in the fonts folder. Boostrap states here that these glyphs are free to use.
- Also restore ts-typedocs scripts and dev dependencies
This update changes the way APIs will be documented in this repo. Instead of being written in
API.md, docs will now be written in the source files using JSDoc comments (see API documentation wiki for guide to creating/editing/publishing docs).Viewing docs This update allows HTML files to be generated for these docs. To see the doc files in your browser, click any
APIhyperlink in the README or click here.Generating docs locally To generate local doc files, run
npm startin the outer repo'sexamplefolder, then open these files in your browser to see any changes you made.Docs for users GitHub Actions will automatically generate docs in
master.Doc website template Currently we are using a forked version of DocStrap edited to work for this library.