Commit Graph

18 Commits

Author SHA1 Message Date
Eric
9798e6abb4
Website: update documentation CTA (#5946) 2022-05-30 09:31:08 +09:00
Kelvin Oghenerhoro Omereshone
9830c64c81
feat: make edit page links open in a new tab (#5398) 2022-04-27 19:06:44 +01:00
Eric
bfef6cf368
Website: Update homepage CTA (#5265)
* update animated button styles

* clean up stylesheet, bring back demo button

* Update homepage.less

* button update

* update img src
2022-04-20 15:20:30 -05:00
Eric
dc27706193
Update website button styles (#4957)
* update button styles, make get-started match our styling conventions

* fix lint test, remove text-muted

* Update bootstrap-overrides.less

* remove `width: auto`
2022-04-06 13:55:05 -05:00
Mike McNeil
e25c81019e
Fix link update (#4743)
* Update basic-documentation.ejs

* Update basic-documentation.ejs
2022-03-28 17:03:44 -05:00
Kelvin Oghenerhoro Omereshone
8abe592808
Make redirect to via /slack 301 and add support link in docs homepage (#4696)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* chore: add dominuskelvin as maintainer

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section

* feat: add instructions to use credentials below to log in to fleet preview

* feat: update static pages explicitly listed in sitemap

* feat:  change the fleetdm.com/docs landing page to send folks clicking for support to fleetdm.com/slack instead of to the contact formadd testimonial section

* feat: add a 301 redirect

* feat: update docs landing page to link to slack instead of support form
2022-03-18 12:30:28 -05:00
eashaw
983fbd736d
Update website slack links to point to osquery.fleetdm.com (#4478)
* Add slack redirect

* update slack invite links to use redirect
2022-03-04 15:51:11 -06:00
eashaw
9a40b7d4ed
Add next steps to "learn how to use fleet" docs (#2797)
* added buttons, styles, meta tags for buttons,

* static buttons

* Update basic-documentation.less

* requested changes

* revert unintentional change
2021-11-08 21:10:52 +09:00
eashaw
66faac25c9
Make edit page links take you to editing the page on github (#2677) 2021-10-26 10:54:50 -05:00
eashaw
b1f92e1009
Update mobile documentation styles and call to action (#2250)
* mobile styles for edit page button, display bottom of page CTA on mobile, fix link tags

* adjust button position, lint fix

* updated css to use [purpose=''] instead of class names and removed unneeded classes
2021-09-28 12:33:47 +09:00
eashaw
6413befdd1
Add edit page button to the top of documentation pages on fleetdm.com/docs (#2165)
* floating edit button on hover

* update class name

* adjust padding and border-radius

* fix failing lint test

* Update website/assets/styles/pages/docs/basic-documentation.less

* Update website/assets/styles/pages/docs/basic-documentation.less

* Update website/assets/styles/pages/docs/basic-documentation.less

* Update website/assets/styles/pages/docs/basic-documentation.less

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2021-09-22 14:05:53 +09:00
eashaw
008a093130
update link to use correct variable (#2149) 2021-09-20 15:52:37 -05:00
eashaw
208c627666
Link to documentation on github from fleetdm.com/docs (#2041)
* added a pathInDocsFolder attribute to the markdown pages

* updated call to action, and changed the link to the markdown file in the fleet repo

* update comment

* update comment and variable name
2021-09-17 08:07:18 +09:00
eashaw
ca9cb48ae4
Add more padding to the docs at <990px width (#1982)
* remove padding class from container

* styles for >576px and 576px - 990px

* mobile styles, rearranged stylesheet to go from larger sizes to smaller sizes

* fix padding on breadcrumbs-and-search

* Update homepage.ejs
2021-09-10 15:31:03 -05:00
eashaw
f6627c4cae
Add Algolia DocSearch to fleetdm.com/docs (#1958)
* added docsearch with test config (currently breaks non docs pages)

* added docsearch.less to mixins and variables

* consolidated the search bar styles

* changed doc search layout, removed css link for doc search

* style for mobile search bar

* cleaning up indentation and tags

* added Docsearch

Note: there needs to be a matching docsearch input in the layout or docsearch will throw an error

* remove TODO

* adjusting styles to match wireframes

* moving DocSearch to documentation page script & added DocSearch to dependencies

* link fixes

* renaming customized DocSearch style sheet

* lint fixes, style tweaks, changing class names & IDs, bringing customized styles back out of dependencies

* Update index.less

* Update code-blocks.less

* Update basic-documentation.page.js
2021-09-09 13:08:35 +09:00
Mike Thomas
0f7e507b35
Update basic-documentation.ejs (#1717)
This link change was missed this morning.

Background - we don't want to send existing users from the docs to the pricing page, so until we are able to deploy the new Get Started page, we are temporarily sending this link to the install guide on GitHub.
2021-08-18 23:56:13 +09:00
Mike McNeil
8097251565
Put live documentation on fleetdm.com (#1380)
* minor clarifications

* further expand comments and stubs

* absorb custom titles embedded in metadata, plus further comment expansion and a followup fix for something i left hanging in f8cbc14829d91e7577c63307fd9c4346dbc229bb

* Skip non-markdown files and use real path maths

* Prep for running in parallel (Remove `continue` so this isn't dependent on the `for` loop)

* determine + track unique HTML output paths

* Compile markdown + spit out real HTML  (without involving any but the crunchy nougaty dependency from the very center of everything)

* add md metadata parsing

* add timestamp

* Update build-static-content.js

* attach misc metadata as "other"

* how doc images might should work (this also aligns with how the select few images in the sailsjs.com docs work)

* add file extension to generated HTML files

* "options"=>"meta"

* Make "htmlId" useful for alphabetically sorting pages within their bottom-level section

See recent comments on https://github.com/fleetdm/fleet/issues/706 for more information.

* list out the most important, specific build-time transformations

* Omit ordering prefixes like "1-" from expected content page URLs

* add a little zone for consolidating backwards compatible permalinks

* interpret README.md files by mapping their URLs to match their containing folder

* clarify plan for images

* decrease probability of collisions

* Make capitalization smarter using known acronyms, proper nouns, and a smarter numeric word trim

* Resolve app path in case pwd is different in prod

* Delete HTML output from previous runs, if any

* condense the stuff about github emojis

* got rid of "permalink" thing, since id gets automatically attached during markdown compilation anyway

Also "permalink" isn't even a good name for what this is.  See https://github.com/fleetdm/fleet/issues/706#issuecomment-884693931

* …and that eliminates the need for the cheerio dep!

* Bring in bubbles+syntax highlighting into build script, and remove sails.helpers.compileMarkdownContent()  -- this leaves link munging as a todo though

* trivial (condense comments)

* Remove unused code from toHtml() helper

* Implemented target="_blank" and root-relative-ification

* remove todo about emojis after testing and verifying it works just fine

* trivial: add link to comment in case github emojis matter at some point

* consolidate "what ifs" in comments

* Leave this up to Sarah, for now. (Either bring it back here in the build script or do it all on the frontend)

* Enable /docs and /handbook routes, and add example of a redirect for a legacy/deprecated URL

* implement routing

* Upgrade deps

this takes advantages of the latest work from @eashaw, @rachaelshaw, and the rest of the Sails community

* tweak var names and comments

* make readme pages use their folder names to determine their default (fallback) titles

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884788002

* first (good enough for now) pass at link rewriting

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884742072

* Adapt docs pages to build from markdown output

* Continue work on docs pages

* Add landing page

* Remove unused code; minor changes

* Replace regex

* fixes https://github.com/fleetdm/fleet/pull/1380#issuecomment-891429581

* Don't rely on "path" being a global var

* Syle fleetdm doc pages

* Continue work on docs pages

* Fix linting error

* Disable lesshint style warnings

* parasails-has-no-page-script attribute

Added a parasails-has-no-page-script attribute to the docs template, added a check for that attribute in parasails.js and removed the empty page script for 498

* bring in latest parasails dep

* trivial

* Update links to dedupe and not open in new tab unless actually external

* Disable handbook for now til styles are ready

* fix CTA links

* trivial

* make sitemap.xml get served in prod

* hide search boxes for now, remove hard-coded version and make releases open in new tab

* clean out unused files

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: eashaw <caglc@live.com>
2021-08-17 19:55:13 -05:00
Mike McNeil
d50b48e7c2
Absorb yaml queries into website, + stub /queries + /documentation (#812)
* Upgrade to get rid of REPL schmutz

* rename workflow to lessen ambiguity vs. markdown compilation of docs

* ensure lockfile makes it to fleetdm.com prod

* skip force git add of package-lock to avoid confusion for now. (reverts 4e7e23990c472e84f3f24391ef360a175f725609)

* rename build script (because now it won't always be markdown source files)

* update metadata to match prev commit

* change key name in generated sailsrc for consistency

* stub query library page

* used named params so others can tell what's up with the forcing

* expand comments

* expand comments

* intermediate commit- playing with inlining the guts from doctemplater

* stub basic docpage shell and a little page to preview that on

* Compile YAML and set up query library page

* clean sailsrc

* optimize build by running everything in parallel

* Add note about the fact that we don't even need to clone anything since we've consolidated it all into one repo now.  facepalm

* un-parallelize one bit that fails in CI if it's parallelized (it'll go away soon anyway)
2021-05-20 03:22:42 -05:00