Commit graph

50 commits

Author SHA1 Message Date
Mike McNeil
f385a8dac3
Website: Doc nav changes -- Follow-up to #23717 (#23719)
Co-authored-by: Eric <eashaw@sailsjs.com>
2024-11-14 15:12:45 -06:00
Mike McNeil
1db781f603
Fluffing (#23677) 2024-11-10 00:31:13 -06:00
Eric
e7e3633794
Website: Update documentation side bar navigation (#21508)
Changes:
- Updated the sidebar navigation on fleetdm.com/docs to show subpages in
all sections of the docs (instead of the subpages in the current
section).
- Added a link to the non-reference documentation at /guides
2024-08-23 16:27:17 -06:00
Mike Thomas
2171544ad1
Docs quick reference optimization (#21331)
This PR closes https://github.com/fleetdm/fleet/issues/21108

@noahtalerman, I double-checked all redirects, and they are working.
Clicking through the URLs in [this
spreadsheet](https://docs.google.com/spreadsheets/d/1djVynIMuJK4pT5ziJW12CluVqcaoxxnCLaBO3VXfAt4/edit?usp=sharing)
is a pretty quick way to go through them all. Note that "Audit logs" and
"Understanding host vitals" redirect to the contributor docs on GitHub,
so they will throw a 404 until this is merged.

Some new guides benefitted from a name change, so they make more sense
as stand-alone guides, and also so that we don't have to mess around
with more redirects later. Those name changes followed [this
convention](https://fleetdm.com/handbook/company/communications#headings-and-titles),
which was recently documented in the handbook.

Have fun!

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
2024-08-16 15:30:31 -05:00
Eric
911b85075f
Website: Update /start CTAs (#20756)
Closes: https://github.com/fleetdm/confidential/issues/7414

Changes:
- Updated the messages in the documentation and orb CTA.
2024-07-26 13:17:39 -05:00
Eric
601189d38c
Website: Update docs CTA classes and styles (#20386)
Changes:
- Added a unique class to the CTA at the bottom of docs pages.
2024-07-11 12:21:22 -05:00
Eric
9a09c03687
Website: update CTAs for psystage 4 (#20214)
Closes: #20188

Changes:
- Updated the orb/banner CTA and the CTA in the docs for users with a
use case.
2024-07-03 17:13:18 -05:00
Eric
bcf3052117
Website: Send analytics events (#19745)
Related to: #19603 

Changes:
- Updated the contact page to send an event (`website_contact_forms`) to
Google Analytics when a user submits the form
- Update the signup page to send an event (`website_sign_up`) to Google
Analytics when a user signs up
- Updated the swag request button in the docs to send an event
(`website_swag_request`) to Google Analytics when a user visits the swag
request typeform.
2024-06-13 17:07:14 -05:00
Eric
c10f2dbfcf
Website: Update documentation CTA to change depending on the user's progress through the /start questionnaire. (#19097)
Closes: #19063

Changes:
- Updated the CTA in the docs to change depending on a user's
`psychologicalStage`.
2024-05-17 18:24:29 -05:00
Mike Thomas
ebf2f867f6
Website - Add new docs CTA (#19062)
Closes https://github.com/fleetdm/fleet/issues/19061

- added new docs CTA
- removed old Slack CTA
- removed old improve docs CTA

# Checklist for submitter

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-05-16 12:58:32 -05:00
Eric
6fac9aaf7e
Website: update layout and personalization in website navigation (#18155)
Changes:
- Updated the link to the queries page in the website header navigation
menu and docs navigation menu to say "Device health checks" for users
who have a primaryBuyingSituation set to `eo-it` or `mdm`.
- Updated links in the docs side nav to be relative
- Replaced the snitcher script tag with an updated version from
snitcher's website.
2024-04-09 15:27:55 -05:00
Eric
a3341e17d8
Website: Update "Edit page" button on documentation pages. (#16481)
Closes: #16430

Changes:
- Updated the position of the "edit page" button on documentation pages.
2024-01-30 15:55:48 -06:00
Eric
c16a568e8e
Website: Update mobile documentation navigation links (#16323)
Changes:
- Added links to /tables, /queries, /support, and the releases page of
the Fleet GitHub repo to the mobile documentation nav menu.
- Updated the color of the `.border-bottom` bootstrap class to match
wireframes
2024-01-25 09:36:52 +09:00
Eric
9c352ef5a0
Website: Bug fixes/Style updates on docs and landing pages. (#13810)
Closes: #13774
Closes: #13775
Closes: #13773
Closes: #13778

Changes:
- Updated hero text horizontal padding on landing pages.
- Updated the padding between sections on landing pages
- Fixed the background gradient on the /support page
- Updated the mobile docs navigation to show the section of the
documentation
2023-09-12 17:45:08 -05:00
Eric
d89a1b4e92
Website: Update buttons on documentation pages (#13096)
Closes: #12989

Changes:
- Increased the clickable area of the edit page button on documentation
pages.
- Updated the click event that is added to headings on documentation
pages.
2023-08-04 12:11:56 -05:00
Eric
8fb22579ea
Reorganize Fleet documentation (#12871)
Closes: #12611

Changes:
- Added three new documentation sections `/docs/get-started/`,
`/docs/configuration` and `/docs/rest api/`
- Updated folder names: `/docs/Using-Fleet/` » `/docs/Using Fleet` and
`/docs/deploying` » `/docs/deploy/`
- Moved `/docs/using-fleet/process-events.md` to `/articles` and updated
the meta tags to change it into a guide.
- Added support for a new meta tag: `navSection`. This meta tag is used
to organize pages in the sidebar navigation on fleetdm.com/docs
- Moved `docs/using-fleet/application-security.md` and
`docs/using-fleet/security-audits.md` to the security handbook.
- Moved `docs/deploying/load-testing.md` and
`docs/deploying/debugging.md` to the engineering handbook.
- Moved the following files/folders:
- `docs/using-fleet/configuration-files/` »
`docs/configuration/configuration-files/`
- `docs/deploying/configuration.md` »
`docs/configuration/fleet-server-configuration.md`
    -  `docs/using-fleet/rest-api.md` » `docs/rest-api/rest-api.md`
- `docs/using-fleet/monitoring-fleet.md` » `docs/deploy/rest-api.md`
- Updated filenames:
- `docs/using-fleet/permissions.md` »
`docs/using-fleet/manage-access.md`
- `docs/using-fleet/adding-hosts.md` »
`docs/using-fleet/enroll-hosts.md`
    -  `docs/using-fleet/teams.md` » `docs/using-fleet/segment-hosts.md`
- `docs/using-fleet/fleet-ctl-agent-updates.md` »
`docs/using-fleet/update-agents.md`
- `docs/using-fleet/chromeos.md` »
`docs/using-fleet/enroll-chromebooks.md`
- Updated the generated markdown in `server/fleet/gen_activity_doc.go`
and `server/service/osquery_utils/gen_queries_doc.go`
- Updated the navigation sidebar and mobile dropdown links on docs pages
to group pages by their `navSection` meta tag.
- Updated fleetdm.com/docs not to show pages in the `docs/contributing/`
folder in the sidebar navigation
- Added redirects for docs pages that have moved.

.

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Rachael Shaw <r@rachael.wtf>
2023-07-27 17:40:01 -05:00
Eric
87714f466c
Website: Upgrade to DocSearch v3 (#12563)
Changes:
- Upgraded the version of Algolia DocSearch we use on the Fleet website.
- Updated search box styles in the docs, handbook, and osquery schema
pages.
2023-07-12 09:54:05 +09:00
Eric
11587ef9e2
Website: add /support page (#12457)
Closes: #12183
Changes:
- Added a /support page.
- Updated routes, policies, and importer
- Updated the header navigation to have a link to the support page.
- Updated docs pages to link to the support page.

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2023-06-23 18:06:04 -05:00
Eric
3cc7c971c2
Website: Add back to top button on documentation and handbook pages (#12348)
Changes:
- Updated the handbook and documentation pages to have a "Back to top"
button that appears when a user scrolls more than 2000 pixels down the
page (on screens larger than 991px width)
2023-06-23 20:00:27 +09:00
Eric
e95e075e77
Website: Update positioning on documentation landing page (#12463)
Related to: #12422

Changes:
- Updated the text on the Fleet documentation landing page
2023-06-22 13:17:03 -05:00
Eric
46d36f993a
Website: Update documentation landing page (#12182)
Closes #11843 
Changes:
- Removed the two cards from the fleetdm.com/docs landing page, and
replaced it with a link to the osquery slack.
2023-06-06 18:05:29 -05:00
Eric
309297182a
Website: Add HubSpot chat widget and replace calendly links (#11677)
Closes: https://github.com/fleetdm/confidential/issues/2699
Changes: 
- Removed the Papercups chat widget.
- Changed the "Talk to an expert" buttons on the website to open the
HubSpot chat widget.
- Updated the Fleet Sandbox registration page to link to the MDM setup
docs.
- Changed the earliest supported versions of iOS and Safari the Fleet
website support to v11.

After this PR is merged, we will need to activate the new chat flow in
HubSpot.
2023-05-12 19:07:50 -05:00
Mike Thomas
7e18bcce8c
Website docs style patch (#11286)
This PR is in response to https://github.com/fleetdm/fleet/issues/10420,
to improve the readability of the docs. In particular,
[docs/using-fleet/mdm-setup](https://fleetdm.com/docs/using-fleet/mdm-setup).

**CSS changes**
- Adjusted margins and paddings on `<ol>` and `<ul>` elements. As well
as h-tags and code blocks.
- Added styling to docs `<h3>` tags to help differentiate sub-sections.
This helps to make the docs pages easier to scan.
- Reduced the boldness of `<b>` and `<strong>` tags. The recently
updated font, Inter, renders bold a little too heavily. (This is a
site-wide change.)
- Changed the default font color to `@core-fleet-black-75` and made sure
that h-tags are set to `@core-fleet-black`. The softer contrast helps
reduce fatigue while reading large blocks of text (while still
conforming to recommended contrast levels). This site-wide change brings
the text styling in sync with Figma.

**Content changes**
- Reformatted content on
[docs/using-fleet/mdm-setup](https://fleetdm.com/docs/using-fleet/mdm-setup)
to fix Markdown issues that were causing sections to render incorrectly,
and were also breaking the "On this page" side nav.
- Made grammar and content fixes to improve readability and flow.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2023-05-02 13:07:31 -05:00
Eric
be0fb61384
Website: Fix iOS v10 compatibility issues (#11022)
Closes: #10985 

Changes:
- Removed the `min-height` that was set on embedded videos in docs,
articles, the handbook, and the homepage.
- Fixed a docs navigation alignment issue
- Updated the `height` of the hero on
`/reports/state-of-device-management`
2023-04-05 17:22:05 -05:00
Eric
4093650599
Website: Add Fleet Premium CTA to documentation pages (#9796)
Closes: https://github.com/fleetdm/fleet/issues/9785

Changes:
- Updated the documentation page script to set a `currentDocsSection`
variable
- Added Fleet Premium calls to action that link to the `/upgrade` page
to the left sidebar on documentation pages.


cc: @jarodreyes
2023-02-10 18:37:47 -06:00
Eric
742de5354d
move swag CTA, update stylesheet (#8037) 2022-09-30 13:35:42 -05:00
Eric
62a7d1afa2
Website: Update documentation page sidebars and calls to action. (#7388)
* Website: Make docs table of contents not sticky

* move docs sidebar CTA, update styles

* website: updated docs cta graphic

- updated docs cta graphic

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2022-08-25 17:27:50 -05:00
Eric
29380bd89e
Switch to using ejs tags instead of vue templates (#7369) 2022-08-23 18:22:03 -05:00
Eric
cbaae94d38
Website: Add Fleet Premium call to action to documentation pages (#7063)
* add Fleet premium CTA, update styles

* Add final Calendly link

* Replace logo in docs cta
2022-08-05 16:24:15 +09:00
Eric
f4c2b62fd5
Website: Conditionally show swag CTA (#6964)
* conditionally hide fleet swag form

* Check cp-ipcountry and cp-iplongitude

* update comment

* use req.get(), update comment
2022-08-01 15:58:05 -05:00
Mike Thomas
8af77a807b
Updated messaging on docs/readme.md (#6788)
* Updated messaging on docs/readme.md

- Updated messaging on docs/readme.md
- Updated messaging on docs/basic-documentation.ejs

* Capitalization

* Update README.md

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-07-21 06:09:01 -05:00
Eric
cde54312b7
Website: Add Fleet swag request cta (#6070) 2022-06-04 01:59:18 +09:00
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 f8cbc14829

* 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 4e7e23990c)

* 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