9 lines · 500 B · JavaScript
RawDownload
const notice = (text) => `<p class="_notice-text">${text}</p>`; app.templates.singleDocNotice = (doc) =>  notice(` You're browsing the ${doc.fullName} documentation. To browse all docs, go to<a href="//${app.config.production_host}" target="_top">${app.config.production_host}</a> (or press <code>esc</code>). `); app.templates.disabledDocNotice = () =>  notice(` <strong>This documentation is disabled.</strong>To enable it, go to <a href="/settings" class="_notice-link">Preferences</a>. `);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t