Commit 84e5840c authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add back footer with version information.

parent 56d411ab
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ task :sdk do
    # to create symbolic links to template files instead of copying them over.
    # Useful for development.  Turn off for deployment.
    "--template-links",
    "--seo",
    "#{SDK_DIR}/extjs/src",
    "#{SDK_DIR}/platform/src",
    "#{SDK_DIR}/platform/core/src",
@@ -82,7 +81,7 @@ def run_jsduck_export(extra_options)

  run_jsduck([
    "--title", "Ext JS 4.0 API Documentation",
    "--footer", "ExtJS 4.0 Documentation from Sencha. Generated with <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> revison #{rev}",
    "--footer", "ExtJS 4.0.5 Documentation from Sencha. Generated with <a href='https://github.com/senchalabs/jsduck'>JSDuck</a> revison #{rev}",
    "--head-html", head_html,
    "#{SDK_DIR}/extjs/src",
    "#{SDK_DIR}/platform/src",
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ module JsDuck
      Logger.instance.log("Creating #{@opts.output_dir}/template.html...")
      html = IO.read(@opts.template_dir+"/template.html")
      html.gsub!("{title}", @opts.title)
      html.gsub!("{footer}", "<div id='footer-content' style='display: none'>#{@footer}</div>")
      html.gsub!("{footer}", "<div id='footer-content' style='display: none'>#{@opts.footer}</div>")
      html.gsub!("{extjs_path}", @opts.extjs_path)
      html.gsub!("{local_storage_db}", @opts.local_storage_db)
      html.gsub!("{welcome}", @welcome.to_html)
+6 −0
Original line number Diff line number Diff line
@@ -136,6 +136,12 @@ Ext.define('Docs.view.Viewport', {
                        }
                    }
                ]
            },
            {
                region: 'south',
                id: 'footer',
                height: 20,
                contentEl: 'footer-content'
            }
        ];

+1 −0
Original line number Diff line number Diff line
@@ -225,6 +225,7 @@ a {
  color: gray;
  text-align: right;
  font-size: 10px;
  padding-top: 3px;
  padding-right: 40px;
  // The footer-content div is initially hidden on page to prevent it
  // being visible while loading-screen is shown.  Only after the div is