* 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>
* 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
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.
* 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>
* 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
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").
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.
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?
* 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
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.
* 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>