932 Commits

Author SHA1 Message Date
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 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
2749db12f9 Avoid some more 302 temporary redirects (#1734) 2019-09-12 17:08: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
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
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
Praneet Loke
6f7a0067d6 Add a trailing slash to the tutorial URL (#1702)
* Add a trailing slash to the tutorial URL.

* Regenerate tutorial cloud index pages.
2019-09-06 10:26:22 -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
joeduffy
61c3fb2603 Fix a typo 2019-09-05 16:00:38 -07:00
joeduffy
27b2b40491 Add 1.0 blog post and alert 2019-09-05 05:24:07 -07:00
Justin Van Patten
0285b95ccd Minor Python styling improvements (#1690)
- Only show a single H1 per page
- Cleaner breadcrumb titles
- Minor styling adjustments
- Regenerate Python docs
2019-09-04 20:29:48 -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
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
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
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
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
Joe Duffy
3927b74c08 Change "Apply Now" to "Apply Below" (#1524)
It feels like this should be clickable, but it's not, and I
was personally confused. Clarify that the links are below.
2019-08-08 19:47:06 -07:00
Chris Smith
cac313076c Remove spurrious semicolon 2019-08-06 12:11:58 -07:00
Christian Nunciato
e710a071d2 Add a section to the Pricing page for Community Edition (#1503)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-02 14:01:31 -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
1a20f440d0 Make community edition links more discoverable (#1501)
Use a bold font on mobile, and use a normal weight with a two-pixel border at medium and above.

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-01 20:14:03 -07:00
Christian Nunciato
f66649ab6e Specify the length of trial on the pricing page (#1497)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-01 16:41:49 -07:00
Christian Nunciato
b3f7f628b7 Add NIH to customer logos (#1496)
* Add NIH
* Link all customers
* Remove unused partials

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-08-01 15:06:01 -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
Christian Nunciato
b41e2fcef2 Add body of blog post to RSS feed (#1482)
* Add body of blog post to RSS feed
* Limit posts to the first 20
2019-07-31 06:07:37 -07:00
Christian Nunciato
98e3119acc Change get-started button labels to “Get Started” (#1483)
* Change get-started button labels to “Get Started”

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

* Remove the Why Pulumi button from the home page

Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-07-31 05:56:56 -07:00
bermudezmt
60d23f05de Limit press releases and news coverage to most recent five 2019-07-30 14:44:36 -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
CyrusNajmabadi
6aeeccd52e Filter out deprecated members. Update AWS docs (#1469) 2019-07-29 22:43:48 -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
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
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
50723c31a2 Cleanup the Changelog (#1458)
* Cleanup the Changelog

- Removed old entries that are being moved to the CHANGELOG.md in `pulumi/pulumi` repo.
- Remove "Changelog" from TOC. The "Download and Install" page links to this page at the bottom.
- Make the links in the table actually look like links.
- Added a `changelog-table-row` shortcode (replacing the `sdk-links` shortcode), which will make it easier to add new rows to the table without introducing subtle broken anchor links.

* Validate the content of the /static/latest-version file

While making related changes here, I've added a test that will ensure no trailing newlines (or other whitespace) is added to the `latest-version` file, which may break dependencies that aren't resilient to it. We recently saw this in a PR and luckily the broken link checker caught it, but this makes the test more explicit.
2019-07-26 19:33:32 -07:00
bermudezmt
3fc0589021 - Update styles
- Apply TOC to h3 headers
- Remove generated mini-TOC on one page (will need to run sed for this)
2019-07-25 14:51:06 -07:00
bermudezmt
b00076a5b6 - Move "On this Page" feature to right nav
- Disabled for home but will need to be disabled for other content types
  - Needs additional styling, plus consider making the navigation fixed

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

Update partial callout for right navigation

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-07-25 14:51:06 -07:00
Justin Van Patten
1340ebe01f TOC: Always expand Get Started and Reference sections
Refactors the `toc.html` partial to allow Get Started and Reference to always be expanded.
2019-07-25 11:34:34 -07:00
bermudezmt
513b7f11ae Reorganize side navigation
Moving the pages nested under Reference will take a lot of doing, so I took Luke's suggestion and have these items displayed by default. Changed the order around, merged supported clouds & languages, still a WIP

Signed-off-by: bermudezmt <bermudez.mt@gmail.com>
2019-07-25 10:32:39 -07:00
Justin Van Patten
f7f22f4bbf Fix empty meta description tags and check params consistently (#1445)
The `{{ else if ne .Summary "" }}` check is always evaluating to true (probably because `Summary` is typed as `template.HTML` instead of a `string` in Hugo's source), so we go down this path, but when then using `.Summary`, the value is empty. This results in many pages having empty `<meta name="description">`  instead of falling back to using the default description. The fix is to check `{{ else if .Summary }}` which will only evaluate to true if `.Summary` is set and is a non-zero value.

While making changes here, I cleaned up how we access other params throughout. We'll often use `if isset .Params "foo"` to check if the `foo` param is set, but this only checks if the param is set -- it doesn't check if the param actually has a value. The fix is to just use `if .Params.foo`, which will only be true if `foo` is set and is not: `false` (boolean), `0` (integer), or a zero-length array, slice, map, or string.
2019-07-24 15:49:44 -07:00
Christian Nunciato
8765378260 Make header selection state more noticeable (#1449)
Signed-off-by: Christian Nunciato <c@nunciato.org>
2019-07-24 15:17:42 -07:00