mirror of
https://github.com/fleetdm/fleet
synced 2026-05-10 10:40:46 +00:00
* Create fleetdm.com docs template * Create controller and view for docs template * Refine docs template * Add links to docs template * Refactor docs page schema * Add img alt text * Implement docs landing page * Update links * Fix padding; fix related topics; stretch link * Fix browser compatibility issues * sandbox in-development doc routes and fiddle around with the aliases to make our doc urls shorter (useful when embedding in code comments, etc) resolves https://github.com/fleetdm/fleet/pull/1297#discussion_r666682928 Co-authored-by: Mike McNeil <[email protected]>
27 lines
276 B
JavaScript
Vendored
27 lines
276 B
JavaScript
Vendored
module.exports = {
|
|
|
|
|
|
friendlyName: 'View documentation',
|
|
|
|
|
|
description: 'Display "Documentation" page.',
|
|
|
|
|
|
exits: {
|
|
|
|
success: {
|
|
viewTemplatePath: 'pages/documentation'
|
|
}
|
|
|
|
},
|
|
|
|
|
|
fn: async function () {
|
|
|
|
// Respond with view.
|
|
return {};
|
|
|
|
}
|
|
|
|
|
|
};
|