From 33ae720dd05dc2d9664991482ce14ea0d4b69c3c Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 23 Jul 2013 12:20:08 +0530 Subject: [PATCH] [docs] added for translate and api --- core/doctype/documentation_tool/docs.html | 14 +++++++++----- .../documentation_tool/documentation_tool.js | 6 ++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/core/doctype/documentation_tool/docs.html b/core/doctype/documentation_tool/docs.html index 772cb9c6b4..8935dbe2f4 100644 --- a/core/doctype/documentation_tool/docs.html +++ b/core/doctype/documentation_tool/docs.html @@ -35,6 +35,9 @@
  • Community
  • Blog
  • + @@ -62,8 +65,9 @@ open source project. Code licensed under the GNU/GPL License. Documentation Licensed under CC-BY-SA-3.0.
    - Get Help / Get in touch / - Buy Hosting or Support Services + Get Help / + Buy Hosting or Support Services
    + Donate to help make this product better @@ -78,15 +82,15 @@ }); $(".dropdown-toggle").dropdown(); - + diff --git a/core/doctype/documentation_tool/documentation_tool.js b/core/doctype/documentation_tool/documentation_tool.js index f0cf3832c6..0113c771af 100644 --- a/core/doctype/documentation_tool/documentation_tool.js +++ b/core/doctype/documentation_tool/documentation_tool.js @@ -79,8 +79,6 @@ wn.docs.generate_all = function(logarea) { // append static pages to the "docs" object $.each(r.message.pages || [], function(n, obj) { $.extend(wn.provide(n), obj); - // if(n!=="docs") - // docs._links.push(n); // to build page (if not in _toc) }); logarea.append("Preparing html...
    "); @@ -220,8 +218,8 @@ wn.docs.DocsPage = Class.extend({ make_footer: function() { if(this.obj._gh_source) { $("
    ").appendTo(this.parent); - $(repl('

    \ - Improve this doc

    ', { + $(repl('

    \ + Source: Improve this doc

    ', { source: this.obj._gh_source })).appendTo(this.parent); }