Results 1 to 4 of 4

Thread: Offline docs for 6.0?

  1. #1
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    735
    Answers
    10

    Default Answered: Offline docs for 6.0?

    I know this subject has been beaten to death for previous versions of Ext and the answer was always "jsduck". I have now tried running jsduck 5.3.4 (latest available from the gem repos) and it produces errors on every all-debug file I have tried. The line jsduck complains about looks perfectly fine to me.

    I now read that jsduck is no longer the preferred way to generate docs (https://www.sencha.com/forum/showthread.php?301050). My question is thus simply - how can I get/generate offline docs?!?

    Code:
    [email protected] ~/Desktop/ext-6.0.0 $ jsduck --builtin-classes build/ext-all-debug.js --output ../docs-6.0.0
    Error: Error while parsing /home/msa/Desktop/ext-6.0.0/build/ext-all-debug.js: Invalid JavaScript syntax: Unexpected '
                                ' on line 40720
    
    Here's a full backtrace:
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/js/parser.rb:24:in `parse'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/parser.rb:44:in `parse_js_or_css'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/parser.rb:30:in `parse'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/batch_parser.rb:25:in `block in parse'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:339:in `call'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:339:in `call_with_index'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:268:in `process_incoming_jobs'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:251:in `block in worker'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:244:in `fork'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:244:in `worker'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:232:in `block in create_workers'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:231:in `each'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:231:in `create_workers'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:195:in `work_in_processes'
    /var/lib/gems/1.9.1/gems/parallel-0.7.1/lib/parallel.rb:106:in `map'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/util/parallel.rb:28:in `map'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/batch_parser.rb:17:in `parse'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/app.rb:41:in `parse'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/lib/jsduck/app.rb:21:in `run'
    /var/lib/gems/1.9.1/gems/jsduck-5.3.4/bin/jsduck:25:in `<top (required)>'
    /usr/local/bin/jsduck:23:in `load'
    /usr/local/bin/jsduck:23:in `<main>'

  2. Hi--

    You should be able to download the offline versions here:

    https://docs.sencha.com/extjs/6.0/

    If you expand the "Ext JS Guides" at the top, you'll see links for the offline versions (see screenshot below).


    Attachment 53127

    Thanks!
    Joel

  3. #2
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Hi--

    You should be able to download the offline versions here:

    https://docs.sencha.com/extjs/6.0/

    If you expand the "Ext JS Guides" at the top, you'll see links for the offline versions (see screenshot below).


    Offline.png

    Thanks!
    Joel

  4. #3
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    735
    Answers
    10

    Default

    Cool - thanks!
    (I wouldn't have found that in a million years....)

  5. #4
    Sencha User joel.watson's Avatar
    Join Date
    Nov 2014
    Posts
    3,120
    Answers
    446

    Default

    Sure thing, happy to help!

    Thanks
    Joel

Similar Threads

  1. Offline ExtJS 5 API and docs
    By ssamayoa in forum Ext 5: Q&A
    Replies: 2
    Last Post: 23 Nov 2015, 3:04 PM
  2. Where is Cmd 5.0 Offline Docs link?
    By koutsenko in forum Sencha Cmd
    Replies: 2
    Last Post: 9 Sep 2014, 10:21 PM
  3. Beta 1 API docs offline?
    By rstuart in forum Ext: Discussion
    Replies: 2
    Last Post: 6 Apr 2011, 5:30 AM
  4. Offline docs
    By soso in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 8 Mar 2007, 3:05 AM
  5. Docs offline?
    By corey.gilmore in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 21 Feb 2007, 3:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •