Commit c60c2f8d authored by Nick Poulden's avatar Nick Poulden
Browse files

Updates for view

parent 83775a74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,8 +74,8 @@ def run_jsduck_export(extra_options, ext_dir)
  rev = `git rev-parse HEAD`.slice(0, 7)

  run_jsduck([
    "--title", "Ext JS 4.0.2 API Documentation",
    "--footer", "ExtJS 4.0.2 Documentation from Sencha. Generated with <a href='https://github.com/nene/jsduck'>JSDuck</a> revison #{rev}",
    "--title", "Ext JS 4.0.2a API Documentation",
    "--footer", "ExtJS 4.0.2a Documentation from Sencha. Generated with <a href='https://github.com/nene/jsduck'>JSDuck</a> revison #{rev}",
    "--extjs-path", "extjs/ext-all.js",
    "#{SDK_DIR}/extjs/src",
    "#{SDK_DIR}/platform/src",
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ module JsDuck
      @show_private_classes = false
      @title = "Ext JS API Documentation"
      @footer = 'Generated with <a href="https://github.com/nene/jsduck">JSDuck</a>.'
      @extjs_path = "extjs/ext-all-debug.js"
      @extjs_path = "extjs/ext-debug.js"
      @append_html = ""
      @timer = Timer.new
      @parallel = ParallelWrap.new
+2 −0
Original line number Diff line number Diff line
Ext.ns("Docs");

Ext.Loader.setConfig({
    enabled: true,
    paths: {
+5 −0
Original line number Diff line number Diff line
@@ -14,6 +14,11 @@ Ext.define('Docs.Application', {
        'Docs.Settings'
    ],

    uses: [
        'Ext.util.History',
        'Ext.data.JsonP'
    ],

    controllers: [
        'Classes',
        'Search'
+30 −30
Original line number Diff line number Diff line
@@ -149,36 +149,36 @@ Ext.define('Docs.view.Viewport', {
                                region: 'center',
                                xtype: 'classtree',
                                padding: '5 10 0 10',
                                margin: '0 5 10 0',
                                root: Docs.classData,
                                dockedItems: [{
                                    xtype: 'toolbar',
                                    baseCls: null,
                                    dock: 'top',
                                    padding: '0 0 5 0',
                                    items: [
                                        {
                                            xtype: 'button',
                                            text: 'Sort by Package',
                                            menu: [
                                                { text: 'by Category' },
                                                { text: 'by Hierarchy' },
                                                { text: 'by Popularity' }
                                            ]
                                        },
                                        { xtype: 'tbfill'},
                                        {
                                            xtype: 'button',
                                            iconCls: 'expandAllMembers',
                                            tooltip: "Expand all"
                                        },
                                        {
                                            xtype: 'button',
                                            iconCls: 'collapseAllMembers',
                                            tooltip: "Collapse all"
                                        }
                                    ]
                                }]
                                margin: '0 5 2 0',
                                root: Docs.classData
                                // dockedItems: [{
                                //     xtype: 'toolbar',
                                //     baseCls: null,
                                //     dock: 'top',
                                //     padding: '0 0 5 0',
                                //     items: [
                                //         {
                                //             xtype: 'button',
                                //             text: 'Sort by Package',
                                //             menu: [
                                //                 { text: 'by Category' },
                                //                 { text: 'by Hierarchy' },
                                //                 { text: 'by Popularity' }
                                //             ]
                                //         },
                                //         { xtype: 'tbfill'},
                                //         {
                                //             xtype: 'button',
                                //             iconCls: 'expandAllMembers',
                                //             tooltip: "Expand all"
                                //         },
                                //         {
                                //             xtype: 'button',
                                //             iconCls: 'collapseAllMembers',
                                //             tooltip: "Collapse all"
                                //         }
                                //     ]
                                // }]
                            }
                        ]
                    }
Loading