199 Commits

Author SHA1 Message Date
Lee Zen
55fc3ee098 2.0 migration doc (#2791)
* 2.0 migration doc

* Fix tab

* Unparameterize the NodeJS text since the chooser lets us have both JS and TS

* Update content/docs/get-started/install/migrating-2.0.md

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

* PR feedback

* include beta.1 in the versions

* Update pulumi version on versions page

* Update to beta.2 for pulumi SDK

Co-authored-by: Lee-Ming Zen <lee@pulumi.com>
Co-authored-by: Luke Hoban <luke@pulumi.com>
2020-04-01 13:54:10 +01:00
Evan Boyle
6bcdc385bc update go aws/gcp/azure getting started to use go modules (#2792) 2020-03-30 22:18:44 -07:00
Luke Hoban
a84ad0d867 Update language around Node.js version support (#2724)
Fixes #2722
2020-03-23 15:37:14 -07:00
Christian Nunciato
27c9c296ad Use the new language chooser (#2642)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2020-03-20 09:32:19 -07:00
Sophia Parafina
b244acb50e fix #1764 (#2184)
Updated python sections for Getting Started
2020-03-04 07:01:39 -08:00
Evan Boyle
4a495916c9 update go aws getting started docs (#2480) 2020-02-19 19:05:21 -08:00
Evan Boyle
5642971200 Merge pull request #2483 from pulumi/evan/fixGcpGoQuickstart
fix gcp go getting started
2020-02-19 18:57:21 -08:00
evanboyle
92cfa85f50 fix gcp go getting started 2020-02-19 17:09:55 -08:00
evanboyle
ee561d7d5c fix azure getting started 2020-02-19 16:40:15 -08:00
stack72
1d9bb75141 Fix GCP getting-started page for KMS API
Fixes: #2426

The ability to enable a KMS API via URL using project_id has been
removed by google. Their official docs now suggest it should be
done on the Console

https://cloud.google.com/apis/docs/getting-started#enabling_apis
2020-02-11 17:07:27 +02:00
Justin Van Patten
1a68f32070 Add copy & noselect support for bat & powershell (#2411)
Updates the copy button and noselect scripts for bat and powershell.
2020-02-08 05:45:30 -08:00
Justin Van Patten
3cb5716214 Update some PaC content for the latest release of @pulumi/policy (v0.4.0) (#2350)
* Update some PaC content for v0.4.0 of @pulumi/policy

We renamed `validateTypedResource` to `validateResourceOfType` (though, the former is still available, just deprecated), and introduced built-in helpers for `validateStack`.

* Regenerate @pulumi/policy API docs for v0.4.0
2020-01-30 15:38:55 -08:00
Erin Krengel
cf008044cb update latest flag to param (#2308) 2020-01-27 14:29:32 -08:00
Leonard Lee
1df1a672e2 docs: improve minikube instructions in get started section (#2291)
Give assurance that folks can use local minikube for learning Pulumi.
2020-01-24 06:05:34 -08:00
Erin Krengel
54807382d6 Change terminology to enable (#2278) 2020-01-23 11:01:18 -08:00
Joe Duffy
ff426115a8 Move Go steps to pages with tabs (#2282)
Because our language chooser doesn't show/hide language
elements for pages without tabs, some Go steps are hidden.
We tried to make that logic apply even when tabs aren't present,
but that had unintented consequences for regular content like
blogs. So, just move those steps to pages with tabs on them.
2020-01-22 10:43:16 -08:00
Joe Duffy
911188968d Do an editorial pass over programming model docs (#2241)
* Do an editorial pass over programming model docs

This is an editorial pass over the programming model docs, as part
of #1618. This includes rearranging ordering to minimize forward
references, getting rid of anything that smells "TypeScript-only",
restructuring headers so the ToC is a bit more structured,
wordsmithing, fleshing out examples, and trying to simplify the
presentation of content -- while also embellishing where it helps.

This is not done. The Go and TypeScript pages are empty. There is
still quite a number of TypeScript-only hyperlinks and terminology.

* Add Vim swp files to gitignore

* Use shortcodes to cut down on language-specific text/links

This change adds some shortcodes for common language-specific
text and associated links.

For instance, outputs are Output in JS, Output<T> in TS,
Output[T] in Python, Output in Go, and Output<T> in C#, and go
to very different places hyperlink-wise.

Because of the way our language switcher JavaScript works, we
display the JS version by default until it kicks in and picks
up the user's choice. This avoids awkward flashes in which all
or none of the options are available or missing.

I'm not done applying this to all possible codes, but at least
it lays the foundation to start paying down this debt.

* Fix a couple hygiene issues

* Clarify conditional execution of apply

* Fix input shortcode

* Add shortcodes for most language-specific things

This eliminates most (all?) of the language-specific texts and
links in the programming model document, replaced with shortcodes.

* Fix up some loose ends

* Add Go language page and Get Started guides

* Fix linter errors

* Apply suggestions from code review

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

* Apply additional code review feedback

* Use spaces, not tabs.

* Use tailwind styles, not inline CSS.

Co-authored-by: Christian Nunciato <christian@pulumi.com>
2020-01-21 19:34:59 -08:00
Justin Van Patten
5fe1cf427c Add shorter, more memorable alias to get started guides (#2245) 2020-01-14 22:29:10 -05: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
Zack Chase
5ab3d65926 Add markdown linting (#2135)
* Add markdown linting script; fix markdown lint errors

* Add support for meta description and page title validation

* Add comments

* Fix lint errors; exclude autogenerated tutorials

* Address feedback; add more comments

* Add more checks for redirect pages; no index; and auto generated content

* More fixes for lint errors

* Allow duplicate headings in a page

* More lint error fixes

* Even more lint error fixes

* Getting started guide lint fixes

* Add custom h1 support to docs single pages

* Use custom h1 tags on cloud getting started guides

* Add custom h1 support to docs

* Add custom h1 support to docs lists.html

* Final round of intial lint fixes

* Add markdown linting to build script

* Update README

* Test build failure due to lint error

* Fix lint error so build will pass

* Readability fixes for lint script
2019-12-18 09:59:20 -08:00
Luke Hoban
e4a04f12b0 Add C# to Kubernetes getting started (#2129) 2019-12-10 06:25:16 -08:00
Justin Van Patten
5d80134e50 Add aliases to other moved pages 2019-12-01 20:28:50 -08:00
joeduffy
c55ab7eb18 Rearrange nav a bit
This changes the top-level nav a little bit, with respect to
user guides, CrossGuard, etc. Namely:

* Rename top-level to 'Policy as Code ("CrossGuard")', since
  it won't be evident to most people what CrossGuard is just
  by looking at the nav. (Unfortunately, we have a similar
  problem with "Crosswalk" at the moment, but I don't have an
  obviously-better suggestion for that right now.)

* Also rename the Getting Started guide to be consistent.

* Renumber the ordering of the guides to sort for most relevant
  at the top: Continuous Delivery, Crosswalk ..., Policy as Code,
  SSO, Self-Host, Tutorials. (Arguably maybe Tutorials ought to
  be at the top, but this is consistent with "GUIDES AND TUTORIALS").
2019-12-01 20:25:15 -08:00
Cameron Stokes
0fb8e20f7f Fix compile errors in CSharp quickstarts. (#1971)
I verified the other quickstarts - AWS compiles successfully, Kubernetes doesn't have dotnet suppport yet.
2019-11-13 17:28:47 +00:00
Joe Duffy
74215db944 Fix the C# getting started guides (#1955)
These guides didn't actually compiled. I guess the APIs may have
changed since writing them, but there were also syntax issues --
like using single quotes instead of doubles -- and semantic
issues -- like referring to incorrect types given the way the
using statements have been laid out. I've verified these compile.
2019-11-10 22:56:54 -08:00
Justin Van Patten
f1ec970965 Opt-in to showing C# lang tab where we have content 2019-10-31 16:16:22 -07:00
Cyrus Najmabadi
13f9d755c2 tweaks 2019-10-31 14:18:13 -07:00
Cyrus Najmabadi
48dc5178d0 revert 2019-10-31 14:04:32 -07:00
Cyrus Najmabadi
789421e66e tweaks 2019-10-31 14:04:02 -07:00
Cyrus Najmabadi
dd21480f89 tweaks 2019-10-31 14:03:37 -07:00
Cyrus Najmabadi
27357063d5 tweaks 2019-10-31 14:02:21 -07:00
Cyrus Najmabadi
a1e1eed019 tweaks 2019-10-31 14:01:56 -07:00
Cyrus Najmabadi
ac9f080773 tweaks 2019-10-31 14:01:17 -07:00
Cyrus Najmabadi
6710f4de78 tweak 2019-10-31 13:59:55 -07:00
Cyrus Najmabadi
54e1033b1d docs 2019-10-31 13:57:42 -07:00
Cyrus Najmabadi
d18caa5035 More 2019-10-31 13:47:47 -07:00
Cyrus Najmabadi
d2c129b220 Update doc 2019-10-31 13:32:43 -07:00
Cyrus Najmabadi
cefdbb434a Initial 2019-10-31 13:30:13 -07:00
Maria Bermudez
0e281ee704 Fixes 1747 (#1748)
* Fixes 1747

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

* Update content/docs/get-started/gcp/configure.md

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

* Update layouts/shortcodes/cli-note.html

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

* Add CLI note to "Create a New Project"
2019-09-16 18:56:29 -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 Garrison
a06316c683 Move first time notice to the page where pulumi is first run (#1740) 2019-09-13 15:57:24 -07:00
Maurice Kevenaar
5d31572d03 Added Chocolatey installation documentation (#1725) (#1726) 2019-09-12 11:42:37 -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
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
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
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