fleet/website/api/controllers/view-documentation.js
gillespi314 5bb4a05b44
Fleetdm.com: Template for documentation pages (#1297)
* 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]>
2021-07-09 00:58:40 -05:00

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 {};
}
};