Add documentation to top nav

pull/1/head
David Benqué 2020-11-19 20:30:21 +00:00
parent a56b5f7cb4
commit 361d3e32c9
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ define([
var imprintUrl = AppConfig.imprint && (typeof(AppConfig.imprint) === "boolean" ?
'/imprint.html' : AppConfig.imprint);
// XXX
Msg.docs_link = "Documentation";
// XXX Remove FAQ from translations
// XXX Add FAQ to docs
@ -161,6 +162,7 @@ define([
h('a.nav-item.nav-link', { href: 'https://blog.cryptpad.fr/'}, Msg.blog),
h('a.nav-item.nav-link', { href: '/features.html'}, Msg.features),
h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html'}, Msg.about),
h('a.nav-item.nav-link', { href: 'https://docs.cryptpad.fr'}, Msg.docs_link),
].concat(rightLinks))
);
};