1738 Commits

Author SHA1 Message Date
Paul Stack
ab09fe9b22 tutorials: EC2 TypeScript tutorials were using JavaScript requi… (#1701)
Also took the opportunity to make our webserver tutorials region agnostic
this is for JavaScript, TypeScript and Python
2019-09-10 17:27:23 +03:00
Maria Bermudez
d058a12e45 A very crude implementation of the glossary (#1547)
* A very crude implementation of the glossary
No real styling has been applied yet, but the idea is you get a list of all the terms with anchor links to the definition and relevant documentation pages. Have to look into why it's not generating a right TOC for the H2 (my theory is because it is declared in the shortcode file rather than glossary.md?

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

Add sorting

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

Address feedback

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

Escape quotes

* Add initial list of terms
Add anchorize function

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

Remove duplicate entry

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

* Remove extra spaces

* Add initial list of terms
Add anchorize function

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

Remove duplicate entry

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

* Remove extra spaces

* Use 3 columns and other cleanup

- 3 columns for term index
- Use shortcode instead of `if` check in `single.html` layout
- Minor cleanup

* Address feedback

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-09-09 13:56:35 -07:00
Praneet Loke
5af6e1df20 Fix mktutorial tool to detemine the correct Pulumi.yaml path for Deploy With Pulumi buttons (#1676)
* Add a new property in the tutorial template to set the correct URL for the Deploy With Pulumi button.

* Regenerate tutorials.

* Detect Deploy With Pulumi button links and use its destination as the PulumiTemplateURL.
2019-09-06 08:36:36 -07:00
Levi Blackstone
65eafd2da4 Update outdate usage example (#1697) 2019-09-05 10:08:29 -06:00
Levi Blackstone
38dac20929 Update review-project.md (#1696) 2019-09-05 10:08:08 -06:00
Christian Nunciato
f8aee5cfd3 Apply Console, Service and backend naming changes (#1689)
* Cloud Console -> Console

* Saas -> Service

* web/pulumi.com backend -> Pulumi Service backend
2019-09-04 20:50:10 -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
Maria Bermudez
122d18471f Link to versions page
Since we added the OS chooser, it's not very obvious how to get to the release notes page. @joeduffy , we've talked about having a dedicated Release Notes page, but perhaps this will suffice for now?
2019-09-04 17:00:51 -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
Justin Van Patten
51d3f2de82 API docs landing page (#1679)
This change removes the API packages from the TOC and instead lists them on a
single API Reference landing page, which has a language chooser to see the TS/JS
vs. Python packages.
2019-09-04 13:53:18 -07:00
Jon Canning
6527740abc typo (#1682) 2019-09-04 13:27:48 -07:00
Maria Bermudez
bed7271ee3 Merge pull request #1667 from pulumi/maria/landing-pages
Add intro overview
2019-09-04 10:58:26 -07:00
Dan Hernandez
82211c16f4 Removed ami import statement so that example works (#1668)
* Removed ami import statement so that example works

* quick update to create var and comment for clarity
2019-09-04 08:42:54 +03:00
bermudezmt
f0b6658de9 Add intro overview
Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-09-03 13:11:37 -07:00
Paul Stack
756e05d159 Merge pull request #1653 from pulumi/dan/python-tutorial-update
update python version of aws ec2 tutorial
2019-09-02 18:57:47 +03:00
Andreas Jägle
01e118f2ae Use lowercase key name in code sample for k8s provider (#1663) 2019-08-30 13:27:33 -06:00
Justin Van Patten
42f9a4cb50 Increase the Hugo timeout limit from 10 seconds to 30 and re-enable broken link checker (#1662)
* Increase the Hugo timeout limit from 10 seconds to 30

This should mitigate the `timed out initializing value` for large API docs pages.

* Re-enable the broken link checker

* Fix broken links

Fix broken links that were introduced while the broken link checker was
temporarily disabled.
2019-08-30 12:25:07 -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
251be170cb Console Follow-Ups (#1616)
* - Rework Console landing page
- Update Account, Editions, Organizations pages
- Remove Accounts index page
- Start working on Project and Stack Management page

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

Update content/docs/intro/console/_index.md

Co-Authored-By: Joe Duffy <joe@pulumi.com>

Update content/docs/intro/console/accounts/account.md

Co-Authored-By: Joe Duffy <joe@pulumi.com>

Update content/docs/intro/console/accounts/account.md

Co-Authored-By: Joe Duffy <joe@pulumi.com>

* Address feedback
Address #1612

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

* Add aliases based on folder rename

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

* More progress on collaboration topics

* Final edits

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

* Replace instances of Pulumi Cloud Console with Pulumi Console

Minor edit
2019-08-29 14:09:44 -07:00
Dan Hernandez
b1e9db3b3a updated python code of aws ec2 tutorial to hard coded value similar to other languages 2019-08-29 11:29:32 -04:00
Joe Duffy
a8ace1b150 Add auto-generated tutorials and indexes (#1620)
This change adds auto-generated tutorials, using our [examples repo](https://github.com/pulumi/examples) as its source. Namely, we scrape the README.mds. We do some on-the-fly rewriting of certain content to make it work on the docs website -- including adding appropriate links back to the GitHub source code -- however, for the most part, the content is taken as-is. There are plenty of examples that need to be tidied up for consistency, to make the titles better, and so on, but this seems like a significant overall improvement so we plan to land roughly as-is.

* Add auto-generated tutorials and indexes

* Update URLs to use new post-ToC update structure

* Add a Featured Tutorials section to AWS

* Add curated "Featured Tutorials" sections

* Remove numbers from tutorial titles

* Add links to the tutorials source code

* Remove "all tutorials" index

* Don't link to AKS from GCP tutorials page

* Add a VIEW CODE button

And also wordsmith some of the "get source code first" note.

* Use linktitle for shorter titles

This ensures that the navigation name and the breadcrumb match.

* Update text for requesting a new tutorial

* Add mktutorial to `make gen`

* Add a nicer tutorials landing page

* Simplify the VIEW CODE button

* Rewrite relative Markdown links

This change automatically rewrites Markdown links that are
relative to our GitHub repo, so that we don't end up with broken
links in the resulting documentation website.

* Fix some broken links

* Ignore some example links

Our examples contain a lot of illustrative links that are either
synthetic or not meant to be publicly accessed. Ignore them during
broken link checking.
2019-08-28 09:10:09 -07:00
Joe Duffy
ae4f2aeff2 Document pluggable encryption providers (#1619)
This change tidies up some of the configuration and secrets documentation, in addition to documenting how to use pluggable encryption providers.

* Tidy up the secrets programming model topic

Part of #1509.

* Document pluggable secrets providers

* Apply suggestions from code review

Co-Authored-By: Maria Bermudez <bermudezmt@users.noreply.github.com>
2019-08-26 16:25:20 -07:00
Luke Hoban
6f294a8ae5 Clarify that only top-level properties can be marked as additionalSecretOutputs. 2019-08-26 16:24:33 -07:00
Maria Bermudez
648ec757a3 [WIP] More "Get Started" Follow-ups (#1517)
* Add intro text and icons
Add shortcode for intro links
Clean up index page for Kubernetes cloud

Address feedback

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

* Add intro text and icons
Add shortcode for intro links
Clean up index page for Kubernetes cloud

Address feedback

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

* Clean up content

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

* Clean up crud

* Rebase

* Clean up content

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

* Add cloud intro shortcode
More text cleanup
Add suggested installation links for Python and Node.js (#1178)

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

* Update content/docs/quickstart/aws/create-project.md

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

* Address feedback

* Rebase

* Rebase continuation

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

* Fix indentation issue

* Remove crud

* Replace pulumi.com with Pulumi Service

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-08-26 13:41:46 -07:00
Maria Bermudez
5b3e51460b New TOC and breadcrumbs (#1563) 2019-08-23 14:22:47 -07:00
Maria Bermudez
a5569eea4c More content cleanup (#1498)
* More content cleanup
* Add missing TOC entries for CLI commands (I know there is planned work to change this outlined at https://github.com/pulumi/docs/issues/1491
* Apply get-started-note shortcode to other pages
Update intro to Getting Started index page

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

Add link to Pulumi platform GH repo

* Address feedback
Clean up duplicate TOCs in tutorials, check for consistency

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-08-02 13:53:29 -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
Christian Nunciato
732c38a765 Update cloud vendor logos (#1495)
* Normalize several cloud-vendor SVGs (these are now stored in Figma as well)
* Add an OpenStack SVG
* Use these logos on the docs home, get-started home, and supported-clouds pages
* Add a hover effect to the logos, to indicate interactivity
* Adjust the border and hover colors on the get-started page, to match those on the home page
* Remove unused PNGs
* Remove an unused partial

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-01 13:59:36 -07:00
Maria Bermudez
6f7003045d Get Started Follow-ups (#1470)
* Add get started callout
First pass at informational note styling
Highlight Pulumi in headings and text for SEO purposes

Clean up home page

* Make a few little style tweaks

Lightens the background, adds a pixel border and uses a blue tint and underline for the link color as well.

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

* Address feedback
Apply get-started-note shortcode to installation and tutorial index pages
Remove duplicate table of contents from Kubernetes tutorial

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

* Incorporate feedback and edits

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

* Clean up styles and add a warning note
Revert style change on single docs page layout
Address 1473

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

* Remove note around skipping version checks

* Clarify alternative installation options for all operating systems

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-07-31 11:57:06 -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
Justin Van Patten
979e6874ff Change /docs/tour to redirect to the Get Started guide (#1465)
Since the tour was mostly a walkthrough on getting started with Pulumi anyway.
2019-07-29 11:07:58 -07: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
3de56fa082 Various improvements
- Indent H3 items
- Provide a way to opt-out of showing "On This Page" and use it on some pages
- Only show "On This Page" if there are items in the list
- Added left padding to the right nav (to match the right padding on the left nav)
- General style and code cleanup
- Delete `mini-toc.html` partial
2019-07-29 09:15:44 -07:00
Justin Van Patten
6d81030da8 Remove the tour (#1462)
Now that we have the new Get Started guide, the tour is unnecessary. All pages link to relevant content elsewhere on the site.
2019-07-29 09:06:19 -07:00
Chris Smith
0d9864c32e Update links to slack.pulumi.com (#1460) 2019-07-28 15:51:54 -07:00
Justin Van Patten
36fda41e63 Remove LEARN button from docs homepage
Removed the "LEARN" button on the docs home page as there's no longer a need for it. Previously, it was a way to get to the Reference page to see the expanded Reference TOC, but now that we're expanding by default, there's little need for it. And it never felt quite right having it named "LEARN" but linking to "Reference". Now we have the single CTA we want to "GET STARTED".
2019-07-25 11:35:21 -07:00
Chris Smith
6924d92540 GREAT WEBSITE MIGRATION OF 2018 (#1269)
* Move content into docs/content

* Make navigation and doc generation work

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

* Make search work

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

* Move docs-specific layouts into layouts/docs

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

* Move docs partials into layouts/partials/docs

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

* Share a common header and footer

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

* Add product & pricing pages, modify main nav

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

* Bring images under assets, docs images under assets/images/docs

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

* Link to the docs home page, fix image ref

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

* Add containers, serverless, kubernetes topics

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

* Add careers

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

* Add compete, compete -> migrate

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

* About, contact

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

* Add legal

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

* Add product

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

* Add partner content

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

* Add webinar

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

* Add why-pulumi

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

* Add GitHub redirect, support

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

* Add blog

* Add blog - update post frontmatter

* Update content/_index.md

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

* Remove drafts & redundant fonts, move asset dirs up a level

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

* Reconcile blog navigation

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

* Migrate some blog content (#1147)

* Reconcile www, blog and docs footer items (#1141)

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

* Clean up blog layout (#1148)

* Migrate more blog posts (#1157)

* Replace Bootstrap with TailwindCSS

* Add Tailwind
* Create a config directory under assets, move PostCSS and Tailwind configs into it
* Remove Bootstrap Sass and JS referemce
* Refactor the header, base template, and footer to use Tailwind
* Pull TOC Sass into its own partial

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

* Refactor the docs home page

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

* Refactor docs single, list and section layouts

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

* Refactor quickstart-clouds partial

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

* Reposition config items to fix syntax highlighting

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

* Replace syntax CSS theme with Monokai

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

* Add a dark blue for links

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

* Add the beginnings of Sass color settings

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

* Add a Sass file for langchoose

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

* Give no-select its own Sass also, since it’s a partial

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

* Give docs single and list templates more width for main content

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

* Add some padding to the TOC, since we don’t have proper gutters yet

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

* Fix button on Quickstart home page

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

* TOC styles

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

* Quickstart clouds

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

* Padding to left and right columns

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

* Black for TOC

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

* Refactor docs/aws to use its own layouts

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

* Fix the AWS tech partner image

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

* Adjust AWS layouts

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

* Move docs-home markup into a layout

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

* Format the mini-toc

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

* Reduce subhead sizes a bit

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

* Remove snowflake styles

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

* Extract some Sass partials

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

* Define initial purple and blue palettes, use numbered colors instead

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

* Refactor blog templates

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

* Make blog summary a partial, style pagination

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

* Fix expanded URLs

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

* Rename Documentation to Reference

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

* A smattering of minor adjustments

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

* Selection state for tags

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

* Delete more Bootstrap

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

* Comment the banner

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

* Restore footer links

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

* Legal layout

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

* Remove unused layout

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

* Refactor careers page

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

* Use top-level URLs for legal docs

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

* Add RSS for the blog (#1170)

* Add RSS for the blog

* Cleanup team data (#1195)

* Cleanup team data

* Add missing newlines at EOF

* Blog content as of 6/16 (#1196)

* Blog content layout tweaks

* Migrated blog content (as of Sun 6/16)

* Address PR feedback, replace links to pulumi.io

* Add fusion stack

Any changes to the `fusion` branch will now be deployed to https://fusion.pulumi.io/.

* Fix broken links

* Fix broken images in fusion branch (#1207)

Deletes unnecessary uses of `BaseURL`. In a small number of cases, where we want to emit an absolute URL that includes the `BaseURL`, use the `absURL` function instead, which is smart about handling missing/extra slashes.

* Integrate www content (#1208)

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

* Highlight currently selected section tab (#1216)

* Remove unused partials (#1215)

These are no longer referenced, so they can be removed.

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

* Blog content as of 6/24 (#1218)

* Port running-containers-in-aws-the-lowdown-ecs-fargate-and-eks

* Port building-and-publishing-docker-images-to-a-private-amazon-ecr-repository

* Port happy-birthday-to-pulumi-open-source

* Commit updates to package-lock.json

* Link cleanups and other fixes

* Remove 'wip' tag

* Restore meta_* fields, tidy up some frontmatter (#1214)

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

* Add search (#1217)

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

* Hide `.language-prologue-*` by default (#1212)

So they all don't initially flash as being visible before all but the selected language are hidden. Port from `_pulumi.scss`.

* Limit team members to those with status “active” (#1219)

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

* Fix links to datadog provider

* Remove top margin from code snippets under lang tabs (#1223)

* Update MBR DNA logo (#1222)

* Add links to cloud logos (#1221)

And use `logo-aws_white.png` for AWS

* Remove unnecessary aliases (#1210)

Now that we'll be hosting the docs on a new domain, there's no need to
maintain these aliases. The old site hosted at https://pulumi.io will
have redirects from the old aliases to the new location on the new site.

* Pricing page updates (#1224)

* Add swooshes to the home, pricing and webinar pages.
* Replace “tech” PNGs for GitHub, GitLab, Atlassian and SAML with SVGs, and add an email SVG, in order to align all of their images in the pricing grid.
* Add a “See plan details” link above the pricing grid.
* Update Font Awesome to version 5.8.1 (to match what's in use on www today) in order to pull in the infinity icons used in the pricing grid.
* Align CTA buttons horizontally in adjacent boxes containing content of varying heights.
* Fix duplicate links on the home and product pages.

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

* Update API docs (#1227)

* Update tsdocgen paths
* Updated API docs

* Fix broken images (#1228)

Remove unnecessary `{{ .Site.BaseURL }}` prefix from image URLs.

* Fix Hugo build warning about non-relative ref/relref page reference (#1229)

* Fix page titles and errant anchors (#1226)

* Prevent anchors on the home page
* Fix page titles

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

* Add a robots.txt file (#1225)

This change adds a robots.txt template authorizing seach-engine indexing for all pages of the production site.

It assumes that all non-production builds will override the `baseURL` configuration property with something other than `https://pulumi.com/`.

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

* Blog content fixes (#1231)

* Correct post dates, titles

* Revert to previous tags

* Unify tags, adjust for display

* Replace short, social summaries with longer ones

* Use a fixed height for the utility bar (#1232)

When the GitHub widget loads asynchronously and pops into view, it causes the whole page to shift downward a few pixels, because the widget is taller than the links beside it. Applying an explicit hight to the utility bar fixes this.

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

* Fix TOC expansion for the tour (#1234)

We're very likely going to remove the tour and disperse its content elsewhere, but in the meantime, fix the TOC expansion for "Beyond the Basics" items.

* Add syntax highlighing to layout templates (#1238)

This change adds a partial for highlighting code snippets in layouts.

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

* Add home-page video (#1240)

Also makes a few slight adjustments to improve mobile layout on the home page.

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

* Blog layout and styling improvements (#1237)

* Use explicit code blcoks with language

* Fix sort order for Author and Tag listings

* Make sidebar toggleable on mobile

* Resize "poster" image for blog listings

* Crop photos to be square

* Add posted date, post tags to blog footer

* Add recent posts lists to sidebar

* Add syntax highlighting to some missed posts

* Fix Hugo build warning

* Adjust sidebar styling

* Cleanup the /docs page (#1239)

* Cleanup /docs/aws layouts to match other docs sections

* Cleanup /docs pages

- Add left nav
- Make /docs page look slightly less like a "homepage"
- Add top-level "Get Started" and "Reference" headings to left nav

* Add `.btn-secondary` and use it in a few places

* Remove unnecessary cursor setting (#1245)

Should be using the default here. I was debugging and forgot to switch this back before committing.

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

* Update the home page video (#1244)

This is a slightly shorter version, with typing sections sped up slightly to better respect our visitors’ time. 😄

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

* API doc styling improvements (#1247)

* Update API doc styling for Python

Bring back the styles used for our Python API docs, convert to use Tailwind, and make further tweaks to make it look even better. For example, all definitions now look like code blocks and indentation and spacing is used to improve the hierarchy of the content.

* Only emit the <h1>.Title</h1> if there is a .Title

The generated Python API docs don't currently include front matter and therefore do not have a title. We should fix the Python docs gen to do that, but in the meantime, only emit `<h1>.Title</h1>` if the page has a `.Title`, to avoid an unnecessary gap at the top of the page.

* Update _pygments.scss to select .highlight instead of .chroma

The syntax highlighted code generated by Hugo looks like:

```
<div class="highlight">
    <pre class="chroma">
        <code class="language-foo">
        ...
        </code>
    </pre>
</div>
```

And our styles looks like:

```
.chroma .k { ... }
.chroma .kc { ... }
...
```

This works good, but our generated Python docs, which uses Pygments to do the syntax highlighting, doesn't use `.chroma`, so it doesn't get any syntax highlighting currently, even though all the Pygments classes are there.

This is true for our Node.js docs as well, although, based on how we generate the code for that currently, we could relatively easily update the templates to include a `.chroma` class.

In all cases, the code that we want highlighted will have a `.highlight` class surrounding it, so just update our styles to select `.highlight` instead of `.chroma`.

```
.highlight .k { ... }
.highlight .kc { ... }
...
```

* Update API doc styling for Node.js

* Various mobile adjustments and cleanup (#1250)

* Pull the hero and section nav into Tailwind "components" and apply them.
* Adjust home-page video dimensions accordingly.
* Add mobile x-padding to sections that hadn't gotten it yet.
* Add an anchor exclusion to the head for the About page.
* Fix mobile layout for the Support page.
* Fix centering and item distribution on the About page.
* Additional minor mobile-related adjustments as encountered.

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

* Fix bug in lang chooser (#1249)

If I've previously viewed a page in our docs with the language tabs,
such as the Get Started guide, and I click the Python tab, that language
choice will be persisted to a cookie.

If I then visit our Node.js API docs, the lang chooser will see the
saved value of "Python" and try to select that tab, hiding all other
language snippets. But our Node.js API docs only contain JavaScript and
TypeScript snippets, so the end result is that all snippets are hidden
and no tab is selected.

This change fixes that. If the value in the cookie does not exist in any
of the tabs on the page, fallback to the default (JavaScript), otherwise
fallback to the first tab that is available on the page.

* More small fixes (#1254)

* Make the header more responsive

Adds padding to medium and above, and adjusts font size and spacing at medium width in order to accommodate the number of items we’re displaying currently. Also uses the full Pulumi logo, since we have room for that now, and adds a little color to the hamburger.

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

* Bottom-align the image on the whitepaper layout

Also removes the `header` selector from `_hero.scss` in order to reduce the specificity of the rule, allowing it to be overidden more easily with other Tailwind classnames.

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

* Add team@pulumi link to the footer

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

* Restore the newsroom and investors sections

Somehow these got dropped! 😱

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

* Add hero background glows (#1257)

Also deletes unused templates.

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

* Hide scrollbars if not needed (#1256)

* Improve Pricing page responsiveness, fix a few other small things  (#1259)

* Fix section link on the Why Pulumi page

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

* Capitalize Kubernetes in copy

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

* Adjust image sizes on Whitepaper page

Properly size them on both mobile and desktop.

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

* Fix paging on mobile

Decrease padding to prevent overflow.

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

* Improve Pricing page layout

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

* Replace home page video with carousel (#1260)

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

* Change Segment module to WWW (#1265)

* Hook up new www.pulumi.com/staging stack to CI/CD (#1262)

* Move older 'pulumi.io' stacks to infrastructure-old

* Add new 'www.pulumi.com' infrastructure folder

* Scripts to hook up to CI/CD

* Switch back to using generic Travis worker

* Add alias to CDN for staging.pulumi.io

* Remove alias to staging.pulumi.io

* Do not use named profiles for deployments

There's an issue today where named profiles which use
`credential_source=Environment` don't actually behave correctly with
the assume-role tool. Instead of actually assuming the role, it just
uses the credentials in the environment, which is not exactly what you
want.

For now, explicitly set the ARN we want to assume, instead of
indirecting across a named profile.

* Remove CloudFront alias entirely

* Add hover menu (#1266)

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

* Hook up new www.pulumi.com/production stack to CI/CD (#1267)

* Hook up new www.pulumi.com/production stack to CI/CD

* Correct Makefile syntax

* Migrate blog posts as of 7/2 (#1268)

* Fix Makefile syntax

* Fix spelling error ::sigh::
2019-07-02 16:30:33 -07:00