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. :smile:
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! :scream:
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
---
2019-07-30 11:03:23 -04:00
title: Documentation
2019-08-23 14:22:47 -07:00
linktitle: Docs
2019-07-30 12:16:52 -04:00
meta_desc: Learn how to create, deploy, and manage infrastructure on any cloud using Pulumi's open source infrastructure as code SDK.
2023-06-08 16:15:52 -07:00
meta_image: /images/docs/meta-images/docs-meta.png
2023-05-15 15:25:28 -07:00
aliases:
- /docs/reference/
2023-06-12 07:40:21 -07:00
notitle: true
docs_home: true
h1: Pulumi Docs
description: < p > Pulumi is an < a href = "https://github.com/pulumi/pulumi" target = "_blank" > open source< / a > infrastructure as code tool for creating, deploying, and managing cloud infrastructure.< / p >
link_buttons:
primary:
label: Quickstart
2023-06-16 14:10:53 -07:00
link: /docs/get-started/
2023-06-12 07:40:21 -07:00
secondary:
label: Install
link: /docs/install/
sections:
- type: cards-logo-label-link
heading: Clouds
description: < p > Pulumi supports AWS, Azure, Google Cloud, Kubernetes, and < a href = "/registry/" > 120+ packages< / a > .< / p >
cards:
- label: AWS & Pulumi
icon: aws-40
link: /docs/clouds/aws/
- label: Azure & Pulumi
icon: azure-40
link: /docs/clouds/azure/
- label: Google Cloud & Pulumi
icon: google-cloud-40
link: /docs/clouds/gcp/
- label: Kubernetes & Pulumi
icon: kubernetes-40
link: /docs/clouds/kubernetes/
- type: full-width-cards
heading: Featured docs
cards:
- icon: lightbulb-blue-21-21
heading: Concepts
description: Dive deeper into what Pulumi is and how it works.
link: /docs/concepts/
- icon: cloud-blue-21-21
heading: Pulumi Cloud
description: Learn about Pulumi’ s secure cloud service for individuals and teams.
link: /docs/pulumi-cloud/
- icon: swap-blue-21-21
heading: Adopting Pulumi
description: Migrate any infrastructure to Pulumi with comprehensive guides.
link: /docs/using-pulumi/adopting-pulumi/
- type: blue-sparkle
heading: Why Pulumi?
description: Pulumi enables developers to deploy infrastructure in any cloud environment with one common approach. Leverage familiar languages to make the most of abstractions and reuse while enjoying access in your favorite IDEs, and testing tools!
- type: cards-logo-label-link
heading: Languages
description: Build infrastructure intuitively on any cloud using familiar languages.
cards:
- label: Node.js
icon: icon-32-32 node-color-32-32
link: /docs/languages-sdks/javascript/
- label: Python
icon: icon-32-32 python-color-32-32
link: /docs/languages-sdks/python/
- label: Go
icon: icon-32-32 go-color-32-32
link: /docs/languages-sdks/go/
- label: .NET
icon: icon-32-32 dotnet-color-32-32
link: /docs/languages-sdks/dotnet/
- label: Java
icon: icon-32-32 java-color-32-32
link: /docs/languages-sdks/java/
- label: YAML
icon: icon-32-32 yaml-color-32-32
link: /docs/languages-sdks/yaml/
- type: full-width-cards
heading: Reference
cards:
- icon: code-tree-blue-21-21
heading: Pulumi Cloud REST API docs
description: Leverage automation with the Pulumi Cloud REST API.
link: /docs/pulumi-cloud/cloud-rest-api/
- icon: terminal-blue-21-21
heading: Pulumi CLI docs
description: Browse the complete documentation of available CLI commands.
link: /docs/cli/
- type: flat
heading: Have questions?
description: < p > For questions or feedback, reach out on < a href = "https://slack.pulumi.com" target = "_blank" > community Slack< / a > , < a href = "https://github.com/pulumi" target = "_blank" > GitHub< / a > , or < a href = "/support/" > contact support< / a > .< / p >
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. :smile:
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! :scream:
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
---
2021-05-15 12:39:13 -04:00
欢迎来到 Pulumi 中文文档! 本页面对 Pulumi 是什么进行了说明,并且指导你如何开始使用 Pulumi。同时也对一些参考的文档和支持的云平台进行了说明。
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. :smile:
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! :scream:
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
2021-05-18 15:09:02 -04:00
### 什么是 Pulumi?
Pulumi 是一个 < a href = "https://github.com/pulumi/pulumi" target = "_blank" > 开源( open source) < / a > 系统基础架构代码化工具。
这个工具被用来创建,部署和管理云计算平台基础架构。
2023-11-08 00:55:33 -05:00
Pulumi 能在基础计算平台上工作,例如 VMs, 网络和数据库, 同时还能够在更加现代化的架构上进行工作, 包括有容器, Kubernetes 集群和无服务方法( serverless functions) 。
2021-05-18 15:09:02 -04:00
Pulumi 能够广泛支持公有,私有和混合云服务提供商。
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
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. :smile:
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! :scream:
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
< div class = "flex justify-center py-6" >
2021-05-18 15:09:02 -04:00
< a class = "btn btn-lg mx-1 my-1" href = "{{< relref " / docs / get-started " > }}">开始使用< / a >
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. :smile:
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! :scream:
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
< / div >
2021-04-20 00:37:26 -07:00
< div class = "bg-gray-100 rounded max-w-6xl my-4 px-4 py-2" >
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
< div class = "md:flex justify-between items-center" >
< a class = "block rounded hover:bg-gray-200 transition-all my-2 py-4 text-center px-6" href = "{{< relref " / docs / get-started / aws " > }}">
< img class = "inline-block h-8 w-auto -mb-2" src = "/logos/tech/aws.svg" >
< / a >
< a class = "block rounded hover:bg-gray-200 transition-all my-2 text-center md:mx-2 py-4 px-6" href = "{{< relref " / docs / get-started / azure " > }}">
< img class = "inline-block h-8 w-auto" src = "/logos/tech/azure.svg" >
< / a >
< a class = "block rounded hover:bg-gray-200 transition-all my-2 text-center md:mx-2 py-4 px-6" href = "{{< relref " / docs / get-started / gcp " > }}">
< img class = "inline-block h-8 w-auto" src = "/logos/tech/gcp.svg" >
< / a >
< a class = "block rounded hover:bg-gray-200 transition-all my-2 py-4 text-center px-6" href = "{{< relref " / docs / get-started / kubernetes " > }}">
< img class = "inline-block h-8 w-auto" src = "/logos/tech/k8s.svg" >
< / a >
< / div >
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. :smile:
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! :scream:
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
< / div >
< div class = "my-4 md:flex py-8" >
2020-04-01 09:57:59 -07:00
< div class = "md:w-1/3" >
2021-05-18 15:09:02 -04:00
< h3 class = "no-anchor" > 为什么是 Pulumi? < / h3 >
2021-04-20 00:37:26 -07:00
< p class = "text-sm text-gray-700" >
2021-05-18 15:09:02 -04:00
通过使用 < a href = "{{< relref " / docs / intro / languages " > }}">你熟悉的语言< / a > 为基础机构进行代码化,可以让你有很多便利:
IDEs, 抽象嵌入功能, 类, 和包, 已有的调试和测试工具以及更多。结果就是针对复制和粘贴来说能够更有生产效率, 同时针对不同的云平台都能产生相同的结果。
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. :smile:
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! :scream:
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
< / p >
< / div >
2020-04-01 09:57:59 -07:00
< div class = "md:mx-8 md:w-1/3" >
2021-05-18 15:09:02 -04:00
< h3 class = "no-anchor" > 可选的< / h3 >
2021-04-20 00:37:26 -07:00
< p class = "text-sm text-gray-700" >
2021-05-18 15:09:02 -04:00
相对< a href = "{{< relref " / docs / intro / vs " > }}">其他管理方式< / a > ,例如使用 YAML,
JSON, 或者领域的一些特定语言 domain-specific languages (DSLs) 等方式,你需要你的项目小组进行学习使用。这些工具通常在分享和重用上面有不少的问题。
有可能不能应用在当前的系统中,同时针对不同的云平台你需要独立进行配置。
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. :smile:
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! :scream:
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
< / p >
< / div >
2020-04-01 09:57:59 -07:00
< div class = "md:w-1/3" >
2021-05-18 15:09:02 -04:00
< h3 class = "no-anchor" > 社区支持< / h3 >
2021-04-20 00:37:26 -07:00
< p class = "text-sm text-gray-700" >
2021-05-18 15:09:02 -04:00
Pulumi 是 < a href = "https://github.com/pulumi/pulumi" target = "_blank" > 开源( open source) < / a > 软件。因此具有很高的扩展性,
同时还有非常强大的社区来提供支持,这些社区通常都是云平台使用的先锋。
从重用类库到相同的基础架构, 到分享你自己的设计, Pulumi 能够为你带来更多的便利。不同语言的也云平台的支持使用插件模式来进行扩展。
针对公用,私用甚至混合云支持都可以通过插件来进行扩展。
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. :smile:
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! :scream:
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
< / p >
< / div >
< / div >
2021-05-18 15:09:02 -04:00
有关任何问题或者反馈,请访问官方的 [community Slack channel ](https://slack.pulumi.com ),
[GitHub ](https://github.com/pulumi ), 或者 [support@pulumi.com ](mailto:support@pulumi.com )。
2023-11-08 00:55:33 -05:00
有关本中文版本文档的翻译,支持,使用,请访问 [GitHub 中文文档源代码 ](https://github.com/cwiki-us-docs/pulumi-hugo-cn ),
2021-05-18 15:09:02 -04:00
中文社区的 Pulumi 版块 [https://www.ossez.com ](https://www.ossez.com ),以及我们中文项目中提供的微信公众号。