373 Commits

Author SHA1 Message Date
Joe Duffy
4fe0538a44 Foreshadow more/less (#2625) 2020-03-10 15:28:21 -07:00
Joe Duffy
533941aa46 Add an Adopting Pulumi user guide (#2484)
* Rearrange existing User Guide ToC

* Rename "Tutorials and Guides" to "User Guides."

* Rename "Cloud Programming Tutorials" just to "Tutorials."

* Sort "Tutorials" at the top of this list.

* Make room for the new "Adopting Pulumi" user guide.

* Add the Adopting Pulumi index page

* Add an import guide

This is largely based on the existing import blog post.

* Add an initial, half completed, Terraform guide

* Add the empty AWS, Azure, and Kubernetes pages

* Fix a few broken links

* Add coverage of tf2pulumi in the adoption guide

* Use shorter titles

I had wanted to use the longer titles because they look better in
SEO. However, unfortunately the breadcrumbs use the title it seems,
and not the display H1 or menu name, which means the breadcrumbs
ended up looking ridiculously long and redundant.

* Add an AWS CloudFormation migration guide

* Add a guide for moving to Pulumi from ARM

* Add some logos to spruce things up

* Add a page for Kubernetes adoption

* Fix a typo in the copy button code

* Apply @lukehoban suggestions from code review

Co-Authored-By: Luke Hoban <luke@pulumi.com>

* Incorporate more code review feedback

Co-authored-by: Luke Hoban <luke@pulumi.com>
2020-03-08 20:58:38 -07:00
Christian Nunciato
6c10154163 Add a case-studies list page (#2474) 2020-02-19 15:13:31 -08:00
Zack Chase
0fe0fd4d00 Add events page links to header/footer navs (#2454)
* Add events page links to header/footer navs

* Remove event link from header tab
2020-02-19 09:24:41 -08:00
Zack Chase
a10d507193 Add PurgeCSS to remove unused CSS classes from page loads (#2444)
* Add purgecss to postcss config

* Update purgecss rules

* Address feedback

* Update extractor regex and content paths

* Update comments in config file
2020-02-18 15:43:27 -08:00
Christian Nunciato
cd4e80598e Suppress wrapping of header-submenu items (#2458) 2020-02-18 13:16:07 -08:00
Zack Chase
af877a3610 UX improvements to events pages (#2419)
* Move filter and CTA to right side of event listing page

* Add heading to event list showing number of events available when filtering

* Remove calendar embed and use button to bring up calendar modal

* Slightly prettify the event-listings page

* Slightly prettify the event-detail page

* Make the registration button orange

* Add ability to use filter query param to pre filter events

* Address feedback

* Remove excess console.log

* Update assets/js/event-filtering.js

Co-Authored-By: Justin Van Patten <jvp@justinvp.com>

Co-authored-by: Christian Nunciato <christian@pulumi.com>
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-02-13 11:38:39 -08:00
Christian Nunciato
25bd312525 Add a Brand page (#2394)
* Add a Brand page

* Address feedback
2020-02-06 17:44:34 -08:00
Zack Chase
d43b972ce6 Add events pages (#2318)
* Add initial framework of events listing page

* Add prototype of event generation and landing pages

* Start moving event generation code to go project

* Add functions for building event pages in go

* Generate event specific pages by content type value

* Update event page generation, page content, and styles

* Formatting fixes

* Address feedback

* Add meta_desc to event pages and fix markdown lint errors

* Reorder events by date; remove unused package

* Move calendar above details on mobile

* Use archetypes for generating event pages

* Remove event generation tool

* Add registration heading above calendar

* Remove references to toml parsing libraries

* Add container to event listings and landing pages

* Rename layouts

* Update assets/js/event-filtering.js

Co-Authored-By: Christian Nunciato <c@nunciato.org>

* Update archetypes/workshop/index.md

Co-Authored-By: Christian Nunciato <c@nunciato.org>

Co-authored-by: Christian Nunciato <christian@pulumi.com>
2020-02-06 16:58:30 -08:00
Christian Nunciato
1b5e9661bb use a RelPermalink for the CSS ref (#2347) 2020-01-30 13:01:14 -08:00
Zack Chase
ec56439939 Add a way for users to provide feedback on a docs page. (#2284)
* Initial implementation of documentation feedback

* Fix typo

* Cleanup formatting and mobile layout

* Add tracking attributes to feedback buttons; use beforeunload event

* Address feedback

* Move feedback section to right nav; convert comment section to modal

* Mobile adjustments

* Make it play nicer visually with others

* Update modal text and add close button

* Fix typo

Co-Authored-By: Justin Van Patten <jvp@justinvp.com>

* Address feedback

* Revert back to using production segment key with environment control

Co-authored-by: Christian Nunciato <christian@pulumi.com>
Co-authored-by: Justin Van Patten <jvp@justinvp.com>
2020-01-24 14:28:24 -08:00
Zack Chase
5c54387a80 Add digital version of event one pager (#2239)
* Add initial framework for event landing page

* Clean up event one pager and add new CTA

* Replace image with code block; update cta copy

* Update desktop cta and deploy block copy

* Update address to have google maps link

* Remove unused block and content

* Update naming convention for blocking crawlers from indexing a page

* Rename variable for excluding page from internal search

* Do not add pages blocked from external search to the site map

* Add follow to robots meta tag

* Update contributing doc with new front matter variable

* Remove external search blocking from docs index

* Rename event to show

* Move meta desc so pulumify can rebuild the preview
2020-01-17 17:06:55 -08:00
Justin Van Patten
d16949c491 Cleanup minor formatting nits (#2260) 2020-01-16 18:28:38 -05:00
Zack Chase
3e054d0ea3 Add event tracking to link clicks (#2199)
* Add link linter script

* Add build commands for linting links

* Add linting to start of serve script

* Add tracking ids to links

* Add tracking id to links

* Finish adding tracking ids to remaining html links

* Add front labels to lint results

* Add some checks to function inputs; address feedback

* Add checks that the element exists before sending tracking event

* Add urlize to dynamically created tracking ids

* Switch to generating ids instead of hardcoding

* Do not encode strings when generating link tracking ids

* Convert to use data-track attribute instead of data-tracking-id

* Remove link linter

* Fix duplicate read more tag

* Revert breadcrumb html to be one line to eliminate extra space

* Remove unused package

* Update g suite name convention on tracking id

Co-Authored-By: Christian Nunciato <c@nunciato.org>

Co-authored-by: Christian Nunciato <christian@pulumi.com>
2020-01-15 12:51:13 -08:00
Christian Nunciato
dc7ce76a6d Pad at all resolutions (#2225)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2020-01-07 11:56:19 -08:00
Justin Van Patten
59871869c7 Remove superfluous ".md" from relref links (#2196)
Hugo doesn't require it and currently in some cases we specify it and other cases we do not. This change makes us consistent.
2020-01-07 14:38:13 -05:00
Joe Duffy
49f758c0ee Integrate "overview" pages with the nav (#2214)
This changes the structure of the nav slightly: instead of showing
"Overview" pages for each sub-section as an independent entry, which
consumes vertical space, hyperlink the section header itself. This
feels more intuitive to me, matches the way the breadcrumbs work,
and saves us on a bit of vertical real estate (which is getting fairly
scarce on our site now-a-days, as we continue to add more sections).
2020-01-05 11:18:59 -08:00
Zack Chase
ac9671c5f9 Fix duplicate h1 tags on blog and contact us (#2200)
* Fix duplicate h1 on blogs

* Fix duplicate h1 on contact us partial

* Use page title to determine if it is main blog page
2020-01-02 15:54:56 -07:00
Christian Nunciato
237a85d4ac Address horizontal overflows (#2192) 2019-12-26 09:51:25 -08:00
Christian Nunciato
3da3ad1c6d Adjust tags styling for consistency (#2112)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-12-11 10:45:38 -08:00
Christian Nunciato
793dd72610 Run the anchoring script on load (#2126)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-12-09 12:22:30 -08:00
Christian Nunciato
fe99da5ff0 Add a get-started link to the blog sidebar (#2113)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-12-06 15:01:34 -08:00
Christian Nunciato
b9c843d28f Do some SEO cleanup (#2079)
* Don't block on anchor.js

* Add “| Pulumi” to page titles

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Honor shortened title tags where present

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Fix link to example tutorial

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Add H1 tags to pages without them

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Reduce image sizes

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-12-03 19:06:35 -08:00
joeduffy
8ff2a830f2 Add a 2.0 blog post, and change the alert
This adds a 2.0 blog post and changes the alert to refer to it.
2019-12-01 20:25:15 -08:00
joeduffy
45dfee067c Add .NET Core to languages/carousel 2019-12-01 20:23:44 -08:00
Zack Chase
cdce95b1e5 Add link tracking script and apply it home page links (#2034) 2019-11-26 10:49:11 -08:00
Zack Chase
e4ef78d6eb Restyle pricing form and create template for form with quote (#2017)
* Restyle pricing form and create template for form with quote

* Address feedback

* Use faded blue input focus highlight; blue submit button

* Make customer quote optional in form-section

* Use new form styles across all hubspot contact us forms

* Add form id to about content; fix id of gcp form section

* Getting Started background color; quote heading text size

* Minor tweaks

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-11-21 14:33:47 -08:00
Joe Duffy
1a2253593f Fix some content, add an image (#1979) 2019-11-14 07:15:28 -08:00
Joe Duffy
fede3be904 Add Crosswalk for Kubernetes landing page, and "NEW" pill (#1978) 2019-11-14 06:37:10 -08:00
Chris Smith
115819d4e7 Update hero message for .NET launch (#1958)
* Update hero message

* Update layouts/partials/alert.html

Co-Authored-By: Justin Van Patten <jvp@justinvp.com>
2019-11-11 08:17:19 -08:00
Christian Nunciato
252ab85974 Add a Security page (#1730) 2019-09-17 11:42:29 -07:00
Justin Van Patten
e269c191e8 Fix TOC active selection of "API Reference" (#1753)
When viewing an API doc page, the "API Reference" TOC item was no longer selected. Fix by reverting back to the way I was allowing this previously.
2019-09-17 10:00:57 -07:00
Justin Van Patten
dd54d453f2 Avoid more 302 redirects (#1746)
And some related cleanup (use `relref`) where I saw it.
2019-09-16 16:42:34 -07:00
Justin Van Patten
866dc29ad9 mktutorial template improvements (#1743)
- Fix left alignment of "Edit on this Page" and "Request a Change"
- Remove "Edit on this Page" for generated pages
- Add "WARNING: this was generated by a tool" comment to generated pages
- Use Tailwind for styles
2019-09-16 10:17:12 -07:00
Justin Van Patten
a5c3c28212 Expandable/collapsable second level TOC items (#1723)
* Generalize `toc_nochildren` instead of looking for specific names

* Expandable/collapsable second level toc items

And cleanup the implementation while making changes here.

* Make CI/CD & SAML sub-pages true nav items

Now that we support expandable/collapsable second level nav items in the TOC, make the CI/CD and SAML sub pages true nav items, to match the nav items in Crosswalk.
2019-09-11 15:55:11 -07:00
Christian Nunciato
bda90d5345 Use orange for the alert badge (#1706) 2019-09-09 15:16:37 -07:00
Praneet Loke
1a8fbb58d5 Add trailing slash to a few more URLs in the Get Started index page. (#1707)
* Use relref's for links on the Get Started partial layout page
2019-09-09 14:04:58 -07:00
Christian Nunciato
f092123173 Minor nav fixes (#1705)
* Show (and hide) the submenu when scrolled
* Decrease the mobile font size of the home-page alert, to wrap less often
2019-09-09 12:07:56 -07:00
joeduffy
27b2b40491 Add 1.0 blog post and alert 2019-09-05 05:24:07 -07:00
Maria Bermudez
5b3d4fcc14 SAML updates (#1644)
* - Final cleanup
- Remove required shortcode and inline span tag instead

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Address feedback
Update Guides landing page

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* - Update SAML index page
- Rename SSO page
- Add SSO page as required reading for integration guides
- Edit guides

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Replace Pulumi Cloud Console with Pulumi Console

* Final cleanup

* Update warning to yellow
Present SAML settings in table format for consistency (per #1608)

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Address feedback

* Fix broken relref links
Clean up text

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Fix final broken link

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>

* Fix breadcrumb for intro overview

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-09-04 17:21:43 -07:00
Justin Van Patten
7e991f0714 Resource-oriented Node.js API docs (#1669)
* Remove breadcrumb and add linktitle

* Resource-oriented Node.js docs

* typeDocModuleNode should be "namespace"

External modules are "modules" and internal modules are "namespaces"

* Ensure links to modules have a trailing slash

This avoids the 302 redirects dance with S3

* Add some padding underneath header

* Show full class/interface details

* Improve rendering of namespaces

* Sort class/interface members by label

This way, constructors come first, all properties are grouped together, etc.

* Wrap by column

* Ensure "API Reference" TOC item is selected for API docs pages

* Regenerate aws

* Regenerate awsx

* Regenerate azure

* Regenerate cloud

* Regenerate cloudflare

* Regenerate datadog

* Regenerate digitalocean

* Regenerate dnsimple

* Regenerate docker

* Regenerate eks

* Regenerate f5bigip

* Regenerate gcp

* Regenerate gitlab

* Regenerate kubernetes

* Regenerate packet

* Regenerate linode

* Regenerate postgresql

* Regenerate mysql

* Regenerate newrelic

* Regenerate openstack

* Regenerate azuread

* Regenerate pulumi

* Regenerate random

* Regenerate terraform

* Regenerate tls

* Regenerate vsphere

* Fix TOC selection for Troubleshooting
2019-09-04 16:00:24 -07:00
Christian Nunciato
1cbe21d237 New Home Page (#1643)
* New Home Page

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Edit bits of the new homepage (#1665)

* Edit bits of the new homepage

This is a work in progress, however makes the following changes:

* Use a different heading/subheading.

* Make some fonts larger.

* Move the CTA above the fold and make it more prominent.

* Move Create/Deploy/Manage above the widget and style it differently.

* Change the text within Create/Deploy/Manage cards, and use
  a bulleted headings style for the major points.

* Add a SVG header to the Manage card for symmetry -- although
  it needs to be revised to include e.g. identity providers.

* Add real quotes.

* Add some new logos.

* Reorganize some non-homepage things

* Make the top navbar sticky -- and remove stickiness from some
  of the other second level navbars that are less important now.

* Use bg-purple-900 rather than black in some places. The black
  contrast just looks really retro and tacky to my eyes. (Honestly,
  still could use some work here, but it's marginally less horrific.)

* Eliminate PRICING from the top nav. Our belief is too many people
  click this and think we're 100% commercial without having open
  source offerings. This page is still available, but is more deeply
  integrated with the PRODUCT flow.

* Overhaul the PRODUCT page:

    - Better top level messaging.
    - Reuse the new carousel widget rather than the aging code snippet.
    - Revamp all of the details below.
    - Use slightly more modern looking FA icons rather than
      the images we had before (which looked kind of random).
    - Remove "Multi-Cloud Subscription" -- and add
      "Support and Training."
    - Link out to the PRICING page in certain key areas.

* Revamp overall message on the CAREERS page and massage some
  margins and font sizes.

* Move WHY-PULUMI further to the right of the nav bar.

Sights set on revamping WHY-PULUMI next ...

* Revamp the Why, Pulumi page

* Remove some unused bits

* Tidy up partner, migrate, and topics pages

The partner, migrate, and topics pages are showing their age. At
some point (soon) we need to just blow them up and rewrite them with
our current voice and perspective. For the time being, I do know
they are helping with SEO, so I've done a pass over them to bring
them (roughly) up to code -- still not perfect, but much better.

* Rework titles and abstracts for all pages.

* Replace @pulumi/cloud* examples with modern equivalents.

* Direct to the general GET STARTED page in most places.

* Rewrite the how-pulumi-works partial to use HTML and our more
  recent language and logos, instead of an aging screenshot.

* Ensure consistency on black 2nd level nav bars.

* Add partner logos for Azure and GCP.

* Use a real YouTube embed for the link to our video.

Fixes #1588.

* Refine the Why, Pulumi page further

* Make some more edits

...primarily to the "migrate" pages.

* Incorporate latest changes

Signed-off-by: Christian Nunciato <c@nunciato.org>

* Make final edits (#1683)

* Update the top level phrasing.

* Capitalize "Modern Infrastructure as Code" (it's bolder/stronger).

* Tweak some minor other language.

* Add a link to the video.

* Change carousel nav, tweak video, comment alert

* Make some adjustments for narrow mobiles
2019-09-04 15:47:35 -07:00
Joe Duffy
5a0713313b Add an OS chooser (#1661)
This change adds an OS chooser similar to what we have for languages.
This is then used for various installation pages to offer the end user
the ability to choose something other than the default that we've
detected -- in addition to making that choice sticky using cookies.

Most of the same code for the language chooser is refactored and
reused, although some of it had to remain specific to languages due
to the special case of hiding/showing code blocks.

Fixes #1394.
2019-08-29 17:22:07 -07:00
Maria Bermudez
5b3e51460b New TOC and breadcrumbs (#1563) 2019-08-23 14:22:47 -07:00
Christian Nunciato
2ce40d9216 Change “Sign Up” to “Get Started” in the main nav (#1543)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-12 15:57:27 -07:00
Chris Smith
4667a1dd41 Move Pulumi Cloud Console docs to their own section (#1500)
* Move CI/CD docs under console/continuous-delivery

* Rename CI/CD docs

* Update references to new page locations

* Add CI/CD items to left-nav

* Migrate rest of Service docs

* Update a few more broken links

* Address PR feedback
2019-08-02 12:29:00 -07:00
joeduffy
c4438a1e0b Prefer meta_desc over summary
This change prefers meta_desc over summary for controlling meta
description tags.

It also undoes the check for a missing meta description in the
prior commit. Since we unconditionally use Hugo's auto content
summarization via .Summary, it doesn't do anything meaningful.
We may want to revisit this as part of pulumi/docs#1475.
2019-07-30 12:18:23 -04:00
joeduffy
9da560dc98 Fix some titles and meta descriptions
This change fixes up some titles and meta descriptions, in hopes
that it'll have a positive impact on our SEO (and SERP summary).

- Ensure all pages have titles and meaningful meta descriptions.

- Error out if pages lack a meta description. Also add the ability
  to write `nosummary: true` if it's intentionally omitted.

- I'd like to error out if pages lack a title too. Unfortunately,
  the Python API docs are missing titles (pulumi/docs#1127), so this
  check is not currently enabled (easy to uncomment out later).

I also made the possibly-controversial change to stop emitting an
automatic `- Pulumi` at the end of page titles. This

- Leads to illy things -- like `About Pulumi - Pulumi`.

- Might make it more difficult for Google to extract a good title for
  our SERP summary; is that why "Documentation" is currently
  awkwardly labeled simply "Pulumi" on Google at the moment?

- Probably has a net negative effect on things like blog articles,
  which we would like to index naturally based on the content.

I propose that anywhere we want Pulumi in the title, we manually add it.
2019-07-30 11:33:36 -04:00
Maria Bermudez
c3a19f7951 Merge pull request #1441 from pulumi/maria/sidebar-nav
Move "On this Page" feature to right nav
2019-07-29 11:07:07 -07:00
Justin Van Patten
2314420991 Add no-anchor to hover menus (#1463)
I noticed these were getting anchor links when viewed in the docs, blog, etc.
2019-07-29 10:45:19 -07:00