[docs] added for translate and api
This commit is contained in:
parent
aec31f18d0
commit
33ae720dd0
2 changed files with 11 additions and 9 deletions
|
|
@ -35,6 +35,9 @@
|
|||
<li><a href="docs.community.html">Community</a></li>
|
||||
<li><a href="docs.blog.html">Blog</a></li>
|
||||
</ul>
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<li><a href="docs.about.html">About</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -62,8 +65,9 @@
|
|||
open source project</a>. Code licensed under the
|
||||
<a href="https://www.gnu.org/licenses/gpl.html">GNU/GPL License</a>.
|
||||
Documentation Licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA-3.0</a>.<br>
|
||||
<a href="docs.user.help.html">Get Help</a> / <a href="https://erpnext.com/contact">Get in touch</a> /
|
||||
<a href="https://erpnext.com">Buy Hosting or Support Services</a>
|
||||
<a href="docs.user.help.html">Get Help</a> /
|
||||
<a href="https://erpnext.com">Buy Hosting or Support Services</a><br>
|
||||
<a href="https://erpnext.com/donate">Donate to help make this product better</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -78,15 +82,15 @@
|
|||
});
|
||||
$(".dropdown-toggle").dropdown();
|
||||
</script>
|
||||
<!-- script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', 'UA-8911157-9']);
|
||||
_gaq.push(['_setAccount', 'UA-8911157-6']);
|
||||
_gaq.push(['_trackPageview']);
|
||||
(function() {
|
||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
||||
})();
|
||||
</script -->
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -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...<br>");
|
||||
|
|
@ -220,8 +218,8 @@ wn.docs.DocsPage = Class.extend({
|
|||
make_footer: function() {
|
||||
if(this.obj._gh_source) {
|
||||
$("<br>").appendTo(this.parent);
|
||||
$(repl('<p><a class="btn btn-default" href="%(source)s" target="_blank">\
|
||||
<i class="icon-github"></i> Improve this doc</i></a></p>', {
|
||||
$(repl('<p><a href="%(source)s" target="_blank">\
|
||||
<i class="icon-github"></i> Source: Improve this doc</i></a></p>', {
|
||||
source: this.obj._gh_source
|
||||
})).appendTo(this.parent);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue